display interface vlanif
Function
The display interface vlanif command displays the status and configuration of a VLANIF interface.
Parameters
Parameter |
Description |
Value |
---|---|---|
vlan-id |
Specifies the ID of a VLAN. |
The value is an integer and the value range depends on the range of existing VLANIF interfaces. You can enter the question mark (?) to obtain the range of VLAN IDs. |
main | Displays status and traffic statistics about a VLANIF interface. A VLANIF interface has no sub-interfaces. Status and traffic statistics about a VLANIF interface are displayed whether you specify the main parameter or not. |
- |
Usage Guidelines
Usage Scenario
To monitor an interface or locate an interface fault, you can use the display interface vlanif command to view the interface status, interface configuration, and traffic statistics on the interface.
Prerequisites
The specified VLANIF interface has been created.
Precautions
If vlan-id is not specified, the display interface vlanif command displays information about all VLANIF interfaces in the system.
Example
# Display the status and configuration of VLANIF 3.
<AC6605> display interface vlanif 3 Vlanif3 current state : DOWN Line protocol current state : DOWN Description:HUAWEI, AC Series, Vlanif3 Interface Route Port,The Maximum Transmit Unit is 1500 Internet protocol processing : disabled IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc01-00e1 Current system time: 2007-09-12 20:21:13 Input bandwidth utilization : -- Output bandwidth utilization : --
Item |
Description |
---|---|
current state |
Status of a VLANIF interface. The value is UP or Down. |
Line protocol current state |
Status of the link-layer protocol on a VLANIF interface. The value is UP or Down. |
Last line protocol up time |
The last time the line protocol is up. |
Description |
Description of a VLANIF interface. |
Route Port |
Indicates that the interface is a Layer 3 interface. |
The Maximum Transmit Unit |
Specifies the MTU of a VLANIF interface. |
Internet Address |
IP address of a VLANIF interface. If the VLANIF interface does not have an IP address, the system displays "Internet protocol processing: disabled." |
IP Sending Frames' Format |
Encapsulation format of IP packets, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP. |
Hardware address |
MAC address of the VLANIF interface. |
Current system time |
Indicates the current system time. If the system is configured with a time zone and is in the summer time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST. |
Input/Output bandwidth utilization |
Inbound/outbound bandwidth utilization on an interface. |