mpls-l2vpn-nw-statistics

Use this command to enable traffic statistics collection for L2VPN services (VPLS and VPWS) on Qumran2 (Q2) series platforms.

On Qumran2 (Q2) series platforms, a single LIF-based statistics profile is used across the entire solution. As a result, the L2VPN traffic statistics can be collected either at L2VPN service or at transport, but not both simultaneously. By default, traffic statistics are collected at transport level.

If users prefer to collect L2VPN statistics, they can enable this command at the cost of losing transport-level statistics.

When the auto bandwidth feature is deployed, the mpls-l2vpn-nw-statistics command must not be configured, as it will affect the accuracy of the bandwidth calculation.

Use the no form of this parameter to disable traffic statistics collection at L2VPN service level.

Command Syntax

Copy
mpls l2vpn-nw-statistics
no mpls l2vpn-nw-statistics

Parameters

None

Command Mode

Configuration mode

Default

Disabled

Applicability

Introduced in OcNOS version 6.6.1 and applicable only for Qumran2 (Q2) series platforms.

Example

Copy
#config terminal
(config)#mpls l2vpn-nw-statistics
(config)#commit

(config)#no mpls l2vpn-nw-statistics