R2511-HP MSR Router Series MPLS Configuration Guide(V5)

65
# Enable L2VPN and MPLS L2VPN.
[PE] l2vpn
[PE-l2vpn] mpls l2vpn
[PE-l2vpn] quit
# Configure serial 2/0.
[PE] interface serial 2/0
[PE-Serial2/0] link-protocol fr
[PE-Serial2/0] fr interface-type dce
[PE-Serial2/0] quit
[PE] interface serial 2/0.1 p2p
[PE-Serial2/0.1] fr dlci 100
[PE-fr-dlci-Serial2/0.1-100] quit
[PE-Serial2/0.1] quit
# Configure ATM 5/0.
[PE] interface atm 5/0.1 p2p
[PE-Atm5/0.1] pvc 100/200
[PE-atm-pvc-Atm5/0.1-100/200] map ip default
[PE-atm-pvc-Atm5/0.1-100/200] quit
[PE-Atm5/0.1] quit
# Create a local CCC connection between CE 1 and CE 2.
[PE] ccc ce1-ce2 interface serial 2/0.1 out-interface atm 5/0.1 ip-interworking
3. Configure CE 2:
# Create a PVC, configure an IP over ATM mapping for the PVC, and assign an IP address for the
ATM P2P subinterface ATM5/0.1.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface atm 5/0.1 p2p
[CE2-Atm5/0.1] pvc 100/200
[CE2-atm-pvc-Atm5/0.1-100/200] map ip 100.1.1.1
[CE2-atm-pvc-Atm5/0.1-100/200] quit
[CE2-Atm5/0.1] ip address 100.1.1.2 24
[CE2-Atm5/0.1] quit
Verifying the configuration
# Verify that a local CCC connection is established and in up state on the PE.
[PE] display ccc
Total ccc vc : 1
Local ccc vc : 1, 1 up
Remote ccc vc : 0, 0 up
***Name : ce1-ce2
Type : local
State : up
Intf1 : Serial2/0.1 (up)
Intf2 : Atm5/0.1 (up)
# Verify that CE 1 and CE 2 can ping each other.
[CE1] ping 100.1.1.2
PING 100.1.1.2: 56 data bytes, press CTRL_C to break