The display traffic-statistics vpn-instance command displays the traffic statistics about the specified VPN instance.
| 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.  | 
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:
 The actual command output varies according to the device. The command output here is only an example.
<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
| 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.  |