API Guide

ToR2(config-router-neighbor)# no shutdown
ToR2(config-router-neighbor)# exit
ToR2(config-router-bgp-65201)# neighbor 10.0.2.2
ToR2(config-router-neighbor)# remote-as 65201
ToR2(config-router-neighbor)# no shutdown
ToR2(config-router-neighbor)# exit
Example - Three-tier CLOS topology with eBGP
This section provides a sample three-tier topology with external BGP.
Spine 1 configuration
1. Configure an IP address on leaf-facing interfaces.
Spine1(config)# interface ethernet1/1/1
Spine1(conf-if-eth1/1/1)# description Spine1-Leaf1
Spine1(conf-if-eth1/1/1)# no switchport
Spine1(conf-if-eth1/1/1)# mtu 9216
Spine1(conf-if-eth1/1/1)# ip address 10.1.1.0/31
Spine1(conf-if-eth1/1/1)# exit
Spine1(config)# interface ethernet1/1/2
Spine1(conf-if-eth1/1/2)# description Spine1-Leaf2
Spine1(conf-if-eth1/1/2)# no switchport
Spine1(conf-if-eth1/1/2)# mtu 9216
Spine1(conf-if-eth1/1/2)# ip address 10.1.1.2/31
Spine1(conf-if-eth1/1/2)# exit
Spine1(config)# interface ethernet1/1/3
Spine1(conf-if-eth1/1/3)# description Spine1-Leaf3
Spine1(conf-if-eth1/1/3)# no switchport
Spine1(conf-if-eth1/1/3)# mtu 9216
Spine1(conf-if-eth1/1/3)# ip address 10.1.2.0/31
Spine1(conf-if-eth1/1/3)# exit
Layer 3
611