Enabling packet statistics for an Ethernet service
instance
Perform this task to enable packet statistics for an Ethernet service instance. To display packet statistics on
the Ethernet service instance, use the display l2vpn service-instance verbose command.
To enable packet statistics for an Ethernet service instance:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enter Ethernet service
instance view.
4.
Enable packet statistics for
the Ethernet service
instance.
5.
Return to user view.
6.
(Optional.) Clear packet
statistics on the Ethernet
service instance.
Displaying and maintaining VPLS
Execute display commands in any view and reset commands in user view.
Task
Display LDP PW label information.
Display L2VPN forwarding information.
Display MAC address table information for
VSIs.
Display L2VPN PW information.
Display PW class information.
Display Ethernet service instance information.
Command
system-view
•
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
service-instance instance-id
statistics enable
return
reset l2vpn statistics ac [ interface
interface-type interface-number
service-instance instance-id ]
Command
display l2vpn ldp [ peer ip-address [ pw-id pw-id ] | vsi
vsi-name ] [ verbose ]
display l2vpn forwarding { ac | pw } [ vsi vsi-name ] [ slot
slot-number ] [ verbose ]
display l2vpn mac-address [ vsi vsi-name ] [ dynamic ]
[ count ]
display l2vpn pw [ vsi vsi-name ] [ protocol { bgp | ldp |
static } ] [ verbose ]
display l2vpn pw-class [ class-name ]
display l2vpn service-instance [ interface interface-type
interface-number [ service-instance instance-id ] ] [ verbose ]
387
Remarks
N/A
N/A
N/A
By default, packet statistics is
disabled for all Ethernet service
instances.
N/A
N/A