This section outlines example configuration commands issued to the Dell PowerEdge MX9116n switches. The switches start at their factory default setting. See the Dell SmartFabric OS10 User Guide on the Documentation page of the support site for more information.
To configure the MX9116n switches, perform the following steps.
- Set the switch hostname and management IP address. Configure Spanning Tree and run the command to Include Fabric Management Address in LLDP messages.
- Configure VLT between the switches.
- Configure VLANs.
- Configure port channels to connect to the upstream switches.
- Configure the ports connected to the upstream switches and compute the sleds.
- Configure the uplink-state group.
Use the following commands to configure the hostname, management interface, default gateway, spanning tree and required LLDP settings.
configure terminal
hostname MX9116n-A1
interface mgmt 1/1/1 no ip address dhcp no shutdown ip address 100.67.105.221/24
management route 0.0.0.0/0 100.67.105.254 spanning-tree disable lldp management-addr-tlv ipv4 virtual-ip
| configure terminal
hostname MX9116n-A2
interface mgmt 1/1/1 no ip address dhcp no shutdown ip address 100.67.105.222/24
management route 0.0.0.0/0 100.67.105.254 spanning-tree disable lldp management-addr-tlv ipv4 virtual-ip
|
Configure VLT between switches using the following commands. VLT configuration involves setting a discovery interface range and discovering the VLT peer in the VLT.
Note: The default speed of port groups 1/1/10 through 1/1/12 is 100g-2x (QSFP28-DD 200 GbE connection) which means all the ports from 1/1/35 through 1/1/40 are all 100 GbE ports. Only port groups 1/1/11 and 1/1/12 (ports 1/1/37 through 1/1/40) are used in this example.
interface range ethernet1/1/37-1/1/40 description VLTi no shutdown no switchport
vlt-domain 1 backup destination 100.67.105.222 discovery-interface ethernet 1/1/37-1/1/40
| interface range ethernet1/1/37-1/1/40 description VLTi no shutdown no switchport
vlt-domain 1 backup destination 100.67.105.221 discovery-interface ethernet 1/1/37-1/1/40
|
Configure the required VLANs on each switch as described in the Define VLANs section, and also define the VRRP (Virtual Routing Redundancy Protocol) groups under each VLAN to provide gateway access.
interface vlan1611 description ESXi-MGMT no shutdown ip address 172.16.11.252/24 vrrp-group 11 virtual-address 172.16.11.254
interface vlan1612 description vMotion no shutdown ip address 172.16.12.252/24 vrrp-group 12 virtual-address 172.16.12.254
interface vlan1613 description vSAN no shutdown ip address 172.16.13.252/24
vrrp-group 13 virtual-address 172.16.13.254
interface vlan1614 description app no shutdown ip address 172.16.14.252/24
vrrp-group 14 virtual-address 172.16.14.254
interface vlan1615 description web no shutdown ip address 172.16.15.252/24
vrrp-group 15 virtual-address 172.16.15.254
interface vlan1616 description db no shutdown ip address 172.16.16.252/24
vrrp-group 16 virtual-address 172.16.16.254
| interface vlan1611 description ESXi-MGMT no shutdown ip address 172.16.11.253/24 vrrp-group 11 virtual-address 172.16.11.254
interface vlan1612 description vMotion no shutdown ip address 172.16.12.253/24
vrrp-group 12 virtual-address 172.16.12.254
interface vlan1613 description vSAN no shutdown ip address 172.16.13.253/24
vrrp-group 13 virtual-address 172.16.13.254
interface vlan1614 description app no shutdown ip address 172.16.14.253/24
vrrp-group 14 virtual-address 172.16.14.254
interface vlan1615 description web no shutdown ip address 172.16.15.253/24
vrrp-group 15 virtual-address 172.16.15.254
interface vlan1616 description db no shutdown ip address 172.16.16.253/24 vrrp-group 16 virtual-address 172.16.16.254
|
Configure the port channel that connects to the upstream switches. The LACP protocol is used to create the dynamic LAG. Trunk ports allow tagged VLANs to traverse the trunk link. In this example, the trunk is configured to allow all VLANs. Configure upstream ports and ports connected to compute sleds.
interface port-channel1 description “LACP to ACI” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 vlt-port-channel 1
interface ethernet1/1/41 description “Connection to ACI switches” no shutdown no switchport channel-group 1 mode active flowcontrol receive off
interface ethernet1/1/42 description “Connection to ACI switches” no shutdown no switchport channel-group 1 mode active flowcontrol receive off
interface ethernet 1/1/1 description “Chassis1-Sled1” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 flowcontrol receive off
interface ethernet 1/1/3 description “Chassis1-Sled2” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 flowcontrol receive off
| interface port-channel1 description “LACP to ACI” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 vlt-port-channel 1
interface ethernet1/1/41 description “Connection to ACI switches” no shutdown no switchport channel-group 1 mode active flowcontrol receive off
interface ethernet1/1/42 description “Connection to ACI switches” no shutdown no switchport channel-group 1 mode active flowcontrol receive off
interface ethernet 1/1/1 description “Chassis2-Sled1” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 flowcontrol receive off
interface ethernet 1/1/3 description “Chassis2-Sled2” no shutdown switchport mode trunk switchport access vlan 1 switchport trunk allowed vlan 1611-1616 flowcontrol receive off
|
Configure and enable the uplink-state group for upstream and downstream connections. When the upstream links go down, the switch disables the downstream links.
uplink-state-group 1 enable downstream ethernet1/1/1-1/1/3 upstream port-channel1
| uplink-state-group 1 enable downstream ethernet1/1/1-1/1/3 upstream port-channel1
|