Configuring iSCSI Optimization 475
console(config-if)#switchport mode trunk
4
Configure the DCBx port role as auto-downstream. This step
automatically enables PFC and ETS on the ports using the configuration
received from the other switch.
console(config-if)#lldp dcbx port-role auto-down
console(config-if)#exit
5
Enter interface configuration mode for the switch-facing ports and
configure the DCBx port role as auto-up. This step automatically enables
PFC and ETS on the ports using the configuration received from the other
switch.
console(config)#interface range te1/0/16-17
console(config-if)#lldp dcbx port-role auto-up
6
Add the ports to port-channel 1:
console(config-if)#channel-group 1 mode active
console(config-if)#exit
7
Configure the port-channel to be in trunk mode:
console(config)#interface po1
console(config-if)#switchport mode trunk
console(config-if)#exit
To configure a N4000 switch in a lossless DCBX environment where the
switch is directly connected to storage arrays and the CNAs (no other switch
is present), perform the following steps starting from a default configuration:
1
Enter global configuration mode and configure the system MTU on the
switch.
console#configure
console(config)#system jumbo mtu 9216
2
Create VLAN 100. This command also enters the VLAN configuration
mode for VLAN 100.
console(config)#vlan 100
console(config-vlan100)#exit
3
Enable iSCSI CoS. This enables generation of the iSCSI Application
Priority TLV required by the CNAs.
console(config)#iscsi cos enable
4
Map VLAN priority 4 onto traffic class 4.
(config)#classofservice dot1p-mapping 4 4