HP HSR6800 Configuration Manual page 179

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

Configuration procedure
1.
Configure CE 1:
# Configure the link protocol as PPP on interface POS 5/1/0 (the interface connected to PE 1),
and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface pos 5/1/0
[CE1-POS5/1/0] link-protocol ppp
[CE1-POS5/1/0] ip address 100.1.1.1 24
2.
Configure PE 1:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname PE1
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 10.0.0.1 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 10.0.0.1
[PE1] mpls
[PE1-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE1] l2vpn
[PE1-l2vpn] mpls l2vpn
[PE1-l2vpn] quit
# Configure interface POS 5/1/0.
[PE1] interface pos 5/1/0
[PE1-POS5/1/0] link-protocol ppp
[PE1-POS5/1/0] quit
# Configure interface POS 5/1/1, and enable MPLS.
[PE1] interface pos 5/1/1
[PE1-POS5/1/1] link-protocol ppp
[PE1-POS5/1/1] ip address 10.1.1.1 24
[PE1-POS5/1/1] mpls
[PE1-POS5/1/1] quit
# Create a remote connection from CE 1 to CE 2, using the interface connected to CE 1 as the
incoming interface and that connecting the P device as the outgoing interface, setting the
incoming label to 100 and the outgoing label to 200.
[PE1] ccc ce1-ce2 interface pos 5/1/0 in-label 100 out-label 200 out-interface pos
5/1/1
3.
Configure the P device:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname P
[P] interface loopback 0
[P-LoopBack0] ip address 10.0.0.2 32
[P-LoopBack0] quit
[P] mpls lsr-id 10.0.0.2
[P] mpls
[P-mpls] quit
171

Advertisement

Table of Contents
loading

Table of Contents