display access statistics interface

Function

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.

Format

display access statistics interface { interface-name | interface-type interface-number } [ vpn-instance vpn-instance-name ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

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.

Example

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

# Display statistics about all user packets and users on a specified interface.
<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
--------------------------
# Display statistics about user packets and users of the VPN instance named 123 on GigabitEthernet 0/1/1.
<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
--------------------------
Table 1 Description of the display access statistics interface command output
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.

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