HP 6125G Configuration Manual page 176

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Configure BGP and IGP synchronization:
4.
Configure BGP to redistribute routes from OSPF on Switch B, so that Switch A can obtain the
route to 9.1.2.0/24.
Configure OSPF to redistribute routes from BGP on Switch B, so that Switch C can obtain the
route to 8.1.1.0/24.
# Configure BGP to redistribute routes from OSPF on Switch B.
[SwitchB-bgp] import-route ospf 1
[SwitchB-bgp] quit
[SwitchB] ospf 1
[SwitchB-ospf-1] import-route bgp
[SwitchB-ospf-1] quit
# Display the BGP routing table 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, ^ - 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 Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destinations : 9
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.
[SwitchA] 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
h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
3.1.1.1
0.0.0.0
3.1.1.1
Routes : 9
Proto
Pre
Cost
OSPF
10
1
Direct 0
0
O_ASE
150
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
data bytes, press CTRL_C to break
166
MED
LocPrf
1
0
1
NextHop
9.1.1.1
127.0.0.1
9.1.1.1
9.1.1.2
127.0.0.1
9.1.2.1
127.0.0.1
127.0.0.1
127.0.0.1
PrefVal Path/Ogn
0
65009?
0
i
0
65009?
Interface
Vlan300
InLoop0
Vlan300
Vlan300
InLoop0
Vlan400
InLoop0
InLoop0
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents