Switch 7700 Command reference Guide, v2.0

Table Of Contents
MSTP Configuration Commands 329
parameters, Forward Delay and Max Age, of the switch can be determined. To
configure the current switch as the root bridge of CIST, simply specify
instance-id as 0. You can configure only one root bridge for an STI and one or
more secondary root bridges for it.
After a switch is configured as primary root switch or secondary root switch, you
cannot modify the bridge priority of the switch.
Example
Configure the current switch as the secondary root bridge of STI 4 and specify the
diameter of the switching network as 5 and the Hello Time of the switch as 300
centiseconds.:
[SW7700]stp instance 4 root primary bridge-diameter 5 hello-time 300
stp interface Syntax
stp interface interface-list { enable | disable }
View
System view
Parameter
interface-list: Ethernet port list, containing multiple Ethernet ports and
expressed as
interface _list = { { interface_type interface_num |
interface_name } [ to { interface_type interface_num | interface_name } ]
}&<1-10>. For detail descriptions of
interface_type, interface_num and
interface_name parameters, refer to the corresponding descriptions in Port
Command Manual. &<1-10> means that the preceding parameters can be
entered up to 10 times.
enable: Enables MSTP on the port.
disable: Disables MSTP on the port.
Description
Use the stp interface command to enable/disable MSTP on a switch port in
system view.
By default, if MSTP is enabled globally, it is enabled on every port; if MSTP is
disabled globally, it is also disabled on every port.
When MSTP is disabled, the corresponding port stays in forwarding state and does
not take part in any STI calculation.
A loop may be generated, if you disable MSTP on the port.
Related command: stp mode, stp.
Example
Enable MSTP on Ethernet5/0/1 in system view.
[SW7700]stp interface Ethernet5/0/1 enable