HP MSR2000 series Configuration Manual page 245

Hide thumbs Also See for MSR2000 series:
Table of Contents

Advertisement

[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf 1
[SwitchC-ospf-1] import-route direct
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
Configure the EBGP connection:
3.
Configure the EBGP connection and inject network 8.1.1.0/24 to the BGP routing table of Switch
A, so that Switch B can obtain the route to 8.1.1.0/24.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 3.1.1.1 as-number 65009
[SwitchA-bgp] network 8.1.1.0 24
[SwitchA-bgp] quit
# Configure Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 3.1.1.2 as-number 65008
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
h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
232
MED
LocPrf
PrefVal Path/Ogn

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000 seriesMsr4000 series

Table of Contents