traffic-statistics peer remote-site enable

Function

The traffic-statistics peer remote-site enable command enables the traffic statistics collection function for a BGP VPLS PW.

The undo traffic-statistics peer remote-site enable command restores the default configuration.

By default, the traffic statistics collection function is disabled for a specified BGP VPLS PW.

Format

traffic-statistics peer peer-address remote-site site-id enable

undo traffic-statistics peer peer-address remote-site site-id enable

Parameters

Parameter Description Value
remote-site site-id

Specifies a remote site ID.

The value is an integer ranging from 0 to 65534.

peer peer-address

Specifies a peer IP address.

The value is in dotted decimal notation.

Views

VSI-BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To collect the traffic statistics of a specified BGP VPLS PW, run the traffic-statistics peer enable command. These statistics help you learn network operating status.

Prerequisites

The BGP signaling has been configured using the pwsignal bgp command.

Example

# Enable the traffic statistics collection function for a specified PW in VSI company1.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi company1 auto
[*HUAWEI-vsi-company1] pwsignal bgp
[*HUAWEI-vsi-company1-bgp] traffic-statistics peer 2.2.2.9 remote-site 2 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >