This section shows example configurations for both external switches for L3-routed connections to the SmartFabric.
General settings
Configure the hostname, OOB management IP address, and management route.
External-A | External-B |
|
|
Configure VLANs
VLAN 1911 represents a preexisting management VLAN on the external network. DNS and NTP services are located on this VLAN. Assign a unique IP address to the VLAN on each switch.
Configure VRRP to provide gateway redundancy. Set the VRRP priority. The switch with the highest priority value becomes the master VRRP router. Assign the same virtual address to both switches.
External-A | External-B |
|
|
Configure interfaces
Configure the interfaces for connections to the SFS switches. Ports 1/1/51 and 1/1/52 are configured as L3 interfaces. The IP addresses used are from Table 1. Optionally, use the MTU 9216 command to allow the forwarding of jumbo frames. As a best practice, leave the flow control settings at their factory defaults.
In this example, VLT port channel 1 connects to the DNS/NTP server on VLAN 1911, which represents the preexisting management VLAN, and the port channel is configured as a spanning tree edge port.
Interface 1/1/1 on each external switch is configured in VLT port-channel 1 for connections to the DNS/NTP server. Use the channel-group 1 mode active command to set port channel 1 as an LACP port channel.
External-A | External-B |
|
|
Configure VLT
This example uses interfaces 1/1/49 and 1/1/50 for the VLTi. Use the no switchport command to remove each interface from L2 mode.
Create the VLT domain. The backup destination is the OOB management IP address of the VLT peer switch. Use the discovery-interface command to configure the interfaces used as the VLTi.
As a best practice, use the vlt-mac command to manually configure the same VLT MAC address on both the VLT peer switches. This improves VLT convergence time when a switch is reloaded.
If you do not configure a VLT MAC address, the MAC address of the primary peer is used as the VLT MAC address on both switches.
When the configuration is complete, exit configuration mode and save the configuration by using the end and write memory commands.
External-A | External-B |
|
|
Configure BGP
Configure a loopback interface to use for the BGP router ID.
Configure the BGP ASN with the router bgp command. The external switches share the same ASN. Use the address that was set for interface loopback0
as the router ID.
Use the address-family ipv4 unicast and redistribute connected commands to redistribute IPv4 routes from physically connected interfaces.
Configure the neighbor IP addresses and ASNs.
VLAN 4000 is used for the iBGP connection between the external switches. VLAN4000 IP addresses are configured per Table 1.
When the configuration is completed, exit configuration mode and save the configuration by using the end and write memory commands.
External-A | External-B |
|
|
Configure static routes
Configure two routes to the external management network at 172.18.11.0/24, one to the connected IP address of Leaf1A, and one to Leaf1B.
When the configuration is complete, exit configuration mode and save the configuration with by using the end and write memory commands.
External-A | External-B |
|
|