mac

103
corresponding relationship between instance and vlan id should be set manually by users,
it should be noticed when be used.
Example: Enable the function of loopback detection control under port1/2 mode.
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#loopback-detection control shutdown
Switch(Config-If-Ethernet1/2)#no loopback-detection control
3.3.3 loopback-detection control-recovery timeout
Command: loopback-detection control-recovery timeout <0-3600>
Function: This command is used to recovery to uncontrolled state after a special time
when a loopback being detected by the port entry be controlled state.
Parameters: <0-3600> second is recovery time for be controlled state, 0 is not recovery
state.
Default: The recovery is not automatic by default.
Command mode: Global Configuration Mode.
Usage Guide: When a port detects a loopback and works in control mode, the ports
always work in control mode and not recover. The port will not sent packet to detection in
shutdown mode, however, the port will sent loopback-detection packet to detection
whether have loopback in block or learning mode. If the recovery time is configured, the
ports will recovery normal state when the overtime is time-out. The recovery time is a
useful time for shutdown control mode, because the port can keep on detection loopback
in the other modes, so suggest not to use this command.
Examples: Enable automatic recovery of the loopback-detection control mode after 30s.
Switch(config)#loopback-detection control-recovery timeout 30
3.3.4 loopback-detection interval-time
Command: loopback-detection interval-time <loopback> <no-loopback>
no loopback-detection interval-time
Function: Set the loopback detection interval. The no operate closes the loopback
detection interval function.
Parameters: <loopback > the detection interval if any loopback is found, ranging from 5
to 300, in seconds.
<no-loopback > the detection interval if no loopback is found, ranging from 1 to 30, in
seconds.
Default: The default value is 5s with loopbacks existing and 3s otherwise.
Command mode: Global Mode.