216 
 Info: MAD LACP only enable on dynamic aggregation interface. 
[SwitchA-Bridge-Aggregation3] quit 
# Assign ports Ten-GigabitEthernet 1/0/10 and Ten-GigabitEthernet 2/0/10 to Layer 2 
aggregation group 3.  
[SwitchA] interface ten-gigabitethernet 1/0/10 
[SwitchA-Ten-GigabitEthernet1/0/10] port link-aggregation group 3 
[SwitchA-Ten-GigabitEthernet1/0/10] quit 
[SwitchA] interface ten-gigabitethernet 2/0/10 
[SwitchA-Ten-GigabitEthernet2/0/10] port link-aggregation group 3 
[SwitchA-Ten-GigabitEthernet2/0/10] quit 
# Configure Layer 2 aggregate interface 3 as a trunk port, and assign the aggregate interface to 
VLAN 1001.  
[SwitchA] interface bridge-aggregation 3 
[SwitchA-Bridge-Aggregation3] port link-type trunk 
[SwitchA-Bridge-Aggregation3] port trunk permit vlan 1001 
[SwitchA-Bridge-Aggregation3] quit 
3.  Configure DCBX: 
# Enable LLDP globally. 
[SwitchA] lldp global enable 
# Create Ethernet frame header ACL 4000. 
[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 (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