HP FlexNetwork HSR6600 Configuration Manual page 50

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

Advertisement

<RouterB> system-view
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[RouterB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ospf
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[RouterC-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] network 21.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
[RouterC-ospf-1] quit
# Verify that the routers have learned the routes to each other. This example uses Router A.
[RouterA] display ip routing-table
Destinations : 21
Destination/Mask
0.0.0.0/32
1.1.1.9/32
2.2.2.9/32
3.3.3.9/32
10.1.1.0/24
10.1.1.0/32
10.1.1.1/32
10.1.1.255/32
11.1.1.0/24
11.1.1.0/32
11.1.1.1/32
11.1.1.255/32
20.1.1.0/24
21.1.1.0/24
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32 Direct
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32 Direct
3.
Enable MPLS and IPv4 LDP:
# Configure Router A.
[RouterA] mpls lsr-id 1.1.1.9
[RouterA] mpls ldp
Routes : 21
Proto
Pre Cost
Direct
0
0
Direct
0
0
O_INTRA 10
1
O_INTRA 10
2
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
O_INTRA 10
2
O_INTRA 10
3
Direct
0
0
Direct
0
0
Direct
0
0
0
0
Direct
0
0
Direct
0
0
0
0
40
NextHop
Interface
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.1.1.2
GE1/1/2
10.1.1.2
GE1/1/2
10.1.1.1
GE1/1/2
10.1.1.1
GE1/1/2
127.0.0.1
InLoop0
10.1.1.1
GE1/1/2
11.1.1.1
GE1/1/1
11.1.1.1
GE1/1/1
127.0.0.1
InLoop0
11.1.1.1
GE1/1/1
10.1.1.2
GE1/1/2
10.1.1.2
GE1/1/2
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents