beautypg.com

Specifying a name for an mstp region, Specifying a name, For an mstp region – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 418: Specifying a revision number, For mstp configuration, Command. refer to, Specifying the maximum number of, Hops for a bpdu (mstp)

background image

To map a VLAN to an MSTP instance, perform the following steps from privileged EXEC mode.

1. Enter the configure terminal command to change to global configuration mode.

switch# configure terminal

2. Enter the protocol command to enable MSTP.

switch(config)# protocol spanning-tree mstp

3. Map a VLAN to an MSTP instance.

switch(config-mstp)# instance 5 vlan 300

4. Return to privileged EXEC mode.

switch(config-mstp)# end

5. Enter the copy command to save the running-config file to the startup-config file.

switch# copy running-config startup-config

Specifying the maximum number of hops for a BPDU (MSTP)

In MSTP mode, use this command to configure the maximum number of hops for a BPDU in an MSTP
region. Specifying the maximum hops for a BPDU prevents the messages from looping indefinitely on
the interface. When you change the number of hops, it affects all spanning tree instances. The range
is 1 through 40. The default is 20 hops.

To configure the maximum number of hops for a BPDU in an MSTP region, perform the following
steps from privileged EXEC mode.

1. Enter the configure terminal command to change to global configuration mode.

switch# configure terminal

2. Enter the protocol command to enable MSTP.

switch(config)# protocol spanning-tree mstp

3. Enter the max-hops command to configure the maximum number of hops for a BPDU in an MSTP

region.

switch(config-mstp)# max-hops hop_count

4. Return to privileged EXEC mode.

switch(config-mstp)# end

5. Enter the copy command to save the running-config file to the startup-config file.

switch# copy running-config startup-config

Specifying a name for an MSTP region

In MSTP mode, use this command to assign a name to an MSTP region. The region name has a
maximum length of 32 characters and is case-sensitive.

To assign a name to an MSTP region, perform the following steps from privileged EXEC mode.

1. Enter the configure terminal command to access global configuration mode.

switch# configure terminal

2. Enter the protocol command to enable MSTP.

switch(config)# protocol spanning-tree mstp

3. Enter the region command to assign a name to an MSTP region.

switch(config-mstp)# region sydney

4. Return to privileged EXEC mode.

switch(config-mstp)# end

5. Enter the copy command to save the running-config file to the startup-config file.

switch# copy running-config startup-config

Specifying a revision number for MSTP configuration

In MSTP mode, use this command to specify a revision number for an MSTP configuration. The range
is 0 through 255. The default is 0.

Specifying the maximum number of hops for a BPDU (MSTP)

418

Network OS Administrator’s Guide

53-1003225-04