HP 8/40 Converged Enhanced Ethernet Administrator's Guide v6.4.0 (53-1001761-0 - Page 57

Creating a VLAN interface, Enabling STP on a VLAN, con terminal, interface vlan

Page 57 highlights

DRAFT: BROCADE CONFIDENTIAL VLAN configuration and management 4 Example of setting the MTU value to 4200. switch(conf-if-te-0/1)#mtu 4200 Creating a VLAN interface On Brocade FCoE hardware, VLANs are treated as interfaces from a configuration point of view. By default all the CEE ports are assigned to VLAN 1 (VLAN ID equals 1). The vlan_ID value can be 1 through 3583. VLAN IDs 3584 through 4094 are internally-reserved VLAN IDs. To create a VLAN interface, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to access global configuration mode. 2. Enter the interface vlan command to assign the VLAN interface number. Example of assigning the VLAN interface number to "1002". switch(config)#interface vlan 1002 Enabling STP on a VLAN Once all of the interface ports have been configured for a VLAN, you can enable spanning tree protocol (STP) for all members of the VLAN with a single command. Whichever protocol is currently selected is used by the VLAN. Only one type of STP can be active at a time. A physical interface port can be a member of multiple VLANs. For example, a physical port can be a member of VLAN 1002 and VLAN 55 simultaneously. In addition, VLAN 1002 can have STP enabled and VLAN 55 can have STP disabled simultaneously. To enable STP for a VLAN, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to access global configuration mode. 2. Enter the protocol spanning tree command to select the type of STP for the VLAN. Example of selecting the MSTP protocol. switch(config)#protocol spanning tree mstp 3. Enter the interface command to select the VLAN interface number. Example of selecting the VLAN interface number "1002". switch(config)#interface vlan 1002 4. Enter the spanning-tree shutdown command to enable spanning tree on VLAN 1002. switch(conf-if-vl-1002)#no spanning-tree shutdown Disabling STP on a VLAN Once all of the interface ports have been configured for a VLAN, you can disable STP for all members of the VLAN with a single command. To disable STP for a VLAN, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to access global configuration mode. 2. Enter the interface command to select the VLAN interface number. Converged Enhanced Ethernet Administrator's Guide 35 53-1001761-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

Converged Enhanced Ethernet Administrator’s Guide
35
53-1001761-01
VLAN configuration and management
4
DRAFT: BROCADE CONFIDENTIAL
Example of setting the MTU value to 4200.
switch(conf-if-te-0/1)#
mtu 4200
Creating a VLAN interface
On Brocade FCoE hardware, VLANs are treated as interfaces from a configuration point of view.
By default all the CEE ports are assigned to VLAN 1 (VLAN ID equals 1). The
vlan_ID
value can be 1
through 3583. VLAN IDs 3584 through 4094 are internally-reserved VLAN IDs.
To create a VLAN interface, perform the following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to access global configuration mode.
2.
Enter the
interface vlan
command to assign the VLAN interface number.
Example of assigning the VLAN interface number to “1002”.
switch(config)#
interface vlan 1002
Enabling STP on a VLAN
Once all of the interface ports have been configured for a VLAN, you can enable spanning tree
protocol (STP) for all members of the VLAN with a single command. Whichever protocol is currently
selected is used by the VLAN. Only one type of STP can be active at a time.
A physical interface port can be a member of multiple VLANs. For example, a physical port can be a
member of VLAN 1002 and VLAN 55 simultaneously. In addition, VLAN 1002 can have STP enabled
and VLAN 55 can have STP disabled simultaneously.
To enable STP for a VLAN, perform the following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to access global configuration mode.
2.
Enter the
protocol spanning tree
command to select the type of STP for the VLAN.
Example of selecting the MSTP protocol.
switch(config)#
protocol spanning tree mstp
3.
Enter the
interface
command to select the VLAN interface number.
Example of selecting the VLAN interface number “1002”.
switch(config)#
interface vlan 1002
4.
Enter the
spanning-tree shutdown
command to enable spanning tree on VLAN 1002.
switch(conf-if-vl-1002)#
no spanning-tree shutdown
Disabling STP on a VLAN
Once all of the interface ports have been configured for a VLAN, you can disable STP for all
members of the VLAN with a single command.
To disable STP for a VLAN, perform the following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to access global configuration mode.
2.
Enter the
interface
command to select the VLAN interface number.