R211x-HP Flexfabric 11900 FCoE Configuration Guide
51
# Apply the QoS policy plcy to the outbound direction of interface Ten-GigabitEthernet 1/0/3.
[SwitchC] interface ten-gigabitethernet 1/0/3
[SwitchC-Ten-GigabitEthernet1/0/3] qos apply policy plcy outbound
[SwitchC-Ten-GigabitEthernet1/0/3] quit
# Map 802.1p priority 3 to local precedence 3 in the outbound direction. (This is the default
mapping, and you can modify the mapping as needed.)
[SwitchC] qos map-table dot1p-lp
[SwitchC-maptbl-out-dot1p-lp] import 3 export 3
[SwitchC-maptbl-out-dot1p-lp] quit
# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/3, and configure queue 3 to use
strict priority (SP) queuing.
[SwitchC] interface ten-gigabitethernet 1/0/3
[SwitchC-Ten-GigabitEthernet1/0/3] qos wrr byte-count
[SwitchC-Ten-GigabitEthernet1/0/3] qos wrr 3 group sp
# Enable interface Ten-GigabitEthernet 1/0/3 to automatically negotiate with its peer to decide
whether to enable PFC, enable PFC for 802.1p priority 3, and configure Ten-GigabitEthernet
1/0/3 to trust the 802.1p priority carried in packets.
[SwitchC-Ten-GigabitEthernet1/0/3] priority-flow-control auto
[SwitchC-Ten-GigabitEthernet1/0/3] priority-flow-control no-drop dot1p 3
[SwitchC-Ten-GigabitEthernet1/0/3] qos trust dot1p
[SwitchC-Ten-GigabitEthernet1/0/3] quit
# Create interface VFC 1, and configure it to operate in E mode.
[SwitchC] interface vfc 1
[SwitchC-Vfc1] fc mode e
# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 1 as a trunk
port.
[SwitchC-Vfc1] bind interface ten-gigabitethernet 1/0/1
[SwitchC-Vfc1] port trunk vsan 1
[SwitchC-Vfc1] quit
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.
[SwitchC] interface ten-gigabitethernet 1/0/1
[SwitchC-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchC-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[SwitchC-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchC] interface vfc 2
[SwitchC-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/0/2, and assign it to VSAN 1 as a trunk
port.
[SwitchC-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchC-Vfc2] port trunk vsan 1
[SwitchC-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.
[SwitchC] interface ten-gigabitethernet 1/0/2
[SwitchC-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchC-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
[SwitchC-Ten-GigabitEthernet1/0/2] quit










