HP HSR6800 Configuration Manual page 192

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[PE2-LoopBack0] ip address 2.2.2.2 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 2.2.2.2
[PE2] mpls
[PE2-mpls] quit
# Enable MPLS LDP globally.
[PE2] mpls ldp
[PE2-mpls-ldp] quit
# Configure interface serial 2/1/0, so that PE 2 can establish an LDP session with PE 1.
[PE2] interface serial 2/1/0
[PE2-Serial2/1/0] ip address 12.1.1.2 24
[PE2-Serial2/1/0] mpls
[PE2-Serial2/1/0] mpls ldp
[PE2-Serial2/1/0] quit
# Configure OSPF on PE 2.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Enable L2VPN and MPLS L2VPN.
[PE2] l2vpn
[PE2-l2vpn] mpls l2vpn
[PE2-l2vpn] quit
# Create a VC on the interface connected to CE 2. This interface needs no IP address.
[PE2] interface serial 2/1/1
[PE2-Serial2/1/1] mpls l2vc 1.1.1.1 20
[PE2-Serial2/1/1] quit
4.
Configure PE 3:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname PE3
[PE3] interface loopback 0
[PE3-LoopBack0] ip address 3.3.3.3 32
[PE3-LoopBack0] quit
[PE3] mpls lsr-id 3.3.3.3
[PE3] mpls
[PE3-mpls] quit
# Enable MPLS LDP globally.
[PE3] mpls ldp
[PE3-mpls-ldp] quit
# Configure interface serial 2/1/0, so that PE 3 can establish an LDP session with PE 1.
[PE3] interface serial 2/1/0
[PE3-Serial2/1/0] ip address 13.1.1.3 24
[PE3-Serial2/1/0] mpls
[PE3-Serial2/1/0] mpls ldp
184

Advertisement

Table of Contents
loading

Table of Contents