Enabling traffic statistics for an AC
After you create a VC for a service instance, you can perform this task to enable statistics for inbound or outbound traffic of the AC.
To enable traffic statistics for an AC by using a service instance:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter the view of the Layer 2 Ethernet interface or Layer 2 aggregate interface connected to a CE. |
| N/A |
3. Enter service instance view. | service-instance instance-id | N/A |
4. Enable inbound or outbound traffic statistics for the AC. | statistics { inbound | outbound } | By default, traffic statistics for an AC is disabled. For more information about the statistics command, see MPLS Command Reference. You can view the AC statistics by using the display mpls l2vpn fib ac vpws command. For more information, see MPLS Command Reference. |