HP 3600 v2 series Configuration Manual page 118

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

[SwitchC] bgp 100
[SwitchC-bgp] peer 11.1.1.1 as 200
[SwitchC-bgp] import-route ospf
[SwitchC-bgp] import-route direct
[SwitchC-bgp] quit
Configure Switch B and Switch C to redistribute BGP routes into OSPF.
4.
# Configure OSPF to redistribute routes from BGP on Switch B.
[SwitchB] ospf
[SwitchB-ospf-1] import-route bgp
# Configure OSPF to redistribute routes from BGP on Switch C.
[SwitchC] ospf
[SwitchC-ospf-1] import-route bgp
# Display the OSPF routing table of Switch A.
[SwitchA] 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
Configure summary route 10.0.0.0/8 on Switch B and advertise it.
5.
[SwitchB-ospf-1] asbr-summary 10.0.0.0 8
# Display the OSPF routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destinations : 5
Destination/Mask
10.0.0.0/8
11.2.1.0/24
11.2.1.2/32
127.0.0.0/8
127.0.0.1/32
The output shows that routes 10.1.1.0/24, 10.2.1.0/24, 10.3.1.0/24 and 10.4.1.0/24 are summarized
into one route 10.0.0.0/8.
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
Routes : 5
Proto
Pre
Cost
O_ASE
150
2
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
106
NextHop
Interface
11.2.1.1
Vlan100
11.2.1.1
Vlan100
11.2.1.1
Vlan100
11.2.1.1
Vlan100
11.2.1.2
Vlan100
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
NextHop
Interface
11.2.1.1
Vlan100
11.2.1.2
Vlan100
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents