Chapter 5 Port Configuration
Step Command
Function
4
ZXR10(config)#
loop-detect reopen-time
<
1-16777216
>
This configures the reopen
time of loop port
5
ZXR10#
show loop-detect interface
[<
port-name
>]
This views information on
a port that enables loop
detection function
6
ZXR10#
show loop-detect reopen-time
This views reopen time
Note:
�
In the command of step 1, the value of the parameter
<port_name> can be a port or multiple port, such as gei_1/1
and gei_1/1-4.
�
In the command of step 2, The value of the parameter
<vlan_id> can be a VLAN or multiple VLANs, such as vlan 1
and vlan 1-4.
�
In the command of step 3, When the switch detects that there
is a loop on a port, the switch takes measures according to
corresponding configuration.
�
If the configuration is block, the data flow breaks off. The
state of the port does not turn down. System generates an
alarm.
�
If the configuration is normal, the data flow breaks off, and
the state of the port turns down. System generates an
alarm.
�
If the configuration is protect, the data flow does not break
off. The state of the port does not turn down. System
generates an alarm.
�
By default, the configuration is normal.
�
In the command of step 4, by default, the time is 10 minutes.
Port Loop Detection Configuration
Example
This example shows how to configure loop detection function.
As shown in
Figure 18
, gei_1/1 on S1 belongs to VLAN1 and
VLAN2.
Port loop detection function is enabled on gei_1/1 in
VLAN1 and VLAN2.
Confidential and Proprietary Information of ZTE CORPORATION
57