Rapid Spanning Tree Protocol (RSTP) | 463
To configure and enable the interfaces for Layer 2, use the following commands:
To verify that an interface is in Layer 2 mode and enabled, use the
show config command from
INTERFACE mode.
Figure 27-2. Verifying Layer 2 Configuration
Enable Rapid Spanning Tree Protocol Globally
You must enable RSTP globally on all participating bridges; it is not enabled by default.
To enable RSTP globally for all Layer 2 interfaces, use the following commands:
Step Task Command Syntax Command Mode
1 If the interface has been assigned an IP address,
remove it.
no ip address
INTERFACE
2 Place the interface in Layer 2 mode.
switchport
INTERFACE
3 Enable the interface.
no shutdown
INTERFACE
Step Task Command Syntax Command Mode
1 Enter the PROTOCOL SPANNING TREE RSTP
mode.
protocol spanning-tree rstp
CONFIGURATION
2 Enable Rapid Spanning Tree.
no disable
PROTOCOL
SPANNING TREE
RSTP
Note: To disable RSTP globally for all Layer 2 interfaces, use the disable command from PROTOCOL
SPANNING TREE RSTP mode.
FTOS(conf-if-te-1/1)#show config
!
interface TenGigabitEthernet 1/1
no ip address
switchport
no shutdown
FTOS(conf-if-te-1/1)#
Indicates that the interface is in Layer 2 mode