< Home

display interface vlanif

Function

The display interface vlanif command displays the status, configurations, and statistics about a VLANIF interface.

Format

display interface vlanif [ vlan-id | main ]

Parameters

Parameter Description Value
vlan-id

Specifies the ID of the VLAN of which the status, configurations, and statistics about the VLANIF interface is displayed.

If vlan-id is not specified, statuses, configurations, and statistics about all VLANIF interfaces are displayed.

The value is an integer ranging from 1 to 4094.
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

According to the status and statistics of the interface collected by the command, you can measure the traffic and locate the fault of the interface.

Example

# Displays information about VLANIF 2 interface.

<sysname> display interface vlanif 2
Vlanif2 current state : UP
Line protocol current state : UP
Last line protocol up time : 2013-12-18 13:35:09 UTC+02:00 
Description:HUAWEI, Vlanif2 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-d526-ab00
Physical is VLANIF
Current system time: 2013-12-20 12:13:47+02:00
Statistics last cleared: never
    Last 300 seconds input rate 941 bits/sec, 2 packets/sec
    Last 300 seconds output rate 968 bits/sec, 3 packets/sec
    Realtime 29 seconds input rate 0 bits/sec, 0 packets/sec
    Realtime 29 seconds output rate 0 bits/sec, 0 packets/sec
    Input: 827 packets,0 bytes
           410 unicast,417 broadcast,0 multicast
    Output:819 packets,0 bytes
           402 unicast,417 broadcast,0 multicast
    Input bandwidth utilization  : --
    Output bandwidth utilization : --
Table 1 Description of the display interface vlanif command output

Item

Description

current state

Indicates the physical status of the interface:

  • UP: indicates that the interface is Up.
  • DOWN: indicates that the interface is Down.
  • Administratively down: indicates that the administrator uses the shutdown command on the interface.

Line protocol current state

Indicates the status of the link protocol of the interface:
  • UP: indicates the normal enabled state.

  • DOWN: indicates the abnormal state or the IP address is not configured on the interface.

Last line protocol up time

Indicates the last time when the link layer protocol status of the interface is Up. "-" indicates that the link layer protocol status of the interface does not change.

This field is displayed only when the link layer protocol status of an interface is Up.

Description

Indicates the description of an interface. The information allows users to know about functions of the interface and is used to identify the current interface.

Route Port

Indicates the Layer 3 interface.

The Maximum Transmit Unit is

Indicates the MTU of the interface. By default, the MTU is 1500 bytes. Packets larger than the MTU are fragmented before being sent. If fragmentation is disabled, packets will be discarded.

Internet Address is

Indicates the IP address of an interface. If no IP address is configured on the current interface, the system displays "Internet protocol processing: disabled".

IP Sending Frames' Format is

Indicates the format of Ethernet frames sent by the interface. The default format is Ethernet_2. The following frame formats can be identified on an Ethernet:

  • Ethernet_2
  • Ethernet_SNAP
  • 802.2
  • 802.3

Physical is

Indicates the physical type.

Current system time

Indicates the current system time.

If the system is configured with a time zone and is in the summer daylight saving time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Statistics last cleared:

Last time when statistics on the interface are cleared. never indicates that statistics on the interface have never been cleared.

This field is displayed only when the Layer 3 VPN service is configured on an interface.

Last 300 seconds input rate

Last 300 seconds output rate

Indicates the rates at which bits and packets are sent and received by the interface in the last 300 seconds.

Each time this command is run, the value of this field is re-counted. The rate at which bits and packets are received in the last 300s before this command is run is displayed, and is calculated by dividing total number of bits and packets by 300s.

Realtime 29 seconds input rate

Realtime 29 seconds output rate

Indicates the real-time rates at which packets are sent and received within 29 seconds.

It refers to the interval between two display interface commands that are run on the same interface. The maximum value is the statistical interval displayed in the previous piece of information.

NOTE:

This field is displayed only when you view statistics about a logical interface.

Input

Statistics about packets received on the interface.

  • packets, bytes: Numbers of correct packets and bytes. packets indicates the total number of unicast, broadcast, and multicast packets.

  • unicast, broadcast, multicast: Numbers of correct unicast, multicast, and broadcast packets.

Output

Statistics about packets sent on the interface.

  • packets, bytes: Numbers of correct packets and bytes. packets indicates the total number of unicast, broadcast, and multicast packets.

  • unicast, broadcast, multicast: Numbers of correct unicast, multicast, and broadcast packets.

Input bandwidth utilization

Indicates the percentage of the rate for receiving packets to the total bandwidth.

"--" indicates that statistics about rate at which packets are received are not displayed on VLANIF interfaces.

Output bandwidth utilization

Indicates the percentage of the rate for sending packets to the total bandwidth.

"--" indicates that statistics about rate at which packets are sent are not displayed on VLANIF interfaces.

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