API Guide

3. Configure the host facing VLAN and add host connected interfaces to it.
ToR1(config)# interface vlan2001
ToR1(conf-if-vl-2001)# ip address 172.16.1.1/24
ToR1(conf-if-vl-2001)# mtu 9216
ToR1(conf-if-vl-2001)# exit
ToR1(config)# interface ethernet1/1/3
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 2001
ToR1(conf-if-eth1/1/3)# exit
4. Configure the iBGP neighbor with VLT peers and advertise the host subnet.
ToR1(config)# router bgp 65201
ToR1(config-router-bgp-65201)# router-id 10.3.1.1
ToR1(config-router-bgp-65201)# 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-65201)# neighbor 10.0.2.1
ToR1(config-router-neighbor)# remote-as 65201
ToR1(config-router-neighbor)# no shutdown
ToR1(config-router-neighbor)# exit
ToR1(config-router-bgp-65201)# neighbor 10.0.2.2
ToR1(config-router-neighbor)# remote-as 65201
ToR1(config-router-neighbor)# no shutdown
ToR1(config-router-neighbor)# exit
ToR 2 configuration
1. Configure a VLAN interface on which the BGP session has to be formed with VLT peers.
ToR2(config)# interface vlan301
ToR2(conf-if-vl-201)# mtu 9216
ToR2(conf-if-vl-201)# ip address 10.0.3.3/29
ToR2(conf-if-vl-201)# exit
2. Configure a port channel interface between ToR2 and VLT peers. Add it as part of the above created VLAN.
ToR2(config)# interface port-channel3
ToR2(conf-if-po-1)# mtu 9216
ToR2(conf-if-po-1)# switchport mode trunk
ToR2(conf-if-po-1)# switchport trunk allowed vlan 301
ToR2(conf-if-po-1)# exit
ToR2(config)# interface ethernet1/1/1
ToR2(conf-if-eth1/1/1)# channel-group 3 mode active
ToR2(conf-if-eth1/1/1)# exit
ToR2(config)# interface ethernet1/1/2
ToR2(conf-if-eth1/1/2)# channel-group 3 mode active
ToR2(conf-if-eth1/1/2)# exit
3. Configure the host facing VLAN and add host connected interfaces to it.
ToR2(config)# interface vlan3001
ToR2(conf-if-vl-2001)# mtu 9216
ToR2(conf-if-vl-2001)# ip address 172.16.2.1/24
ToR2(conf-if-vl-2001)# exit
ToR2(config)# interface ethernet1/1/3
ToR2(conf-if-eth1/1/3)# mtu 9216
ToR2(conf-if-eth1/1/3)# switchport mode trunk
ToR2(conf-if-eth1/1/3)# switchport trunk allowed vlan 3001
ToR2(conf-if-eth1/1/3)# exit
4. Configure the iBGP neighbor with VLT peers and advertise the host subnet.
ToR2(config)# router bgp 65201
ToR2(config-router-bgp-65201)# router-id 10.3.1.2
ToR2(config-router-bgp-65201)# address-family ipv4 unicast
ToR2(configure-router-bgpv4-af)# network 172.16.2.0/24
ToR2(configure-router-bgpv4-af)# exit
ToR2(config-router-bgp-65201)# neighbor 10.0.2.1
ToR2(config-router-neighbor)# remote-as 65201
610
Layer 3