< Home

display interface vlanif

Function

The display interface vlanif command displays the status and configuration of a VLANIF interface.

Format

display interface vlanif [ vlan-id | main ]

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.

-

Views

All views

Default Level

1: Monitoring level

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.

<HUAWEI> display interface vlanif 3
Vlanif3 current state : UP
Line protocol current state : UP
Last line protocol up time : 2012-08-03 03:54:16
Description: 
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 192.168.1.1/24 
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000b-0913-fc0b
Current system time: 2012-02-10 11:24:14 
Last 300 seconds input rate 0 bits/sec, 0 packets/sec                           
Last 300 seconds output rate 0 bits/sec, 0 packets/sec                          
Input:  0 packets, 0 bytes                                                      
Output:  0 packets, 0 bytes
    Input bandwidth utilization  : --                                           
    Output bandwidth utilization : --                                                     
                             
Table 1 Description of the display interface vlanif command output

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.

To specify the parameter, run the description command.

Route Port

Indicates that the interface is a Layer 3 interface.

The Maximum Transmit Unit

Specifies the MTU of a VLANIF interface.

To specify the parameter, run the mtu command.

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."

To specify the parameter, run the ip address command.

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.

Last 300 seconds input/output rate

Rates of incoming and outgoing packets in the last 300 seconds, expressed in bytes per second and packets per second.

NOTE:
On the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, this field is displayed only when the traffic statistics function is enabled on the VLAN view using the statistic enable command. On other models, this field is displayed only when the traffic statistics function is enabled on the VLANIF interface using the statistic enable command.

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±HH:MM.

Input/Output

Number of bytes and packets sent and received by the VLANIF interface.

NOTE:
On the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, this field is displayed only when the traffic statistics function is enabled on the VLAN view using the statistic enable command. On other models, this field is displayed only when the traffic statistics function is enabled on the VLANIF interface using the statistic enable command.

Input/Output bandwidth utilization

Inbound/outbound bandwidth utilization on an interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >