HP HPE FlexNetwork 7500 series Configuration Manual page 333

Table of Contents

Advertisement

BGP local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* >e 8.1.1.0/24
# Display the BGP routing table on Switch C.
[SwitchC] display bgp routing-table ipv4
Total number of routes: 1
BGP local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - dampened, h - history,
Network
i 8.1.1.0/24
The outputs show that Switch A has learned no route to AS 65009, and Switch C has learned
network 8.1.1.0, but the next hop 3.1.1.2 is unreachable. As a result, the route is invalid.
4.
Redistribute direct routes:
Configure BGP to redistribute direct routes on Switch B, so that Switch A can obtain the route to
9.1.1.0/24, and Switch C can obtain the route to 3.1.1.0/24.
# Configure Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp-default] address-family ipv4 unicast
[SwitchB-bgp-default-ipv4] import-route direct
[SwitchB-bgp-default-ipv4] quit
[SwitchB-bgp-default] quit
# Display the BGP routing table on Switch A.
[SwitchA] display bgp routing-table ipv4
Total number of routes: 4
BGP local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* >e 2.2.2.2/32
* >e 3.1.1.0/24
* >
8.1.1.0/24
* >e 9.1.1.0/24
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
3.1.1.2
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
3.1.1.2
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
3.1.1.1
3.1.1.1
8.1.1.1
3.1.1.1
321
MED
LocPrf
0
MED
LocPrf
0
100
MED
LocPrf
0
0
0
0
PrefVal Path/Ogn
0
65008i
PrefVal Path/Ogn
0
65008i
PrefVal Path/Ogn
0
65009?
0
65009?
32768
i
0
65009?

Advertisement

Table of Contents
loading

Table of Contents