The traffic-statistics peer enable command enables the statistics about the public traffic on a specified Martini VPLS PW.
The undo traffic-statistics peer enable command disables the statistics about the public traffic on a specified Martini VPLS PW.
By default, the statistics function is disabled.
traffic-statistics peer peer-address [ negotiation-vc-id vc-id ] enable
undo traffic-statistics peer peer-address [ negotiation-vc-id vc-id ] enable
Parameter | Description | Value |
---|---|---|
peer peer-address | Specifies the peer IP address of the PW. | - |
negotiation-vc-id vc-id | Specifies the ID of the PW. | The value is an integer that ranges from 1 to 4294967295. |
Usage Scenario
After the Martini VPLS network is configured, you can run the traffic-statistics peer 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 VSI ID has been configured using the vsi-id vsi-id command in the VSI-LDP view.
Precautions
After you enable the statistics about the public traffic on the specified Martini VPLS PW, run the display traffic-statistics vsi peer negotiation-vc-id command to view the statistics about the public traffic on the specified PW.
The traffic-statistics peer enable command cannot be used together with the traffic-statistics enable (VSI-LDP view) command in the VSI-LDP view.