R3303-HP 6600/HSR6600 Routers MPLS Configuration Guide

177
Task Command
Remarks
Display MPLS L2VPN PW
information.
display mpls l2vpn fib pw vpws [ interface
interface-type interface-number
[ service-instance service-instanceid ] ] [ slot
slot-number ] [ verbose ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display information about one or
all PW classes.
display pw-class [ pw-class-name ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
MPLS L2VPN configuration examples
Example for configuring a local CCC connection
Network requirements
The CEs are connected to the PE through Serial interfaces. The link layer encapsulation protocol is PPP.
Create a local CCC connection on the PE, so the PE can directly forward packets between CE 1 and CE
2 without looking up the forwarding table, improving the forwarding speed.
Figure 45 Network diagram
Configuration considerations
Because a local CCC connection is bidirectional, one local CCC connection is enough for CE 1 and CE
2 to communicate with each other.
Configuration procedure
1. Configure CE 1:
# Configure the link protocol type as PPP on interface Serial 2/1/0 (the interface connected to the
PE), and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface serial 2/1/0
[CE1-Serial2/1/0] link-protocol ppp
S2/1/0
100.1.1.1/24
S2/1/0
S2/1/0
100.1.1.2/24
S2/1/1
Local CCC connection
CE 1
PE
CE 2
Loop0
172.1.1.1/32