Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
169/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.11.11 spanning-tree portfast bpdu-guard
Function
Enable the BPDU guard function for a port within portfast enabled.
When BPDU guard enabled port receives a BPDU, the port is shut down and its communication fails. During this time, the
received BPDU is not processed.
If the port is shut down, re-enable the communication either by using the “no shutdown” command or the “spanning-tree
portfast errdisable-timeout” command thereby automatically restarting the communication after the err-disable timeout.
Use the no form to return to the default setup.
Prompt
xg(config-if)# or xg(config-agg)#
Command syntax
spanning-tree portfast bpdu-guard
no spanning-tree portfast bpdu-guard
Parameter
z portfast bpdu-guard
Enables the BPDU guard.
Command type
Configuration command
Default
None
Note
z The function is enabled for the port only if portfast was previously enabled on the port.
Example
Enables the portfast function and BPDU guard function for port 2.
xg(config)# interface port 2
xg(config-if)# spanning-tree portfast
xg(config-if)# spanning-tree portfast bpdu-guard
5.11.12 spanning-tree portfast errdisable-timeout
Function
Starts the timer that automatically releases a port from a shutdown state. This function is only valid for ports in wherein the
portfast function and the BPDU guard function is enabled. This command is also used to specify a timer value.
Use the no form to return to the default setup.
Prompt
xg(config)#
Command syntax
spanning-tree portfast errdisable-timeout [ interval <10-1000000> ]
no spanning-tree portfast errdisable-timeout
Parameter
z errdisable-timeout
Enables the timer to release the port automatically from the shutdown status using the BPDU
card.
z interval <10-1000000>
Specifies the timeout value that automatically releases the port from a shutdown state. The
value must be within the range of 10 to 1000000 seconds.
If this parameter is omitted, the value is set to 300 seconds.
Command type
Configuration command
Default
None
Note
z Use this function only for ports connected to as an edge switch or for ports directly connected to a terminal node.
If this function is applied to other ports an unrecoverable loop condition will occur thereby affecting the switch and
network operations.
Example
Enable the automatic release timer for the port in a shutdown state.
xg(config)# spanning-tree portfast errdisable-timeout