140
•
If the AC interface is a Layer 2 interface, create a service instance on the interface, apply global
committed access rate (CAR) actions for the service instance, and then bind the service instance to
a VPLS instance.
This configuration task describes how to apply a CAR action for a service instance.
Configuration prerequisites
Use the
qos
car
command in system view to configure a global CAR action. For more information about
CAR, see
ACL and QoS Configuration Guide
.
Configuration procedure
After you apply a global CAR action in service instance view, the device polices the inbound or
outbound traffic matching the service instance according to the applied global CAR action.
To apply a global CAR action for a service instance:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the view of the Layer 2 Ethernet
interface connected to the CE
interface
interface-type
interface-number
—
Enter service instance view
service-instance
instance-id
—
Apply a global CAR action to the
inbound or outbound traffic on the AC
car
{
inbound
|
outbound
}
name
car-name
Required
By default, no global CAR is
applied to an AC.
NOTE:
To configure traffic policing for an AC, you must first configure this task before you bind the service
instance to the VPLS instance.
Inspecting PWs
On a VPLS network, you can use the MPLS LSP ping function to check PW connectivity and get necessary
information for troubleshooting PW failures.
On the local PE, the MPLS LSP ping function adds the label of the PW to be tested into MPLS Echo Request
messages so that the messages travel along the PW. The local PE determines whether the PW is valid and
reachable according to the replies received from the peer PE.
To check the connectivity of a PW:
To do…
Use the command…
Remarks
Use MPLS LSP ping to check the
connectivity of a PW
ping lsp
[
-a
source-ip
|
-c
count
|
-exp
exp-value
|
-h
ttl-value
|
-m
wait-time
|
-r
reply-mode
|
-s
packet-size
|
-t
time-out
|
-v
]
*
pw
ip-address
pw-id
pw-id
Required
Available in any view