358
[PE1-ospf-1] quit
# Configure the P router.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 2.2.2.9 32
[P-LoopBack0] quit
[P] interface pos 2/2/0
[P-Pos2/2/0] ip address 172.1.1.2 24
[P-Pos2/2/0] quit
[P] interface pos 2/2/1
[P-Pos2/2/1] ip address 172.2.1.1 24
[P-Pos2/2/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 2/2/0
[PE2-Pos2/2/0] ip address 172.2.1.2 24
[PE2-Pos2/2/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 enable 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 2/2/0
[PE1-Pos2/2/0] mpls enable
[PE1-Pos2/2/0] mpls ldp enable
[PE1-Pos2/2/0] quit
# Configure the P router.
[P] mpls lsr-id 2.2.2.9
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...