Use Case: ECMP with BGP routing
To configure ECMP with BGP routing protocol, perform the following steps:
Log on to the cluster IP address.
Enable BGP routing protocol.
> enable ns feature bgp
Add VLAN and bind the required interfaces.
> add vlan 985 > bind vlan 985 -ifnum 0/0/1 1/0/1
Add the spotted IP address and bind them to the VLAN.
> add ns ip 10.100.26.14 255.255.255.0 -ownerNode 1 -dynamicRouting ENABLED > add ns ip 10.100.26.15 255.255.255.0 -ownerNode 2 -dynamicRouting ENABLED > bind vlan 985 -ipAddress 10.100.26.10 255.255.255.0
Configure BGP routing protocol on ZebOS using vtysh shell.
> vtysh conf t router bgp 65535 neighbor 10.100.26.1 remote-as 65535
Configure BGP on the external switch. The following sample configurations are provided for the Cisco® Nexus 7000 C7010 Release 5.2(1) switch. Similar configurations must be performed on other switches.
> router bgp 65535 no synchronization bgp log-neighbor-changes neighbor 10.100.26.14 remote-as 65535 neighbor 10.100.26.15 remote-as 65535 no auto-summary dont-capability-negotiate dont-capability-negotiate no dynamic-capability