H3C S5800 Series Configuration Manual page 270

Layer 3 - ip routing
Hide thumbs Also See for S5800 Series:
Table of Contents

Advertisement

that Switch A can access network 9.1.2.0/24 in AS 65009, and Switch C can access network 8.1.1.0/24
in AS 65008.
Figure 6-21 Network diagram for BGP and IGP synchronization
Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure OSPF
Enable OSPF in AS 65009, so that Switch B can obtain the route to 9.1.2.0/24.
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ospf 1
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[SwitchB-ospf-1-area-0.0.0.0] network 9.1.1.0 0.0.0.255
[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
3)
Configure the eBGP connection
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
4)
Configure BGP and IGP synchronization
6-53

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820x series

Table of Contents