Use the commands provided in this section to configure the hostname, OOB management IP address, and default gateway.
General settings
Note: The default spanning tree settings are used in this deployment. In SmartFabric OS10, RPVST+ is enabled by default. The RPVST+ VLAN priority numbers start at 32769. If required, modify the spanning tree settings for your environment. It is recommended that LLDP is left as enabled on each interface.
configure terminal
hostname S5232F-Leaf1A
interface mgmt1/1/1
no ip address
ip address 100.67.XX.XX/24
no shutdown
management route 0.0.0.0/0 100.67.XX.XX |
configure terminal
hostname S5232F-Leaf1B
interface mgmt1/1/1
no ip address
ip address 100.67.YY.YY/24
no shutdown
management route 0.0.0.0/0 100.67.YY.YY |
Configure VLTi
Configure the VLT between switches using the following commands. VLT configuration involves setting a discovery interface range and discovering the VLT peer in the VLTi. The vlt-domain command configures the peer leaf-2 switch as a back-up destination.
interface range ethernet1/1/29-1/1/31
description VLTi
no shutdown
no switchport
vlt-domain 1
backup destination 100.67.YY.YY
discovery-interface ethernet1/1/29-1/1/31
|
interface range ethernet1/1/29-1/1/31
description VLTi
no shutdown
no switchport
vlt-domain 1
backup destination 100.67.XX.XX
discovery-interface ethernet1/1/29-1/1/31
|
Configure VLANs
Run the commands in this section to configure the VLANs. These commands allow you to create the ESXi Management VLAN, assign a unique IP address on each switch, configure the Virtual Router Redundancy Protocol (VRRP) to provide gateway redundancy, and set the VRRP priority.
Note: The switch with the largest priority value becomes the primary VRRP router. Assign the same virtual address to both switches.
Similar commands are then used to create the ESXi Management, vMotion, vSAN, and VM Network VLANs.
interface vlan1611
description ESXi_Mgmt
no shutdown
mtu 9216
ip address 172.16.11.253/24
vrrp-group 11
priority 150
virtual-address 172.16.11.254
interface vlan1612
description vMotion
no shutdown
mtu 9216
ip address 172.16.12.253/24
vrrp-group 12
priority 150
virtual-address 172.16.12.254
interface vlan1613
description vSAN
no shutdown
mtu 9216
ip address 172.16.13.253/24
vrrp-group 13
priority 150
virtual-address 172.16.13.254
interface vlan1614
description Web_VM_Network
no shutdown
mtu 9216
ip address 172.16.14.253/24
vrrp-group 14
priority 150
virtual-address 172.16.14.254
interface vlan1615
description APP_VM_Network
no shutdown
mtu 9216
ip address 172.16.15.253/24
vrrp-group 15
priority 150
virtual-address 172.16.15.254
interface vlan1616
description DB_VM_Network
no shutdown
mtu 9216
ip address 172.16.16.253/24
vrrp-group 16
priority 150
virtual-address 172.16.16.254 |
interface vlan1611
description ESXi_Mgmt
no shutdown
mtu 9216
ip address 172.16.11.252/24
vrrp-group 11
priority 100
virtual-address 172.16.11.254
interface vlan1612
description vMotion
no shutdown
mtu 9216
ip address 172.16.12.252/24
vrrp-group 12
priority 100
virtual-address 172.16.12.254
interface vlan1613
description vSAN
no shutdown
mtu 9216
ip address 172.16.13.252/24
vrrp-group 13
priority 150
virtual-address 172.16.13.254
interface vlan1614
description Web_VM_Network
no shutdown
mtu 9216
ip address 172.16.14.252/24
vrrp-group 14
priority 100
virtual-address 172.16.14.254
interface vlan1615
description APP_VM_Network
no shutdown
mtu 9216
ip address 172.16.15.252/24
vrrp-group 15
priority 100
virtual-address 172.16.15.254
interface vlan1616
description DB_VM_Network
no shutdown
mtu 9216
ip address 172.16.16.252/24
vrrp-group 16
priority 100
virtual-address 172.16.16.254 |
Configure the switch interconnect and VLTi
Once the SmartFabric has been created on the PowerEdge MX system, create port-channel 1 on the S5232F-ON leaf switches to connect to the MX9116n FSE.
Note: Ports 1/1/1 and 1/1/3 on the S5232-ON switches are added to the port channel in the next section.
Use the switchport mode trunk
command to enable the port channel to carry traffic for multiple VLANs, and allow all VLANs on the port channel.
Use the 100 GbE interfaces for the port channel in a VLTi. The VLTi ports are 1/1/29 and 1/1/31 for both switches in this example. Add each interface connecting to an MX environment to the port channel as LACP active members using the channel-group 1 mode active
command.
interface port-channel 1
description To_MX_Chassis
no shutdown
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
vlt-port-channel 1
interface ethernet1/1/29
description To_Leaf_1B
no shutdown
no switchport
mtu 9216
interface ethernet1/1/31
description To_Leaf_1B
no shutdown
no switchport
mtu 9216 |
interface port-channel 1
description To_MX_Chassis
no shutdown
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
vlt-port-channel 1
interface ethernet1/1/29
description To_Leaf_1A
no shutdown
no switchport
mtu 9216
interface ethernet1/1/31
description To_Leaf_1A
no shutdown
no switchport
mtu 9216 |
Configure interfaces
In this topology, Interface 1/1/5 on both leafs is connected to two R730xd servers and one R730xd jump box. Interfaces 1/1/1 and 1/1/3 are connected to MX9116n FSEs on interface 1/1/41 and 1/1/42.
Configure port-group breakout on Interface 1/1/5 by using the commands below.
S5232F-Leaf1A# configure terminal
S5232F-Leaf1A(config)# port-group 1/1/2
S5232F-Leaf1A(conf-pg-1/1/2)# mode eth 25g-4x
Use the switchport mode trunk command to enable ports to carry traffic for multiple VLANs. Configure the ports as trunk (tagged) ports on VLANs 1611 through 1616 (the ESXi Management, vMotion, vSAN, and VM Network VLANs).
Interfaces 1/1/1 and 1/1/3 are added into the port channel as LACP active members.
When the configuration is complete, exit configuration mode and save the configuration with the end and write memory commands.
interface ethernet1/1/5:1
description R730xd_Management
no shutdown
fec off
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
interface ethernet1/1/5:2
description R730xd
no shutdown
fec off
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
interface ethernet1/1/5:3
description Jumpbox
no shutdown
fec off
switchport access vlan 1611
mtu 9216
interface ethernet1/1/1
description To_MX_Chassis
no shutdown
channel-group mode 1 active
no switchport
mtu 9216
interface ethernet1/1/3
description To_MX_Chassis
no shutdown
channel-group mode 1 active
no switchport
mtu 9216
end
write memory |
interface ethernet1/1/5:1
description R730xd_Management
no shutdown
fec off
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
interface ethernet1/1/5:2
description R730xd
no shutdown
fec off
switchport access vlan 1
switchport mode trunk
switchport trunk allowed vlan 1611-1616
mtu 9216
interface ethernet1/1/5:3
description Jumpbox
no shutdown
fec off
switchport access vlan 1611
mtu 9216
interface ethernet1/1/1
description To_MX_Chassis
no shutdown
channel-group mode 1 active
no switchport
mtu 9216
interface ethernet1/1/3
description To_MX_Chassis
no shutdown
channel-group mode 1 active
no switchport
mtu 9216
end
write memory |