年代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

在表格格式显示简短的信息。

physical

Display the physical connection info in tabular format.

extended

Displays additional statistics.

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

The following example shows when the interface is configured as a route-only port:

年代witch#年代how interface 1/1/1Interface 1/1/1 is up Admin state is up Link state: up for 2 days (since Sun Jun 21 05:30:22 UTC 2020) Link transitions: 1 Description: Backup data center link Hardware: Ethernet, MAC Address: 70:72:cf:fd:e7:b4 MTU 1500 Type 1GbT Full-duplex qos trust none Speed 1000 Mb/s Auto-negotiation is on Flow-control: off Error-control: off L3 Counters: Rx Enabled, Tx Enabled Rate collection interval: 300 seconds Rates Rx Tx Total ------------------------------------------------------- Mbits/sec 0.00 0.00 0.00 Kbits/sec 0.00 0.00 0.00 Unicast 0.00 0.00 0.00 Multicast 0.00 0.00 0.00 Broadcast 0.00 0.00 0.00 Utilization% 0.00 0.00 0.00 Statistics Rx Tx Total ------------------------------------------------------- Packets 0 0 0 Unicast 0 0 0 Multicast 0 0 0 Broadcast 0 0 0 Bytes 0 0 0 Jumbos 0 0 0 Dropped 0 0 0 Filtered 0 0 0 Pause Frames 0 0 0 L3 Packets 0 0 0 L3 Bytes 0 0 0 Errors 0 0 0 CRC/FCS 0 n/a 0 Collision n/a 0 0 Runts 0 n/a 0 Giants 0 n/a 0

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