Configuring Switch Information 295
Figure 7-27. MSTP Interface Table
Defining MSTP Interfaces Using CLI Commands
The following table summarizes the equivalent CLI commands for defining MSTP interfaces as
displayed in the
MSTP Interface Setting
page.
The following is an example of the CLI commands:
Console (config) # interface ethernet g9
Console (config-if) # spanning-tree mst 1 cost 4
Console (config-if)# spanning-tree mst 1 port-priority 142
Console (config-if)# end
Console# show spanning-tree
Spanning tree enabled mode MSTP
Default port cost method: long
###### MST 0 Vlans Mapped: 1-9, 21-4094
CST Root ID Priority 32768
Address 00:01:42:97:e0:00
Path Cost 20000
Table 7-20. MSTP Interface CLI Commands
CLI Command Description
spanning-tree mst
instance-id
cost
cost
Sets the path cost of the port for MST
calculations
spanning-tree mst
instance-id
priority
priority
Sets the device priority for the specified ST
instance.
show spanning-tree mst-
configuration
Displays the MST configuration.