Run the following commands to configure the hostname, OOB management IP address, and default gateway.
General settings
Note: The MX I/O Modules run Rapid Per-VLAN Spanning Tree Plus (RPVST+) by default. RPVST+ runs RSTP on each VLAN while RSTP runs a single instance of spanning tree across the default VLAN. The Dell PowerSwitch S4148U-ON used in this example runs SmartFabric OS10 and has RPVST+ enabled by default. See the Spanning Tree Protocol recommendations in the Dell SmartFabric OS10 User Guide for more information. Find the relevant version of the User Guide in the
OME-M and OS10 compatibility and documentation table.
configure terminal
hostname S4148U-Leaf1
interface mgmt 1/1/1 no ip address dhcp no shutdown ip address 100.67.XX.XX/24
management route 0.0.0.0/0 100.67.XX.XX | configure terminal
hostname S4148U-Leaf2
interface mgmt 1/1/1 no ip address dhcp no shutdown ip address 100.67.YY.YY/24
management route 0.0.0.0/0 100.67.YY.YY |
Note: Use the spanning-tree {vlan vlan-id priority priority-value}
command to set the bridge priority for the upstream switches. The bridge priority ranges from 0 to 61440 in increments of 4096. The switch which has lowest bridge priority becomes STP root.
Configure VLANs
Run the commands in this section to configure VLANs. In this deployment example, the VLANs used are VLAN 30 and VLAN 40. Set the MTU as 9216 Bytes.
interface vlan40 mtu 9216 no shutdown | interface vlan30 mtu 9216 no shutdown |
Configure DCBx, NPG, and vFabric
Configure and enable DCBx feature, NPG as a FC feature and vFabric.
Note: Remove all the FC configuration, vFabric global configuration, and vFabric configuration under interface or port channels prior to configuring the FC feature.
dcbx enable feature fc npg vfabric 101 vlan 40 fcoe fcmap 0xEFC00 | dcbx enable feature fc npg vfabric 102 vlan 30 fcoe fcmap 0xEFC01 |
Configure QoS
Configure class-map, policy-map and define QoS parameters. In this example, queue 3 is defined as the Output queue in policy map. The bandwidth is also defined as 50%. Configure the QoS parameters as mentioned in the following example.
class-map type network-qos class_Dot1p_3 match qos-group 3 class-map type queuing map_ETSQueue_0 match queue 0
class-map type queuing map_ETSQueue_3 match queue 3
trust dot1p-map map_Dot1pToGroups qos-group 0 dot1p 0-2,4-7 qos-group 3 dot1p 3 qos-map traffic-class map_GroupsToQueues
queue 0 qos-group 0 queue 3 qos-group 3
policy-map type network-qos policy_Input_PFC
class class_Dot1p_3 pause pfc-cos 3
policy-map type queuing policy_Output_BandwidthPercent
class map_ETSQueue_0 bandwidth percent 50 class map_ETSQueue_3 bandwidth percent 50
system qos
trust-map dot1p map_Dot1pToGroups qos-map traffic-class map_GroupsToQueues | class-map type network-qos class_Dot1p_3 match qos-group 3 class-map type queuing map_ETSQueue_0 match queue 0
class-map type queuing map_ETSQueue_3 match queue 3
trust dot1p-map map_Dot1pToGroups qos-group 0 dot1p 0-2,4-7 qos-group 3 dot1p 3 qos-map traffic-class map_GroupsToQueues
queue 0 qos-group 0 queue 3 qos-group 3
policy-map type network-qos policy_Input_PFC
class class_Dot1p_3 pause pfc-cos 3
policy-map type queuing policy_Output_BandwidthPercent
class map_ETSQueue_0 bandwidth percent 50 class map_ETSQueue_3 bandwidth percent 50
system qos
trust-map dot1p map_Dot1pToGroups qos-map traffic-class map_GroupsToQueues |
Configure interfaces
In this topology, Interface 1/1/1 and 1/1/3 on both leafs are connected to the FC switches. Interfaces 1/1/11 and 1/1/12 are connected to MX9116n FSEs. Configure the interfaces as mentioned below. Make sure to configure port groups before configuring interfaces.
interface fibrechannel 1/1/1 no shutdown vfabric 101
interface ethernet1/1/11 no shutdown switchport access vlan 1 priority-flow-control mode on service-policy input type network-qos policy_Input_PFC service-policy output type queuing policy_Output_BandwidthPercent ets mode on vfabric 101
interface ethernet1/1/12 no shutdown switchport access vlan 1 priority-flow-control mode on service-policy input type network-qos policy_Input_PFC service-policy output type queuing policy_Output_BandwidthPercent ets mode on vfabric 101
end write memory | interface fibrechannel 1/1/1 no shutdown vfabric 102
interface ethernet1/1/11 no shutdown switchport access vlan 1 priority-flow-control mode on service-policy input type network-qos policy_Input_PFC service-policy output type queuing policy_Output_BandwidthPercent ets mode on vfabric 102
interface ethernet1/1/12 no shutdown switchport access vlan 1 priority-flow-control mode on service-policy input type network-qos policy_Input_PFC service-policy output type queuing policy_Output_BandwidthPercent ets mode on vfabric 102
end write memory |