HP FlexNetwork HSR6600 Configuration Manual page 251

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure the P device.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 2.2.2.9 32
[P-LoopBack0] quit
[P] interface pos 1/1/0
[P-Pos1/1/0] ip address 172.1.1.2 24
[P-Pos1/1/0] quit
[P] interface pos 1/1/1
[P-Pos1/1/1] ip address 172.2.1.1 24
[P-Pos1/1/1] quit
[P] ospf
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 172.2.1.0 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[P-ospf-1-area-0.0.0.0] quit
[P-ospf-1] quit
# Configure PE 2.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 3.3.3.9 32
[PE2-LoopBack0] quit
[PE2] interface pos 1/1/0
[PE2-Pos1/1/0] ip address 172.2.1.2 24
[PE2-Pos1/1/0] quit
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 172.2.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Execute the display ospf peer command to verify that OSPF adjacencies in Full state have
been established between PE 1, P, and PE 2. Execute the display ip routing-table command
to verify that the PEs have learned the routes to the loopback interfaces of each other. (Details
not shown.)
2.
Configure basic MPLS and MPLS LDP on the MPLS backbone to establish LDP LSPs:
# Configure PE 1.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls ldp
[PE1-ldp] quit
[PE1] interface pos 1/1/0
[PE1-Pos1/1/0] mpls enable
[PE1-Pos1/1/0] mpls ldp enable
[PE1-Pos1/1/0] quit
# Configure the P device.
241

Advertisement

Table of Contents
loading

Table of Contents