API Guide

3. Configure eBGP neighbor with VLT peer1 and VLT peer2.
Spine1(config)# router bgp 65101
Spine1(config-router-bgp-65101)# router-id 10.1.1.1
Spine1(config-router-bgp-65101)# neighbor 10.0.1.2
Spine1(config-router-neighbor)# remote-as 65201
Spine1(config-router-neighbor)# no shutdown
Spine1(config-router-neighbor)# exit
Spine1(config-router-bgp-65101)# neighbor 10.0.1.3
Spine1(config-router-neighbor)# remote-as 65201
Spine1(config-router-neighbor)# no shutdown
Spine1(config-router-neighbor)# exit
Leaf 1 configuration
1. Configure VLT peering between VLT peer 1 and VLT peer 2.
Leaf1(config)# interface range ethernet1/1/3-1/1/4
Leaf1(conf-range-eth1/1/3-1/1/4)# no switchport
Leaf1(conf-range-eth1/1/3-1/1/4)# exit
Leaf1(config)# vlt-domain 1
Leaf1(conf-vlt-1)# backup destination 192.168.1.2
Leaf1(conf-vlt-1)# discovery-interface ethernet1/1/3-1/1/4
Leaf1(conf-vlt-1)# primary-priority 1
Leaf1(conf-vlt-1)# vlt-mac de:11:de:11:de:11
Leaf1(conf-vlt-1)# peer-routing
Leaf1(conf-vlt-1)# exit
2. Configure VLAN interfaces on which BGP sessions has to be formed with Spine and ToR switches.
Leaf1(config)# interface vlan101
Leaf1(conf-if-vl-101)# ip address 10.0.1.2/29
Leaf1(conf-if-vl-101)# mtu 9216
Leaf1(conf-if-vl-101)# exit
Leaf1(config)# interface vlan201
Leaf1(conf-if-vl-201)# ip address 10.0.2.1/29
Leaf1(conf-if-vl-201)# mtu 9216
Leaf1(conf-if-vl-201)# exit
Leaf1(config)# interface vlan301
Leaf1(conf-if-vl-301)# ip address 10.0.3.1/29
Leaf1(conf-if-vl-301)# mtu 9216
Leaf1(conf-if-vl-301)# exit
3. Configure VLT port-channel with Spine 1.
Leaf1(config)# interface port-channel1
Leaf1(conf-if-po-1)# mtu 9216
Leaf1(conf-if-po-1)# switchport mode trunk
Leaf1(conf-if-po-1)# switchport trunk allowed vlan 101
Leaf1(conf-if-po-1)# vlt-port-channel 1
Leaf1(conf-if-po-1)# exit
Leaf1(config)# interface ethernet1/1/1
Leaf1(conf-if-eth1/1/1)# channel-group 1 mode active
Leaf1(conf-if-eth1/1/1)# exit
4. Configure VLT port-channels with ToR 1 and ToR 2.
Leaf1(config)# interface port-channel2
Leaf1(conf-if-po-2)# mtu 9216
Leaf1(conf-if-po-2)# switchport mode trunk
Leaf1(conf-if-po-2)# switchport trunk allowed vlan 201
Leaf1(conf-if-po-2)# vlt-port-channel 2
Leaf1(conf-if-po-2)# exit
Leaf1(config)# interface ethernet1/1/5
Leaf1(conf-if-eth1/1/5)# channel-group 2 mode active
Leaf1(conf-if-eth1/1/5)# exit
Leaf1(config)# interface port-channel3
Leaf1(conf-if-po-3)# mtu 9216
Leaf1(conf-if-po-3)# switchport mode trunk
Leaf1(conf-if-po-3)# switchport trunk allowed vlan 301
Leaf1(conf-if-po-3)# vlt-port-channel 3
Leaf1(conf-if-po-3)# exit
Layer 3
607