Download Print this page

HP 6125XLG Configuration Manual Page 56

R2306-hp 6125xlg blade switch fcoe configuration guide.
Hide thumbs

Advertisement

[SwitchA-vsan10] quit
[SwitchA] vsan 20
[SwitchA-vsan20] quit
# Enable LLDP globally.
[SwitchA] lldp global enable
# Enable LLDP on interfaces Ten-GigabitEthernet 1/1/5 and Ten-GigabitEthernet 1/1/6, and
enable the interfaces to advertise DCBX TLVs.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] lldp enable
[SwitchA-Ten-GigabitEthernet1/1/5] lldp tlv-enable dot1-tlv dcbx
[SwitchA-Ten-GigabitEthernet1/1/5] quit
[SwitchA] interface ten-gigabitethernet 1/1/6
[SwitchA-Ten-GigabitEthernet1/1/6] lldp enable
[SwitchA-Ten-GigabitEthernet1/1/6] lldp tlv-enable dot1-tlv dcbx
[SwitchA-Ten-GigabitEthernet1/1/6] quit
# Create an Ethernet frame header ACL numbered 4000, and configure two rules to match FCoE
frames (protocol type 0x8906) and FIP frames (protocol type 0x8914).
[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 Ten-GigabitEthernet 1/1/5 and
Ten-GigabitEthernet 1/1/6.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] qos apply policy plcy outbound
[SwitchA-Ten-GigabitEthernet1/1/5] quit
[SwitchA] interface ten-gigabitethernet 1/1/6
[SwitchA-Ten-GigabitEthernet1/1/6] qos apply policy plcy outbound
[SwitchA-Ten-GigabitEthernet1/1/6] 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
50

Advertisement

   Related Manuals for HP 6125XLG

Comments to this Manuals

Symbols: 0
Latest comments: