Users Guide

3. Configure BGP neighbors.
Leaf4(config)# router bgp 65202
Leaf4(config-router-bgp-65202)# router-id 10.0.1.4
Leaf4(config-router-bgp-65202)# neighbor 10.1.2.2
Leaf4(config-router-neighbor)# remote-as 65101
Leaf4(config-router-neighbor)# no shutdown
Leaf4(config-router-neighbor)# exit
Leaf4(config-router-bgp-65202)# neighbor 10.2.2.2
Leaf4(config-router-neighbor)# remote-as 65101
Leaf4(config-router-neighbor)# no shutdown
Leaf4(config-router-neighbor)# exit
Leaf4(config-router-bgp-65202)# neighbor 10.6.1.1
Leaf4(config-router-neighbor)# remote-as 65302
Leaf4(config-router-neighbor)# no shutdown
Leaf4(config-router-neighbor)# exit
ToR 1 configuration
1. Configure an IP address on leaf-facing interfaces.
ToR1(config)# interface ethernet1/1/1
ToR1(conf-if-eth1/1/1)# description ToR1-Leaf1
ToR1(conf-if-eth1/1/1)# no switchport
ToR1(conf-if-eth1/1/1)# mtu 9216
ToR1(conf-if-eth1/1/1)# ip address 10.3.1.1/31
ToR1(conf-if-eth1/1/1)# exit
ToR1(config)# interface ethernet1/1/2
ToR1(conf-if-eth1/1/2)# description ToR1-Leaf2
ToR1(conf-if-eth1/1/2)# no switchport
ToR1(conf-if-eth1/1/2)# mtu 9216
ToR1(conf-if-eth1/1/2)# ip address 10.4.1.1/31
ToR1(conf-if-eth1/1/2)# exit
2. Configure a VLAN interface and a VLAN member for the end hosts.
ToR1(config)# interface vlan 1001
ToR1(conf-if-vl-1001)# ip address 172.16.1.1/24
ToR1(conf-if-vl-1001)# mtu 9216
ToR1(conf-if-vl-1001)# exit
ToR1(config)# interface ethernet1/1/3
ToR1(conf-if-eth1/1/3)# description ToR1-Hosts
ToR1(conf-if-eth1/1/3)# mtu 9216
ToR1(conf-if-eth1/1/3)# switchport mode trunk
ToR1(conf-if-eth1/1/3)# switchport trunk allowed vlan 1001
ToR1(conf-if-eth1/1/3)# exit
3. Configure BGP neighbors, and advertise the host subnet.
ToR1(config)# router bgp 65301
ToR1(config-router-bgp-65301)# router-id 10.0.2.1
ToR1(config-router-bgp-65301)# address-family ipv4 unicast
ToR1(configure-router-bgpv4-af)# network 172.16.1.0/24
ToR1(configure-router-bgpv4-af)# exit
ToR1(config-router-bgp-65301)# neighbor 10.3.1.0
ToR1(config-router-neighbor)# remote-as 65201
ToR1(config-router-neighbor)# no shutdown
ToR1(config-router-neighbor)# exit
ToR1(config-router-bgp-65301)# neighbor 10.4.1.0
ToR1(config-router-neighbor)# remote-as 65201
ToR1(config-router-neighbor)# no shutdown
ToR1(config-router-neighbor)# exit
ToR 2 configuration
1. Configure an IP address on leaf-facing interfaces.
ToR2(config)# interface ethernet1/1/1
ToR2(conf-if-eth1/1/1)# description ToR2-Leaf3
ToR2(conf-if-eth1/1/1)# no switchport
ToR2(conf-if-eth1/1/1)# mtu 9216
ToR2(conf-if-eth1/1/1)# ip address 10.5.1.1/31
Layer 3
833