- Login to management console using admin:admin
enable
configure terminal
vlan ###
### is the VLAN id, we use 198 and 199.- Then the terminal will enter VLAN configuration mode, we set name to vlan### with
name ###
exit
VLAN configuration mode- Configure connect ports. For switch with VLAN 199, ethernet ports 1/1, 1/3, 1/5, 1/7 are connected to each server's eth2. For switch with VLAN 198 ethernet ports 1/10, 1/12, 1/14, 1/16 are connected to each server's eth3.
For each connected port, do the following:
switch (config) # interface ethernet 1/1 switchport mode hybrid
switch (config) # interface ethernet 1/1 switchport hybrid allowed-vlan all
Do not configure ports to trunk mode. Won't work!
- Disable flow control (disbled by default):
switch (config) # interface ethernet 1/1-1/2 flowcontrol send off force
switch (config) # interface ethernet 1/1-1/2 flowcontrol receive off force
- Enable PFC on priority 3
switch (config) # dcb priority-flow-control enable
This action might cause traffic loss while shutting down a port with priority-flow-control mode on
Type 'yes' to confirm enable pfc globally: yes
switch (config) # dcb priority-flow-control priority 3 enable
switch (config) # interface ethernet 1/1-1/2 dcb priority-flow-control mode on force
- Configure the NICs following Mellanox documentation.