display traffic-statistics vpn-instance

Function

The display traffic-statistics vpn-instance command displays the traffic statistics about the specified VPN instance.

Format

display traffic-statistics vpn-instance vpn-instance-name

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l3vpn read

Usage Guidelines

Usage Scenario

To check the volume and rate of incoming and outgoing traffic of a VPN instance, run the display traffic-statistics vpn-instance command.

Prerequisites

The command output is displayed only when the following conditions are met:

  • Traffic statistics collection is enabled.
  • The IPv4 or IPv6 address family is enabled for the VPN instance.

    Note:

    This command displays the total traffic volume on all AC interfaces bound to VPN instances. If no AC interface is bound to any VPN instance, the traffic statistics result is 0.

Example

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

# Display the statistics about the VPN instance named vpna.
<HUAWEI> display traffic-statistics vpn-instance vpna
vpn-instance-name: vpna
Statistics last cleared: never
Last 300 seconds input rate : 0 bytes/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 packets/sec
Input: 0 bytes, 0 packets
Output: 0 bytes, 0 packets
Input:
Unicast: 0 packets, Multicast: 0 packets
Broadcast: 0 packets
Output:
Unicast: 0 packets, Multicast: 0 packets
Broadcast: 0 packets
Table 1 Description of the display traffic-statistics vpn-instance command output
Item Description
Statistics last cleared

Time when statistics are cleared last time.

Last 300 seconds input rate

Rate of incoming traffic in the last 300 seconds.

Last 300 seconds output rate

Rate of outgoing traffic in the last 300 seconds.

vpn-instance-name

Name of a VPN instance.

Input

Number of received packets.

Output

Number of sent packets.

Unicast

Number of unicast packets.

Multicast

Number of multicast packets.

Broadcast

Number of broadcast packets.

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