HP MSR Series Configuration Manual page 103

Layer 3 - ip routing
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

[RouterD-ospf-1] area 0
[RouterD-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] quit
# Configure Router E.
<RouterE> system-view
[RouterE] ospf
[RouterE-ospf-1] area 0
[RouterE-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[RouterE-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.255
[RouterE-ospf-1-area-0.0.0.0] quit
[RouterE-ospf-1] quit
3.
Configure BGP to redistribute OSPF routes and direct routes:
# Configure Router B.
[RouterB] bgp 200
[RouterB-bgp] peer 11.1.1.2 as-number 100
[RouterB-bgp] import-route ospf
[RouterB-bgp] import-route direct
[RouterB-bgp] quit
# Configure Router C.
[RouterC] bgp 100
[RouterC-bgp] peer 11.1.1.1 as-number 200
[RouterC-bgp] import-route ospf
[RouterC-bgp] import-route direct
[RouterC-bgp] quit
4.
Configure Router B and Router C to redistribute BGP routes into OSPF:
# Configure OSPF to redistribute routes from BGP on Router B.
[RouterB] ospf
[RouterB-ospf-1] import-route bgp
# Configure OSPF to redistribute routes from BGP on Router C.
[RouterC] ospf
[RouterC-ospf-1] import-route bgp
# Display the routing table of Router A.
[RouterA] display ip routing-table
Routing Tables: Public
Destinations : 8
Destination/Mask
10.1.1.0/24
10.2.1.0/24
10.3.1.0/24
10.4.1.0/24
11.2.1.0/24
11.2.1.2/32
127.0.0.0/8
127.0.0.1/32
Routes : 8
Proto
Pre
Cost
O_ASE
150
1
O_ASE
150
1
O_ASE
150
1
O_ASE
150
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
91
NextHop
Interface
11.2.1.1
Eth1/1
11.2.1.1
Eth1/1
11.2.1.1
Eth1/1
11.2.1.1
Eth1/1
11.2.1.2
Eth1/1
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents