182
CHAPTER 3
CLI CONFIGURATION
Negation:
(config)# no spanning-tree edge bpdu-filter
Show:
# show spanning-tree
3.9.44.12 (config)# spanning-tree edge bpdu-guard
Syntax:
(config)# spanning-tree edge bpdu-guard
Explanation:
Enable edge BPDU guard function. Edge ports generally connect directly to PC, file servers or printers.
Therefore, edge ports are configured to allow rapid transition. Under normal situations, edge ports should not receive
configuration BPDUs. However, if they do, this probably is due to malicious attacks or mis-settings. When edge ports
receive configuration BPDUs, they will be automatically set to non-edge ports and start a new spanning tree
calculation process.
BPDU Guard is therefore used to prevent the device from suffering malicious attacks. With this function enabled,
when edge ports receive configuration BPDUs, STP disables those affected edge ports. After a period of recovery time,
those disabled ports are re-activated.
Example:
Enable edge BPDU guard function.
Negation:
(config)# no spanning-tree edge bpdu-guard
Show:
# show spanning-tree
3.9.44.13 (config)# spanning-tree mode
Syntax:
(config)# spanning-tree mode { stp | rstp | mstp }
Parameters:
{ stp | rstp | mstp }: Specify one of the STP protocol versions.
Explanation:
Configure the desired STP protocol version.
Example:
Set the spanning tree mode to MSTP.
Negation:
(config)# no spanning-tree mode
Show:
# show spanning-tree
# config t
(config)# spanning-tree mode mstp
# config t
(config)# spanning-tree edge bpdu-guard
Содержание IFS-1604GSM Series
Страница 385: ......