display statistics interface vlan

Function

The display statistics interface vlan command displays VLAN packet statistics on a specified interface.

Format

display statistics interface { interface-type interface-number | interface-name } vlan vlan-id

Parameters

Parameter Description Value
interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

interface-name

Specifies the interface name.

-

vlan-id

Displays packet statistics in a specified VLAN.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vlan read

Usage Guidelines

Usage Scenario

To view packet statistics on a specified interface in a VLAN, run the display statistics vlan command. The command output helps you analyze interface faults.

Prerequisites

An interface has been enabled to collect VLAN packet statistics using the statistics enable vlan command.

Precautions

To view packet statistics on all interfaces in a VLAN, run the display vlan statistics command in the VLAN view.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display VLAN packet statistics on a specified interface.
<HUAWEI> display statistics interface Eth-Trunk 1 vlan 10
Last 5 minutes input rate 0 packets/sec, 0 bytes/sec
    Last 5 minutes output rate 0 packets/sec, 0 bytes/sec
    0 packets input, 0 bytes
    0 packets output, 0 bytes
    Input:0 packets of unicast input
          0 packets of multicast input
          0 packets of broadcast input
          0 packets of unknown-unicast input
   Output:0 packets of unicast output
          0 packets of multicast output
          0 packets of broadcast output
          0 packets of unknown-unicast output
Table 1 Description of the display statistics interface vlan command output
Item Description
Last 5 minutes input rate/Last 5 minutes output rate

Rates at which bytes and packets were sent and received in the last 5 minutes.

0 packets input

Number of packets received, including unicast, broadcast, and multicast packets.

0 packets output

Number of packets sent, including unicast, broadcast, and multicast packets.

Input

Message information received by the interface.

Output

Message information sent by the interface.

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