This section details the configuration of the S4148F-ON switch used for DCI-Site-3 in this deployment example.
Home > Networking Solutions > Converged and Hyperconverged Solutions > vSAN Networking Solutions > Guides > SmartFabric Services with Multisite vSAN Stretched Cluster Deployment Guide > DCI-Site-3 switch configuration
This section details the configuration of the S4148F-ON switch used for DCI-Site-3 in this deployment example.
Enter configuration mode with the configure terminal command. Configure the hostname, OOB management IP address, and management route as shown.
Note: A management route is only needed if routing is used on the OOB management network.
DCI-Site-3 |
|
Configure VLAN 31 for management traffic and VLAN 33 for vSAN traffic. These VLANs are used for communication with the witness host. Assign an IP address to each VLAN that will serve as the gateway address. This information is from Table 2 in the planning section of this guide. Allow the forwarding of jumbo frames using the mtu 9216 command.
Configure interfaces for connections to the witness host. Ports 1/1/1 and 1/1/2 are configured as L2 trunk ports with VLAN 31 and 33 allowed. Allow the forwarding of jumbo frames using the mtu 9216 command.
Create port channel 20 for the connection to Site 1, configure it as an L3 interface with the no switchport command and specify the IP address from Table 1. Assign interfaces to the port channel, and allow the forwarding of jumbo frames using the mtu 9216 command.
Create port channel 30 for the connection to Site 2 in the same manner.
DCI-Site-3 |
|
Configure a loopback interface to use for the BGP router ID.
Enable Bidirectional Forwarding Detection (BFD). BFD rapidly detects communication failures between two adjacent routers.
Run the router bgp AS_number command to specify the router AS number and enter BGP configuration mode. Specify the IP address used as the router ID.
Configure the BGP ASN with the router bgp command. Use the address that was set for interface loopback0 as the router ID.
Enter address family configuration mode with the address-family ipv4 unicast command. Specify the redistribute connected command to redistribute IPv4 routes from physically connected interfaces.
Specify the first BGP neighbor’s IP address as shown in Table 1. Enter the BGP advertisement interval in seconds. Enable BFD, fast fall-over, and specify the neighbor’s AS number. Repeat this set of commands for each BGP neighbor.
When the configuration is complete, exit configuration mode and save the configuration with the end and write memory commands.
DCI-Site-3 |
|