HP 5920 SERIES Fc And Fcoe Configuration Manual page 209

Hide thumbs Also See for 5920 SERIES:
Table of Contents

Advertisement

[SwitchA-Ten-GigabitEthernet1/0/7] quit
[SwitchA] interface ten-gigabitethernet 1/0/8
[SwitchA-Ten-GigabitEthernet1/0/8] port link-aggregation group 1
[SwitchA-Ten-GigabitEthernet1/0/8] quit
# Configure Layer 2 aggregate interface 1 as a trunk port, and assign the aggregate interface to
VLAN 4001.
[SwitchA] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] port link-type trunk
[SwitchA-Bridge-Aggregation1] port trunk permit vlan 4001
[SwitchA-Bridge-Aggregation1] quit
3.
Configure DCBX:
# Enable LLDP globally.
[SwitchA] lldp global enable
# Create Ethernet frame header ACL 4000. and configure the ACL to permit FCoE frames (whose
protocol number is 0x8906) and FIP protocol packets (whose protocol number is 0x8914) to pass
through.
[SwitchA] acl number 4000 name DCBX
# Configure the ACL to permit FCoE frames (protocol number is 0x8906) to pass through.
[SwitchA-acl-ethernetframe-4000] rule 0 permit type 8906 ffff
# Configure the ACL to permit FIP protocol packets (whose protocol number is 0x8914) to pass
through.
[SwitchA-acl-ethernetframe-4000] rule 5 permit type 8914 ffff
[SwitchA-acl-ethernetframe-4000] quit
# Create a class named DCBX, with the operator of the class as OR.
[SwitchA] traffic classifier DCBX operator or
# Use ACL 4000 as the match criterion of the class.
[SwitchA-classifier-DCBX] if-match acl 4000
[SwitchA-classifier-DCBX] quit
# Create a behavior named DCBX.
[SwitchA] traffic behavior DCBX
# Configure the behavior to mark packets with 802.1p priority value 3.
[SwitchA-behavior-DCBX] remark dot1p 3
[SwitchA-behavior-DCBX] quit
# Create a QoS policy named DCBX.
[SwitchA] qos policy DCBX
# Associate class DCBX with traffic behavior DCBX in the QoS policy, and specify that the
association apply to DCBX.
[SwitchA-qospolicy-DCBX] classifier DCBX behavior DCBX mode dcbx
[SwitchA-qospolicy-DCBX] quit
# Enable LLDP and DCBX TLV advertising on interface Ten-GigabitEthernet 1/0/1.
[SwitchA] interface ten-gigabitethernet 1/0/1
[SwitchA-Ten-GigabitEthernet1/0/1] lldp enable
[SwitchA-Ten-GigabitEthernet1/0/1] lldp tlv-enable dot1-tlv dcbx
# Apply QoS policy DCBX to the outgoing traffic of Ten-GigabitEthernet 1/0/1.
[SwitchA-Ten-GigabitEthernet1/0/1] qos apply policy DCBX outbound
202

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents