24
[SwitchA-maptbl-dot1p-lp] import 5 export 0
[SwitchA-maptbl-dot1p-lp] import 6 export 0
[SwitchA-maptbl-dot1p-lp] import 7 export 0
[SwitchA-maptbl-dot1p-lp] quit
# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/1.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr byte-count
# Configure WRR on interface Ten-GigabitEthernet 1/0/1:
{ Assign 50% of the interface bandwidth to the FCoE traffic (traffic assigned to queue 1).
{ Assign 50% of the interface bandwidth to Ethernet data traffic (traffic assigned to queue 0).
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af1 group 1 byte-count 1
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr be group 1 byte-count 1
# Assign the other queues to the SP group on interface Ten-GigabitEthernet 1/0/1.
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af2 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af3 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af4 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr ef group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr cs6 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr cs7 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] quit
6. Configure FC and FCoE:
# Configure the switch to operate in FCF mode and create VSAN 10.
[SwitchA] fcoe-mode fcf
[SwitchA] vsan 10
[SwitchA-vsan10] quit
# Create interface VFC 1.
[SwitchA] interface vfc 1
# Configure the mode of VFC 1 as F.
[SwitchA-Vfc1] fc mode f
# Bind VFC 1 to interface Ten-GigabitEthernet 1/0/1.
[SwitchA-Vfc1] bind interface ten-gigabitethernet 1/0/1
# Assign VFC 1 to VSAN 10 as a trunk port.
[SwitchA-Vfc1] port trunk vsan 10
[SwitchA-Vfc1] quit
# Create interface VFC 2.
[SwitchA] interface vfc 2
# Configure the mode of VFC 2 as E.
[SwitchA-Vfc2] fc mode e
# Bind VFC 2 to interface Ten-GigabitEthernet 1/0/2.
[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/0/2
# Assign VFC 2 to VSAN 10 as a trunk port.
[SwitchA-Vfc2] port trunk vsan 10
[SwitchA-Vfc2] quit
# Enable FCoE for VLAN 20, and map VLAN 20 to VSAN 10.
[SwitchA] vlan 20