Managing Physical Interfaces
Configuration Examples
Configuration Guide
103
Figure 7-9
Global Configuration
3) In the
Port Config
section, enable ports 1/0/1-3, select the operation mode as
Port
based
so that the port will be blocked when a loop is detected, and keep the recovery
mode as
Auto
so that the port will recover to normal status after the automatic recovery
time. Click
Apply
.
Figure 7-10
Port Configuration
4) Monitor the detection result on the above page. The
Loop status
and
Block status
are
displayed on the right side of ports.
7.3.4 Using the CLI
1) Enable loopback detection globally and configure the detection interval and recovery
time.
Switch#configure
Switch(config)#loopback-detection
Switch(config)#loopback-detection interval 30
Switch(config)#loopback-detection recovery-time 90
2) Enable loopback detection on ports 1/0/1-3 and set the process mode and recovery
mode.
Switch(config)#interface range gigabitEthernet 1/0/1-3