H3C LS-3100-52P-OVS-H3 Operation Manual page 710

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchB-bgp] import-route ospf 1
[SwitchB-bgp] quit
# Display routing table information on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
8.1.1.0/24
*>
9.1.1.0/24
# Configure OSPF to redistribute routes from BGP on Switch B.
[SwitchB] ospf
[SwitchB-ospf-1] import-route bgp
[SwitchB-ospf-1] quit
# Display routing table information on Switch C.
<SwitchC> display ip routing-table
Routing Tables: Public
Destinations : 7
Destination/Mask
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
5)
Configure route automatic summarization
# Configure route automatic summarization on Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] summary automatic
# Display BGP routing table information on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 2
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
i - internal, s - suppressed, S - Stale
NextHop
0.0.0.0
3.1.1.1
Routes : 7
Proto
Pre
Cost
O_ASE
150
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
i - internal, s - suppressed, S - Stale
1-47
MED
LocPrf
0
0
NextHop
Interface
9.1.1.1
Vlan300
9.1.1.2
Vlan300
127.0.0.1
InLoop0
9.1.2.1
Vlan400
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
PrefVal Path/Ogn
0
i
0
65009?

Advertisement

Chapters

Table of Contents
loading

Table of Contents