年代how interface
Syntax
年代how interface [ | ] [brief | physical | extended [non-zero]]
年代how interface [lag | loopback | tunnel | vlan ] [ ] [brief | physical]
年代how interface [lag | loopback | tunnel | vlan ] [ ] [extended | non-zero]
Description
Displays active configurations and operational status information for interfaces.
Command context
config
Parameters
-
-
Specifies a interface name.
-
-
Specifies the port identifier range.
-
brief
-
在表格格式显示简短的信息。
-
extended
-
Displays the physical connection info in tabular format.
-
non-zero
-
Displays only non zero statistics.
-
LAG
-
Displays LAG interface information
-
LOOPBACK
-
Displays loopback interface information.
-
TUNNEL
-
Displays tunnel interface information.
-
VLAN
-
Displays VLAN interface information.
-
-
Specifies the LAG number. Range: 1-256
-
-
Specifies the LOOPBACK number. Range: 0-255
-
-
Specifies the tunnel ID. Range: 1-255
-
< vlan id >
-
Specifies the VLAN ID. Range: 1-4094
-
VXLAN
-
Displays the VXLAN interface information.
-
-
Specifies the VXLAN interface identifier. Default: 1
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
Showing interfaces configured for L2 forwarding:
年代witch(config-if)#年代how interfaceInterface 1/1/1 is down (Administratively down) Admin state is down State information: Administratively down Link transitions: 2 Description: Backup data center link Hardware: Ethernet, MAC Address: 70:72:cf:fd:e7:b4 MTU 9198 Type SFP-SX Full-duplex qos trust none Speed 0 Mb/s Auto-negotiation is on Flow-control: off Error-control: off VLAN Mode: access Access VLAN: 1 Rx 1386055 total packets 586397526 total bytes 1374287 unicast packets 11764 multicast packets 4 broadcast packets 0 errors 0 dropped 0 CRC/FCS Tx 2475612 total packets 1003506711 total bytes 2311806 unicast packets 100369 multicast packets 63437 broadcast packets 0 errors 2462773 dropped 0 collision Interface 1/2/1 is down (Administratively down) Admin state is down State information: Administratively down Link transitions: 0 Description: Hardware: Ethernet, MAC Address: 70:72:cf:fd:e7:b4 MTU 9198 Type QSFP+SR4 Full-duplex qos trust none Speed 0 Mb/s Auto-negotiation is off Flow-control: off Error-control: off VLAN Mode: access Access VLAN: 1 Rx 0 total packets 0 total bytes 0 unicast packets 0 multicast packets 0 broadcast packets 0 errors 0 dropped 0 CRC/FCS Tx 0 total packets 0 total bytes 0 unicast packets 0 multicast packets 0 broadcast packets 0 errors 0 dropped 0 collision
When the interface is currently linked at a downshifted speed:
年代witch(config-if)#年代how interface 1/1/1Interface 1/1/1 is up ... Auto-negotiation is on with downshift active