Chapter 22: Alarm Management and Troubleshooting (CLI)
Performing Diagnostics (CLI)
phn-3963_004v000
Page 22-432
eth type eth[x/x]> loopback admin <loopback-admin-state>
To configure the loopback duration time, go to interface view for the interface and enter the
following command:
eth type eth[x/x]> loopback set duration <loopback-duration>
You can select whether to swap DA and SA MAC addresses during the loopback. Swapping
addresses prevents Ethernet loops from occurring. It is recommended to enable MAC address
swapping if LLDP is enabled.
To configure MAC address swapping, go to interface view for the interface and enter the following
command:
eth type eth[x/x]> loopback swap-mac-address admin <MAC_swap-admin-state>
To view loopback status, go to interface view for the interface and enter the following command:
eth type eth[x/x]> loopback status show
Table 213 Ethernet Loopback CLI Parameters
Parameter
Input Type
Permitted Values
Description
loopback-
admin-state
Variable
enable
disable
Enter enable to enable Ethernet
loopback on the interface, or
disable to disable Ethernet
loopback on the interface.
loopback-
duration
Number
1 - 900
The loopback duration time, in
seconds.
MAC_swap-
admin-state
Variable
enable
disable
Enter enable to enable MAC
address swapping, or disable to
disable MAC address swapping.
Examples
The following command enables Ethernet loopback on Ethernet interface 2.
eth type eth [1/2]> loopback admin enable
The following command sets the loopback duration time to 900 seconds.
eth type eth [1/2]> loopback set duration 900
The following command enables MAC address swapping during the loopback.
eth type eth [1/2]> loopback swap-mac-address admin enable
The following command displays Ethernet port loopback status.
eth type eth [1/2]> loopback status show