The display access statistics interface command displays statistics about user packets and users based on a specified BAS interface and VPN instance.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Displays statistics about user packets and users based on the specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
interface interface-type interface-number |
Specifies the type and number of an interface. |
- |
Usage Scenario
If multiple users bound to VPN instances exist on a BAS interface and VPN instance-based user traffic statistics collection is enabled on the BAS interface, you can run the display access statistics interface command to check statistics about user packets and users based on a specified VPN instance on the BAS interface.
Prerequisites
VPN instance-based user traffic statistics collection is enabled on the BAS interface using the access statistics vpn-instance enable command.
Precautions
The number of users queried using the display access statistics interface command is the number of users who start accounting.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display access statistics interface GigabitEthernet 0/1/1 -------------------------- vpn-instance 123 -------------------------- total users: 0 total flow : Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv4 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv6 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes -------------------------- vpn-instance 234 -------------------------- total users: 0 total flow : Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv4 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv6 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes --------------------------
<HUAWEI> display access statistics interface GigabitEthernet 0/1/1 vpn-instance 123 -------------------------- vpn-instance 123 -------------------------- total users: 0 total flow : Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv4 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes ipv6 flow: Up : 0 packets, 0 bytes Down: 0 packets, 0 bytes --------------------------
Item | Description |
---|---|
vpn-instance | VPN instance name. |
total users | Total number of users. |
total flow | Total flow. |
Up | Upstream data. |
ipv4 flow | IPv4 traffic statistics. |
ipv6 flow | IPv6 traffic statistics. |
Down | Downstream data. |