R3303-HP HSR6800 Routers Interface Command Reference

Table Of Contents
24
Views
Ethernet interface view
Default command level
2: System level
Parameters
external: Enables external loopback testing for all on-chip functions related to Ethernet interfaces.
internal: Enables internal loopback testing for the hardware of Ethernet interfaces.
Usage guidelines
Enable loopback testing for troubleshooting purposes, such as identifying an Ethernet problem.
You cannot perform internal or external loopback testing on an administratively down (ADM DOWN)
port. On a physically down (DOWN) port, you can perform only internal loopback testing.
During loopback testing, the speed, duplex, mdi, and shutdown commands are not available. In
addition, the port is operating in full duplex mode, regardless of its duplex configuration. After loopback
testing is disabled, the duplex configuration of the port is restored.
Examples
# Enable internal loopback testing on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] loopback internal
port link-mode
Use port link-mode to change the link mode of an Ethernet interface.
Use undo port link-mode to restore the default.
Syntax
port link-mode { bridge | route }
undo port link-mode
Default
Ethernet interfaces on the SAP-4EXP modules operate in bridge mode, and Ethernet interfaces on other
SAP modules operate in route mode.
Views
Ethernet interface view
Default command level
2: System level
Parameters
bridge: Specifies the bridge (Layer 2) mode.
route: Specifies the route (Layer 3) mode.
Usage guidelines
This command is supported on only SAP modules.