187
CHAPTER 3
CLI CONFIGURATION
Show:
# show spanning-tree
3.9.44.24 (config-if)# spanning-tree bpdu-guard
Syntax:
(config-if)# spanning-tree bpdu-guard
Explanation:
Enable BPDU guard function on this interface. This feature protects ports from receiving BPDUs. It can
prevent loops by shutting down a port when a BPDU is received instead of putting it into the spanning tree discarding
state. If enabled, the port will disable itself upon receiving valid BPDU's.
Negation:
(config-if)# no spanning-tree bpdu-guard
Show:
# show spanning-tree
3.9.44.25 (config-if)# spanning-tree edge
Syntax:
(config-if)# spanning-tree edge
Explanation:
If an interface is attached to end nodes, you can set it to “Edge”.
Negation:
(config-if)# no spanning-tree edge
Show:
# show spanning-tree
3.9.44.26 (config-if)# spanning-tree link-type
Syntax:
(config-if)# spanning-tree link-type { point-to-point | shared | auto }
Explanation:
Configure the link type attached to an interface.
Parameters:
{ point-to-point | shared | auto }: Select the link type attached to an interface.
point-to-point:
It is a point-to-point connection.
shared:
It is a shared medium connection
auto:
The switch automatically determines whether the interface is attached to a point-to-point link or
shared medium.
Negation:
(config-if)# no spanning-tree link-type
Show:
# show spanning-tree
Содержание IFS-1604GSM Series
Страница 385: ......