< Home

traffic-statistics peer remote-site enable (Kompella)

Function

The traffic-statistics peer remote-site enable command enables the statistics about the public traffic on a specified Kompella VPLS PW.

The undo traffic-statistics peer remote-site enable command disables the statistics about the public traffic on a specified Kompella VPLS PW.

By default, the statistics of the public traffic on the Kompella VPLS PW are disabled.

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
peer peer-address Specifies the peer IP address of the PW. -
remote-site site-id Specifies the remote site ID. The value is anl integer that ranges from 0 to 65534.

Views

VSI-BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the Kompella VPLS network is configured, you can run the traffic-statistics peer remote-site enable command to enable statistics about the traffic on the specified PW. You can specify peer-address to enable the statistics about the traffic on the corresponding PW.

Prerequisites

The RD of the VSI has been configured using the route-distinguisher route-distinguisher command in the VSI-BGP view.

Precautions

After you enable the statistics about the public traffic on the specified Kompella VPLS PW, run the display traffic-statistics vsi peer remote-site command to view the statistics about the public traffic on the specified PW.

Example

# Enable the statistics about the public traffic on the specified Kompella VPLS PW.

<HUAWEI> system-view
[HUAWEI] vsi newvsi auto
[HUAWEI-vsi-newvsi] pwsignal bgp
[HUAWEI-vsi-newvsi-bgp] traffic-statistics peer 10.22.33.20 remote-site 2 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >