HPE FlexNetwork HSR6800 Configuration Manual page 253

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Configure OSPF to redistribute routes from BGP on Router B, so that Router C can obtain the route to
8.1.1.0/24.
# Configure BGP to redistribute routes from OSPF on Router B.
[RouterB-bgp] import-route ospf 1
[RouterB-bgp] quit
[RouterB] ospf 1
[RouterB-ospf-1] import-route bgp
[RouterB-ospf-1] quit
# Display the BGP routing table on Router A.
[RouterA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
Network
*>
3.3.3.3/32
*>
8.1.1.0/24
*>
9.1.2.0/24
# Display the routing table on Router C.
[RouterC] display ip routing-table
Routing Tables: Public
Destination/Mask
2.2.2.2/32
3.3.3.3/32
8.1.1.0/24
9.1.1.0/24
9.1.1.2/32
9.1.2.0/24
9.1.2.1/32
127.0.0.0/8
127.0.0.1/32
Verify the configuration:
5.
# Use ping for verification.
[RouterA] ping -a 8.1.1.1 9.1.2.1
PING 9.1.2.1: 56
Reply from 9.1.2.1: bytes=56 Sequence=1 ttl=254 time=15 ms
Reply from 9.1.2.1: bytes=56 Sequence=2 ttl=254 time=31 ms
Reply from 9.1.2.1: bytes=56 Sequence=3 ttl=254 time=47 ms
Reply from 9.1.2.1: bytes=56 Sequence=4 ttl=254 time=46 ms
Reply from 9.1.2.1: bytes=56 Sequence=5 ttl=254 time=47 ms
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
3.1.1.1
0.0.0.0
3.1.1.1
Destinations : 9
Proto
Pre
OSPF
10
Direct 0
O_ASE
150
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
data bytes, press CTRL_C to break
i - internal, s - suppressed, S - Stale
MED
1
0
1
Routes : 9
Cost
NextHop
1
9.1.1.1
0
127.0.0.1
1
9.1.1.1
0
9.1.1.2
0
127.0.0.1
0
9.1.2.1
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
241
LocPrf
PrefVal Path/Ogn
0
0
0
Interface
S2/2/0
InLoop0
S2/2/0
S2/2/0
InLoop0
GE2/1/1
InLoop0
InLoop0
InLoop0
65009?
i
65009?

Advertisement

Table of Contents
loading

Table of Contents