7.1.10 spanning-tree portfast
Use spanning-tree portfast command to configure the current port as an edge
port.
spanning-tree portfast
no spanning-tree portfast
【Default】
All Ethernet ports of a switch are non-edge ports.
【Command configuration mode】
Interface configuration mode
【Usage】
Edge port can be in transmitting state in linkup in 3 seconds, and it changes into
non-edge port after receiving STP message.
【Example】
!Configure Ethernet 0/7 as a non-edge port.
QTECH(config-if-ethernet-0/7)#spanning-tree portfast
7-13