RSTP port types

Last Updated : Nov 06, 2012 |
Prolog information
RSTP provides a means of fast network convergence after a topology change. It does this by assigning different treatments to different port types.
Edge ports Setting a port to edge-port admin state indicates that this port is connected directly to end stations that cannot create bridging loops in the network. These ports transition quickly to forwarding state. However, if BPDUs are received on an edge port, its operational state will be changed to non-edge-port and bridging loops will be avoided by the RSTP algorithm. The default admin state of 10/100 M ports is edge-port.
Enter set port edge admin state, followed by the module and port number – or a range of port numbers – to specify whether or not a port is considered an edge port.
The following command specifies that port 10/5 is not an edge port:
Gxxx-001(super)# set port edge admin state 10/5 non-edge-port
Enter show port edge state, followed by the module and port number, to display the edge state of the specified port. Use this command without specifying a module number or port to display the edge state of all ports.
Non-edge ports You must manually configure uplink and backbone ports to be non-edge ports, using the set port edge admin state command.
Point-to-point link ports This port type applies only to ports interconnecting RSTP compliant switches and is used to define whether the devices are interconnected using shared Ethernet segment or point-to-point Ethernet link. RSTP convergence may be faster when switches are connected using point-to-point links. The default setting for all ports – automatic detection of point-to-point link – is sufficient for most networks.
Enter set port point-to-point admin status, followed by the module and port number or a range of port numbers, and an admin status parameter, to specify the port’s connection type. Admin status parameter values are:
  • force-true. Treats the port as if it is connected point-to-point
  • force-false. Treats the port as if it is connected to shared media
  • auto. Attempts to automatically detect the port’s connection type
For example, the following command specifies that ports 10/5 and 10/6 are treated as if they were connected point-to-point:
Gxxx-001(super)# set port point-to-point admin status 10/5-6 force-true
All ports Enter show port point-to-point status, followed by the module and port number, to display the point-to-point status of the specified point-to-point status of all ports