HP HSR6800 Configuration Manual page 183

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[PE1-l2vpn] mpls l2vpn
[PE1-l2vpn] quit
# Enable LDP globally.
[PE1] mpls ldp
[PE1-mpls-ldp] quit
# Configure the interface for connecting to the P device, and enable LDP on the interface.
[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] mpls ldp
[PE1-POS5/1/1] quit
# Configure OSPF on PE 1 for establishing LSPs.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 10.1.1.1 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 192.2.2.2 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Create a static VC on the interface connected to CE 1. The interface requires no IP address.
[PE1] interface pos 5/1/0
[PE1-POS5/1/0] link-protocol ppp
[PE1-POS5/1/0] mpls static-l2vc destination 192.3.3.3 transmit-vpn-label 100
receive-vpn-label 200
[PE1-POS5/1/0] quit
3.
Configure the P router:
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname P
[P] interface loopback 0
[P-LoopBack0] ip address 192.4.4.4 32
[P-LoopBack0] quit
[P] mpls lsr-id 192.4.4.4
[P] mpls
[P-mpls] quit
# Enable LDP globally.
[P] mpls ldp
[P-mpls-ldp] quit
# Configure the interface connected with PE 1, and enable LDP on the interface.
[P] interface pos 5/1/1
[P-POS5/1/1] link-protocol ppp
[P-POS5/1/1] ip address 10.1.1.2 24
[P-POS5/1/1] mpls
[P-POS5/1/1] mpls ldp
[P-POS5/1/1] quit
# Configure the interface connected with PE 2, and enable LDP on the interface.
[P] interface pos 5/1/0
[P-POS5/1/0] link-protocol ppp
175

Advertisement

Table of Contents
loading

Table of Contents