HP HPE FlexNetwork MSR Router Series Configuration Manual page 435

Table of Contents

Advertisement

[CE1-GigabitEthernet2/0/1] ip address 10.1.1.1 24
[CE1-GigabitEthernet2/0/1] quit
2.
Configure CE 2.
<CE2> system-view
[CE2] interface serial 2/1/0
[CE2-Serial2/1/0] link-protocol ppp
[CE2-Serial2/1/0] ip address 10.1.1.2 24
[CE2-Serial2/1/0] quit
3.
Configure PE:
# Enable L2VPN.
<PE> system-view
[PE] l2vpn enable
# Configure the default next hop IP address as 10.1.1.1 on GigabitEthernet 2/0/1 (the interface
connected to CE 1). This interface does not need an IP address.
[PE] interface gigabitethernet 2/0/1
[PE-GigabitEthernet2/0/1] default-nexthop ip 10.1.1.1
[PE-GigabitEthernet2/0/1] quit
# Configure the IPCP proxy IP address as the IP address of CE 1 on Serial 2/1/0 (the interface
connected to CE 2). This interface does not need an IP address.
[PE] interface serial 2/1/0
[PE-Serial2/1/0] link-protocol ppp
[PE-Serial2/1/0] ppp ipcp proxy 10.1.1.1
[PE-Serial2/1/0] quit
# Create a cross-connect group named vpn1, create a cross-connect named vpn1 in the group,
enable interworking for the cross-connect, and bind GigabitEthernet 2/0/1 and Serial 2/1/0 to
the cross-connect.
[PE] xconnect-group vpn1
[PE-xcg-vpn1] connection vpn1
[PE-xcg-vpn1-vpn1] interworking ipv4
[PE-xcg-vpn1-vpn1] ac interface gigabitethernet 2/0/1
[PE-xcg-vpn1-vpn1] ac interface serial 2/1/0
[PE-xcg-vpn1-vpn1] quit
[PE-xcg-vpn1] quit
Verifying the configuration
# Display AC forwarding entries on the PE. The output shows two AC forwarding entries.
[PE] display l2vpn forwarding ac
Total number of cross-connections: 1
Total number of ACs: 2
AC
GE2/0/1
Ser2/1/0
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
Xconnect-group
vpn1
vpn1
425
Link ID
0
1

Advertisement

Table of Contents
loading

Table of Contents