T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
200
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Enable the loopback detection function of ports 1-3:
T2700G-28TQ(config)# interface range gigabitEthernet
1/0/1-3
T2700G-28TQ(config-if-range)#
loopback-detection
loopback-detection config
Description
The
loopback-detection config
command is used to configure the
process-mode and recovery-mode for the ports by which the switch copes with
the detected loops.
Syntax
loopback-detection config
[
process-mode
{ alert | port-based }]
[
recovery-mode
{ auto | manual }]
Parameter
alert | port-based —— The mode how the switch processes the detected loops.
Alert:
When a loop is detected, display an alert. Port based: When a loop is
detected, display an alert and block the port.
auto | manual —— The mode how the blocked port recovers to normal status.
Auto: Block status can be automatically removed after recovery time. Manual:
Block status can only be removed manually.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure the loopback detection process-mode as port-based and
recovery-mode as manual for port 2:
T3200G-28TQ(config)# interface gigabitEthernet
1/0/2