HP 6125XLG Layer 3 - Ip Routing Configuration Manual page 115

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

# Configure Switch B.
[SwitchB] bgp 200
[SwitchB-bgp] peer 11.1.1.2 as 100
[SwitchB-bgp] address-family ipv4 unicast
[SwitchB-bgp-ipv4] import-route ospf
[SwitchB-bgp-ipv4] import-route direct
[SwitchB-bgp ipv4] quit
[SwitchB-bgp] quit
# Configure Switch C.
[SwitchC] bgp 100
[SwitchC-bgp] peer 11.1.1.1 as 200
[SwitchC-bgp] address-family ipv4 unicast
[SwitchC-bgp-ipv4] import-route ospf
[SwitchC-bgp-ipv4]import-route direct
[SwitchC-bgp-ipv4] quit
[SwitchC-bgp] quit
4.
Configure Switch B and Switch C to redistribute BGP routes into OSPF:
# 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 on Switch A.
[SwitchA] display ip routing-table
Destinations : 16
Destination/Mask
0.0.0.0/32
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.0/32
11.2.1.2/32
11.2.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32
5.
Configure route summarization:
Routes : 16
Proto
Pre
Cost
Direct 0
0
OSPF
150
1
OSPF
150
1
OSPF
150
1
OSPF
150
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
103
NextHop
Interface
127.0.0.1
InLoop0
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
11.2.1.2
Vlan100
127.0.0.1
InLoop0
11.2.1.2
Vlan100
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents