1-6
If loopback detection is already enabled, this command will also display the detection interval and
information on the ports currently detected with a loopback.
Examples
# Display loopback detection information on a port.
<Sysname> display loopback-detection
Loopback-detection is running
Detection interval time is 30 seconds
No port is detected with loopback
display interface
Syntax
display interface [ interface-type [ interface-number ] ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type: Type of a specified interface.
interface-number: Number of a specified interface.
Description
Use the display interface command to display the current state of a specified interface and related
information.
z If neither interface type nor interface number is specified, all interface information will be displayed.
z If only interface type is specified, then only information of this particular type of interface will be
displayed.
z If both interface type and interface number are specified, then only information of the specified
interface will be displayed.
Related commands: interface.
Examples
# Display the current state of Layer 2 interface GigabitEthernet 1/0/1 and related information.
<Sysname> display interface gigabitethernet1/0/1
GigabitEthernet1/0/1 current state: DOWN
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e2f9-f3c2
Description: GigabitEthernet1/0/1 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 1000_BASE_T
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled