No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Guide for Interworking Between HUAWEI CloudFabric Solution and Redhat OpenStack

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring BGP EVPN and OSPF on Switches

Configuring BGP EVPN and OSPF on Switches

Configuration for the Agile Controller-DCN V300R002 (Network Overlay Scenario)

Set related parameters on switches and the gateway to control VXLAN access, provide automatic VXLAN tunnel discovery, discover host information (host IP address, host MAC address, and host ARP), and support synchronization of network segment routing information, implementing route isolation through VNIs in the route information. As a result, manual configuration is reduced and flooding is avoided, which provides conditions for ARP broadcast suppression.

Configurations on TOR1:

[~ToR1] evpn-overlay enable
[*ToR1] commit
[~ToR1] bgp 100
[~ToR1-bgp] display this
#
bgp 100
router-id 1.1.1.2
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb
return
[~TOR1-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
#

Configurations on TOR2:

[~ToR2] evpn-overlay enable
[*ToR2] commit
[~ToR2] bgp 100
[~TOR2-bgp] display this
#
bgp 100
router-id 1.1.1.3
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.2 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb

#
Return
[~TOR2-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.88.0 0.0.0.255
#

Configurations on TOR3:

[~ToR3] evpn-overlay enable
[*ToR3] commit
[~ToR3] bgp 100
[~TOR3-bgp] display this
#
bgp 100
router-id 1.1.1.5
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.2 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
#
Return
[~TOR3-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
#

Configurations on the gateway:

[~GW] evpn-overlay enable
[*GW] commit
[~GW] bgp 100
[~GW-bgp] display this
#
bgp 100
router-id 1.1.1.1
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.2 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.2 reflect-client
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.3 reflect-client
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.4 reflect-client
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb
peer 1.1.1.5 reflect-client
#
return
[~GW] ospf 1
[~GW-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
#

Configuration for the Agile Controller-DCN V300R003 (Hybrid Overlay Scenario)

Set related parameters on switches and the gateway to control VXLAN access, provide automatic VXLAN tunnel discovery, discover host information (host IP address, host MAC address, and host ARP), and support synchronization of network segment routing information, implementing route isolation through VNIs in the route information. As a result, manual configuration is reduced and flooding is avoided, which provides conditions for ARP broadcast suppression.

Configurations on TOR1:

[~ToR1] evpn-overlay enable
[*ToR1] commit
[~ToR1] bgp 100
[~ToR1-bgp] display this
#
bgp 100
router-id 1.1.1.2
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
peer 192.168.88.81 as-number 100
peer 192.168.88.81 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
peer 192.168.88.81 enable
#
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb
peer 192.168.88.81 enable
peer 192.168.88.81 advertise irb
#
return
[~TOR1-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.88.0 0.0.0.255
#

Configurations on TOR2:

[~ToR2] evpn-overlay enable
[*ToR2] commit
[~ToR2] bgp 100
[~TOR2-bgp] display this
#
bgp 100
router-id 1.1.1.3
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
peer 192.168.88.81 as-number 100
peer 192.168.88.81 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.2 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
peer 192.168.88.81 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb
peer 192.168.88.81 enable
peer 192.168.88.81 advertise irb
#
Return
[~TOR2-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.88.0 0.0.0.255
#

Configurations on TOR3:

[~ToR3] evpn-overlay enable
[*ToR3] commit
[~ToR3] bgp 100
[~TOR3-bgp] display this
#
bgp 100
router-id 1.1.1.5
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 192.168.88.81 as-number 100
peer 192.168.88.81 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.1 enable
peer 1.1.1.2 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
peer 192.168.88.81 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 192.168.88.81 enable
peer 192.168.88.81 advertise irb
#
Return
[~TOR3-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.88.0 0.0.0.255
#

Configurations on the gateway:

[~GW] evpn-overlay enable
[*GW] commoit
[~GW] bgp 100
[~GW-bgp] display this
#
bgp 100
router-id 1.1.1.1
peer 1.1.1.2 as-number 100
peer 1.1.1.2 connect-interface LoopBack0
peer 1.1.1.3 as-number 100
peer 1.1.1.3 connect-interface LoopBack0
peer 1.1.1.4 as-number 100
peer 1.1.1.4 connect-interface LoopBack0
peer 1.1.1.5 as-number 100
peer 1.1.1.5 connect-interface LoopBack0
peer 192.168.88.81 as-number 100
peer 192.168.88.81 connect-interface LoopBack0
#
ipv4-family unicast
peer 1.1.1.2 enable
peer 1.1.1.3 enable
peer 1.1.1.4 enable
peer 1.1.1.5 enable
peer 192.168.88.81 enable
#

l2vpn-family evpn
policy vpn-target
peer 1.1.1.2 enable
peer 1.1.1.2 advertise irb
peer 1.1.1.2 reflect-client
peer 1.1.1.3 enable
peer 1.1.1.3 advertise irb
peer 1.1.1.3 reflect-client
peer 1.1.1.4 enable
peer 1.1.1.4 advertise irb
peer 1.1.1.4 reflect-client
peer 1.1.1.5 enable
peer 1.1.1.5 advertise irb
peer 1.1.1.5 reflect-client
peer 192.168.88.81 enable
peer 192.168.88.81 advertise irb
peer 192.168.88.81 reflect-client
#
return
[~GW]ospf 1
[~GW-ospf-1] display this
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
network 172.24.53.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.88.0 0.0.0.255

Download
Updated: 2019-03-25

Document ID: EDOC1100072313

Views: 2532

Downloads: 17

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next