beautypg.com

Creating a vlan, Enabling stp on a vlan – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 359

background image

1. Enter the configure terminal command to access global configuration mode.
2. Enter the interface command to specify the interface port type and slot/port number.

The gigabitethernet rbridge-id/slot/port operand is used only for the Brocade VDX 6710, Brocade
VDX 8770-4, and Brocade VDX 8770-8 in VCS mode. The prompt for these ports has the format:
switch(config-if-gi-22/0/1)#.

switch(config)# interface tengigabitethernet 0/1

3. Enter the mtu command to specify the MTU value on the interface port.

switch(conf-if-te-0/1)# mtu 4200

Creating a VLAN

On Brocade VDX hardware, VLANs are treated as interfaces from a configuration point of view.

By default all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). The vlan_ID value can be 1
through 3963. VLAN IDs 3964 through 4090 are internally-reserved VLAN IDs. However, the reserved-
vlan
command can modify this range. VLANs above 4090 are not configurable. Refer to the Network
OS Command Reference
for more information.

NOTE

For the Brocade VDX 67XX switches, the default reserved space is 128 VLANS, and is equal to sum of
the number of maximum allowed port channels and the number of interfaces. Presently, VLANs from
3960 through 4090 are reserved.

For the Brocade VDX 8770 switches, the default reserved VLAN space is 4. VLANs 4087 through 4090
are reserved.

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.

switch(config)# interface vlan 1010

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 1015 and VLAN 55 simultaneously. In addition, VLAN 1015 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.

switch(config)# protocol spanning tree mstp

3. Enter the interface command to select the VLAN interface number.

switch(config)# interface vlan 1015

4. Enter the no spanning-tree shutdown command to enable spanning tree on VLAN 1015.

switch(conf-if-vl-1015)# no spanning-tree shutdown

Creating a VLAN

Network OS Administrator’s Guide

359

53-1003225-04