Users Guide

Table Of Contents
2. Configure BGP neighbors. This example uses passive peering which simplifies neighbor configuration.
Spine2(config)# router bgp 65101
Spine2(config-router-bgp-65101)# router-id 10.0.0.2
Spine2(config-router-bgp-65101)# template passive_v4_pod1
Spine2(config-router-template)# remote-as 65201
Spine2(config-router-template)# listen 10.2.1.0/24
Spine2(config-router-template)# exit
Spine2(config-router-bgp-65101)# template passive_v4_pod2
Spine2(config-router-template)# remote-as 65202
Spine2(config-router-template)# listen 10.2.2.0/24
Spine2(config-router-template)# exit
Leaf 1 configuration
1. Configure an IP address on spine-facing interfaces.
Leaf1(config)# interface ethernet1/1/1
Leaf1(conf-if-eth1/1/1)# description Leaf1-Spine1
Leaf1(conf-if-eth1/1/1)# no switchport
Leaf1(conf-if-eth1/1/1)# mtu 9216
Leaf1(conf-if-eth1/1/1)# ip address 10.1.1.1/31
Leaf1(conf-if-eth1/1/1)# exit
Leaf1(config)# interface ethernet1/1/2
Leaf1(conf-if-eth1/1/2)# description Leaf1-Spine2
Leaf1(conf-if-eth1/1/2)# no switchport
Leaf1(conf-if-eth1/1/2)# mtu 9216
Leaf1(conf-if-eth1/1/2)# ip address 10.2.1.1/31
Leaf1(conf-if-eth1/1/2)# exit
2. Configure an IP address on ToR facing interfaces.
Leaf1(config)# interface ethernet1/1/3
Leaf1(conf-if-eth1/1/1)# description Leaf1-ToR1
Leaf1(conf-if-eth1/1/1)# no switchport
Leaf1(conf-if-eth1/1/1)# mtu 9216
Leaf1(conf-if-eth1/1/1)# ip address 10.3.1.0/31
Leaf1(conf-if-eth1/1/1)# exit
3. Configure BGP neighbors.
Leaf1(config)# router bgp 65201
Leaf1(config-router-bgp-65201)# router-id 10.0.1.1
Leaf1(config-router-bgp-65201)# neighbor 10.1.1.0
Leaf1(config-router-neighbor)# remote-as 65101
Leaf1(config-router-neighbor)# no shutdown
Leaf1(config-router-neighbor)# exit
Leaf1(config-router-bgp-65201)# neighbor 10.2.1.0
Leaf1(config-router-neighbor)# remote-as 65101
Leaf1(config-router-neighbor)# no shutdown
Leaf1(config-router-neighbor)# exit
Leaf1(config-router-bgp-65201)# neighbor 10.3.1.1
Leaf1(config-router-neighbor)# remote-as 65301
Leaf1(config-router-neighbor)# no shutdown
Leaf1(config-router-neighbor)# exit
Leaf 2 configuration
1. Configure an IP address on spine-facing interfaces.
Leaf2(config)# interface ethernet1/1/1
Leaf2(conf-if-eth1/1/1)# description Leaf2-Spine1
Leaf2(conf-if-eth1/1/1)# no switchport
Leaf2(conf-if-eth1/1/1)# mtu 9216
Leaf2(conf-if-eth1/1/1)# ip address 10.1.1.3/31
Leaf2(conf-if-eth1/1/1)# exit
Leaf2(config)# interface ethernet1/1/2
Leaf2(conf-if-eth1/1/2)# description Leaf2-Spine2
Leaf2(conf-if-eth1/1/2)# no switchport
Leaf2(conf-if-eth1/1/2)# mtu 9216
Leaf2(conf-if-eth1/1/2)# ip address 10.2.1.3/31
Leaf2(conf-if-eth1/1/2)# exit
656
Layer 3