access statistics vpn-instance enable

Function

The access statistics vpn-instance enable command enables VPN instance-based user traffic statistics collection on a BAS interface.

The undo access statistics vpn-instance enable command disables VPN instance-based user traffic statistics collection on a BAS interface.

By default, VPN instance-based user traffic statistics collection is disabled on BAS interfaces.

This command is supported only on the NetEngine 8000 F1A.

Format

access statistics vpn-instance enable

undo access statistics vpn-instance enable

Parameters

None

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

If multiple users bound to VPN instances exist on a BAS interface, you can run the access statistics vpn-instance enable command to enable VPN instance-based user traffic statistics collection on the BAS interface.

Example

# Enable VPN instance-based user traffic statistics collection on the BAS interface GigabitEthernet 0/1/1.1
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/17.1
[*HUAWEI-GigabitEthernet0/1/1.1] commit
[~HUAWEI-GigabitEthernet0/1/1.1] bas
[~HUAWEI-GigabitEthernet0/1/1.1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1.1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1.1-bas] access statistics vpn-instance enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >