HP 6125XLG Configuration Manual page 39

Blade switch fcoe configuration guide
Table of Contents

Advertisement

[SwitchA] acl number 4000
[SwitchA-acl-ethernetframe-4000] rule permit type 8906 ffff
[SwitchA-acl-ethernetframe-4000] rule permit type 8914 ffff
[SwitchA-acl-ethernetframe-4000] quit
# Create a class named app_c with the logic OR operator, and specify ACL 4000 as the match
criterion.
[SwitchA] traffic classifier app_c operator or
[SwitchA-classifier-app_c] if-match acl 4000
[SwitchA-classifier-app_c] quit
# Create a behavior named app_b, and configure the action of marking packets with 802.1p
priority 3.
[SwitchA] traffic behavior app_b
[SwitchA-behavior-app_b] remark dot1p 3
[SwitchA-behavior-app_b] quit
# Create a QoS policy named plcy, and associate the class app_c with the behavior app_b in the
QoS policy, specifying that the class-behavior association applies only to DCBX.
[SwitchA] qos policy plcy
[SwitchA-qospolicy-plcy] classifier app_c behavior app_b mode dcbx
[SwitchA-qospolicy-plcy] quit
# Apply the QoS policy plcy to the outbound direction of interface Ten-GigabitEthernet 1/1/5.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] qos apply policy plcy outbound
[SwitchA-Ten-GigabitEthernet1/1/5] quit
# Configure the mapping from 802.1p priority 3 to local precedence 3 in the outbound direction.
(This is the default, and you can modify the mapping as needed.)
[SwitchA] qos map-table dot1p-lp
[SwitchA-maptbl-out-dot1p-lp] import 3 export 3
[SwitchA-maptbl-out-dot1p-lp] quit
# Enable byte-count WRR on interface Ten-GigabitEthernet 1/1/5, and configure queue 3 to use
SP queuing.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] qos wrr byte-count
[SwitchA-Ten-GigabitEthernet1/1/5] qos wrr 3 group sp
# Enable interface Ten-GigabitEthernet 1/1/5 to automatically negotiate with its peer to decide
whether to enable PFC, enable PFC for 802.1p priority 3, and configure Ten-GigabitEthernet
1/1/5 to trust the 802.1p priority carried in packets.
[SwitchA-Ten-GigabitEthernet1/1/5] priority-flow-control auto
[SwitchA-Ten-GigabitEthernet1/1/5] priority-flow-control no-drop dot1p 3
[SwitchA-Ten-GigabitEthernet1/1/5] qos trust dot1p
[SwitchA-Ten-GigabitEthernet1/1/5] quit
# Create interface VFC 1, configure it to operate in F mode, bind it to interface
Ten-GigabitEthernet 1/1/5, and assign it to VSAN 1 as a trunk port.
[SwitchA] interface vfc 1
[SwitchA-Vfc1] fc mode f
[SwitchA-Vfc1] bind interface ten-gigabitethernet 1/1/5
[SwitchA-Vfc1] port trunk vsan 1
[SwitchA-Vfc1] quit
33

Advertisement

Table of Contents
loading

Table of Contents