R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
13
# Create Ethernet subinterface Ten-GigabitEthernet 0/0.1 and enter the subinterface view (assuming that
Ten-GigabitEthernet 0/0 is a Layer 3 Ethernet interface and the subinterface does not exist).
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0.1
[Sysname-Ten-GigabitEthernet0/0.1]
loopback
Syntax
loopback { external | internal }
undo loopback
View
Ethernet interface view
Default level
2: System level
Parameters
external: Enables external loopback testing to test all on-chip functions related to Ethernet interfaces.
internal: Enables internal loopback testing to test the hardware of Ethernet interfaces.
Description
Use the loopback command to enable loopback testing on an Ethernet interface.
Use the undo loopback command to disable loopback testing on an Ethernet interface.
By default, loopback testing is disabled on Ethernet interfaces.
NOTE:
• You enable loopback testing for troubleshooting purposes, such as identifying an Ethernet problem.
• During loopback testing, an Ethernet interface operates in full-duplex mode, regardless of its duplex
configuration. After loopback testing is disabled, the duplex configuration of the interface restores.
Examples
# Enable internal loopback testing on Ethernet interface Ten-GigabitEthernet 0/0.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0
[Sysname-Ten-GigabitEthernet0/0] loopback internal
port link-mode
Syntax
port link-mode { bridge | route }
undo port link-mode
View
Ethernet interface view