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.
traffic-statistics peer peer-address remote-site site-id enable
undo traffic-statistics peer peer-address remote-site site-id enable
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. |
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.