The display loop-detect eth-loop command displays configurations of MAC flapping-based loop detection and information about the blocked interface or pseudo wire (PW).
Parameter | Description | Value |
---|---|---|
vsi vsi-name |
Displays configurations of MAC flapping-based loop detection in a specified VSI.If vsi vsi-name is not specified, the command displays configurations of MAC flapping-based loop detection in all VSIs. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
bridge-domain bd-id |
Specifies a BD ID. |
The value is an integer ranging from 1 to 16777215. |
vlan vlan-id |
Specifies the ID of a VLAN for which configuration information of MAC flapping-based loop detection is to be displayed. |
The value is an integer ranging from 1 to 4094. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display loop-detect eth-loop
BD LTimes DCycle Cycles Retry Action
------------------------------------------------------------------------------
1 3 3 1 0 Block 0 s
Total Items = 1
Blocked Port:
---------------
BD Block Port Link-Block Port Detect MAC T
--------------------------------------------------------------------------------
1 Eth-Trunk9.1(P) 00e0-fc12-3457 0
1 Eth-Trunk9.2(P,B) 00e0-fc12-3458 0
Item | Description |
---|---|
BD | Name of a VSI, a VLAN or a BD in which MAC flapping-based loop detection is enabled. |
LTimes | Number of MAC address entry flaps, which can be configured using the loop-detect eth-loop command. |
DCycle | Detection cycle, which can be configured using the loop-detect eth-loop command. |
Cycles | Number of detection cycles. If loops occur within the consecutive detection cycles, an interface or PW is blocked, or an alarm is reported. This parameter can be configured using the loop-detect eth-loop command. |
Retry | Number of times that loops are allowed to occur after a blocked interface or PW recovers. If this number is exceeded, the interface or PW is blocked permanently. This parameter can be configured using the loop-detect eth-loop command. |
Action | Action taken after a loop is detected. It can be keeping an interface or a PW blocked for a specified period of time or just recording a log and reporting an alarm to the NMS. This parameter can be configured using the loop-detect eth-loop command. |
Block Port | Blocked interface or PW. (P) in the command output indicates permanent blocking, (B) in the command output indicates blocking caused by dynamic black-hole MAC address entries. |
Total Items | Number of VSIs, VLANs or BDs in which MAC flapping-based loop detection is enabled. |
Blocked Port | Blocked interface or PW. |
Link-Block Port | Associated interface that is blocked. This field is displayed only after MAC flapping-based loop detection association is enabled using the monitor mac-shift command. |
Detect MAC | MAC address that flaps. |
T | Whether accurate blocking is applied.
|