59
Switch(config-if-PORT-PORT)# no
spanning-tree
Disable spanning-tree protocol on
the selected interfaces.
Switch(config-if-PORT-PORT)# no
spanning-tree cost
Set the cost value back to the
factory default.
Switch(config-if-PORT-PORT)# no
spanning-tree priority
Set the priority value back to the
factory default.
Switch(config-if-PORT-PORT)# no
spanning-tree edge
Set the selected interfaces to non-
edge ports.
Switch(config-if-PORT-PORT)# no
spanning-tree p2p
Set the selected interface to point to
point ports.
Show command
Switch(config)# show spanning-
tree
Show or verify STP settings on the
per switch basis.
Switch(config)# show spanning-
tree aggregated-port
Show or verify STP settings on
aggregated ports.
Switch(config)# show spanning-
tree interface
Show each interface
’s STP
information including port state, path
cost, priority, edge port state, and
p2p port state.
Switch(config)# show spanning-
tree interface [port_list]
[port_list]
Show the selected interfaces
’ STP
information including port state, path
cost, priority, edge port state, and
p2p port state.
Switch(config)# show spanning-
tree statistics
Show each interface and each link
aggregation group
’s statistics
information including the total RSTP
packets received, RSTP packets
transmitted, STP packets received,
STP packets transmitted, TCN
(Topology Change Notification)
packets received, TCN packets
transmited, illegal packets received,
and unknown packets received.
Switch(config)# show spanning-
tree statistics [port_list | llag]
[port_list |
llag]
Show the selected interfaces or link
aggregation groups
’ statistics
information including the total RSTP
packets received, RSTP packets
transmitted, STP packets received,
STP packets transmitted, TCN
(Topology Change Notification)
packets received, TCN packets
transmited, illegal packets received,
and unknown packets received.
Switch(config)# show spanning-
tree status
Show current RSTP port status.
Switch(config)# show spanning-
tree status [port_list | llag]
[port_list |
llag]
Show the selected interfaces or link
aggregation groups
’ statistics
information
Switch(config)# show spanning-
tree overview
Show the current STP state.
Spanning-tree & interface command example
Description
Switch(config)# interface 1-3
Enter several discontinuous port
numbers separated by commas or a
range of ports with a hyphen. For
Содержание FOS-3148 Series
Страница 108: ...108 This sets up each port s path cost The default value is 0...
Страница 182: ...182 Restart DHCP service...