XG2000 series User's Guide
168/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.11.10 spanning-tree portfast
Function
The “portfast” function reduces the transition time required to transition to a "Forwarding" state. When the function is enabled,
the port state is directly changed from "Discarding" to "Forwarding" and does not transition to a "Listening" or Learning" state.
This function can only be used with an edge port that is directly connected to a terminal node.
Use the no form to return to the default setup.
Prompt
xg(config-if)# or xg(config-agg)#
Command syntax
spanning-tree portfast
no spanning-tree portfast
Parameter
z portfast
Enables the portfast function.
Command type
Configuration command
Default
None
Message
% port %1$ is membership of uplink-domain %2$.
Explanation
The specified port already belongs to an uplink domain.
[[Inserted string]]%1$: specified port number
[[Inserted string]]%2$: uplink domain number
Solution
Specify a port not belonging to an uplink domain or remove the port from its uplink domain.
Note
z Use this function only for ports connected as an edge switch or for a port 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 may be affected.
z The port must be removed from an uplink domain before enabling the STP portfast function.
Example
Enable portfast for switch port 2.
xg(config)# interface port 2
xg(config-if)# spanning-tree portfast