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