HP 5820X series Configuration Manual page 230

Hide thumbs Also See for 5820X series:
Table of Contents

Advertisement

Configure APP parameters
2.
# Create Ethernet frame header ACL 4000 and configure the ACL to permit FCoE packets (whose
protocol number is 0x8906) and FIP packets (whose protocol number is 0x8914) to pass through.
[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, specify the operator of the class as OR, and use ACL 4000 as the match
criterion of the class.
[SwitchA] traffic classifier app_c operator or
[SwitchA-classifier-app_c] if-match acl 4000
[SwitchA-classifier-app_c] quit
# Create a traffic behavior named app_b and configure the traffic behavior to mark packets with 802.1p
priority value 3.
[SwitchA] traffic behavior app_b
[SwitchA-behavior-app_b] remark dot1p 3
[SwitchA-behavior-app_b] quit
# Create a QoS policy named plcy, associate class app_c with traffic behavior app_b in the QoS policy,
and apply the association 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 outgoing traffic of interface Ten-GigabitEthernet 1/0/1.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] qos apply policy plcy outbound
[SwitchA-Ten-GigabitEthernet1/0/1] quit
Configure ETS parameters
3.
# Map 802.1p priority value 3 to local precedence 3. (This is the default mapping table. Modify this
configuration as needed.)
[SwitchA] qos map-table dot1p-lp
[SwitchA-maptbl-dot1p-lp] import 3 export 3
[SwitchA-maptbl-dot1p-lp] quit
# Enable byte-count WRR queuing on interface Ten-GigabitEthernet 1/0/1, assign queue 3 to WRR
priority group 1, and configure the scheduling weight for queue 3 as 15.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr byte-count
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr 3 group 1 byte-count 15
Configure PFC parameters
4.
# Configure the Ethernet interface to enable PFC by automatically negotiating with its peer, and enable
PFC for 802.1 priority 3.
[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control auto
[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control no-drop dot1p 3
# Configure interface Ten-GigabitEthernet 1/0/1 to use the 802.1p priority carried in packets for priority
mapping.
[SwitchA-Ten-GigabitEthernet1/0/1] qos trust dot1p
223

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents