178
CHAPTER 3
INTRODUCTION TO CLI
3.9.45.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.45.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
3.9.45.14 (config)# spanning-tree mst <instance> priority <prio>
Syntax:
(config)# spanning-tree mst <instance> priority <prio>
Parameters:
<instance: 0-7>: Specify an instance ID. “0” means CIST. “1-7” means MSTI 1-7.
# config t
(config)# spanning-tree mode mstp
# config t
(config)# spanning-tree edge bpdu-guard
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......