HP HSR6800 Configuration Manual page 177

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface serial 2/1/0
[CE1-Serial2/1/0] link-protocol ppp
[CE1-Serial2/1/0] ip address 100.1.1.1 24
2.
Configure the PE:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname PE
[PE] interface loopback 0
[PE-LoopBack0] ip address 172.1.1.1 32
[PE-LoopBack0] quit
[PE] mpls lsr-id 172.1.1.1
[PE] mpls
[PE-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE] l2vpn
[PE-l2vpn] mpls l2vpn
[PE-l2vpn] quit
# Configure the link protocol type of interface Serial 2/1/0 as PPP.
[PE] interface serial 2/1/0
[PE-Serial2/1/0] link-protocol ppp
[PE-Serial2/1/0] quit
# Configure the link protocol type of interface Serial 2/1/1 as PPP.
[PE] interface serial 2/1/1
[PE-Serial2/1/1] link-protocol ppp
[PE-Serial2/1/1] quit
# Create a local connection between CE 1 and CE 2.
[PE] ccc ce1-ce2 interface serial 2/1/0 out-interface serial 2/1/1
3.
Configure CE 2:
# Configure the link protocol type of interface Serial 2/1/0 (the interface connected to the PE) as
PPP, and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface serial 2/1/0
[CE2-Serial2/1/0] link-protocol ppp
[CE2-Serial2/1/0] ip address 100.1.1.2 24
Verifying the configuration:
# Execute the display ccc command on the PE to display CCC connection information. The
output shows that a local CCC connection has been established.
[PE] display ccc
Total
Local
Remote ccc vc
***Name
Type
State
ccc vc
: 1
ccc vc
: 1,
: 0,
: ce1-ce2
: local
: up
1 up
0 up
169

Advertisement

Table of Contents
loading

Table of Contents