176 
# Assign the interface to VLAN 4001 as a tagged member. 
[SwitchC-Ten-GigabitEthernet1/0/1] port hybrid vlan 4001 tagged 
[SwitchC-Ten-GigabitEthernet1/0/1] quit 
# Create Layer 2 aggregate interface 1, and configure it to operate in dynamic aggregation 
mode.  
[SwitchC] interface bridge-aggregation 1 
[SwitchC-Bridge-Aggregation1] link-aggregation mode dynamic 
[SwitchC-Bridge-Aggregation1] quit 
# Assign ports Ten-GigabitEthernet 1/0/5 through Ten-GigabitEthernet 1/0/8 to Layer 2 
aggregation group 1.  
[SwitchC] interface ten-gigabitethernet 1/0/5 
[SwitchC-Ten-GigabitEthernet1/0/5] port link-aggregation group 1 
[SwitchC-Ten-GigabitEthernet1/0/5] quit 
[SwitchC] interface ten-gigabitethernet 1/0/6 
[SwitchC-Ten-GigabitEthernet1/0/6] port link-aggregation group 1 
[SwitchC-Ten-GigabitEthernet1/0/6] quit 
[SwitchC] interface ten-gigabitethernet 1/0/7 
[SwitchC-Ten-GigabitEthernet1/0/7] port link-aggregation group 1 
[SwitchC-Ten-GigabitEthernet1/0/7] quit 
[SwitchC] interface ten-gigabitethernet 1/0/8 
[SwitchC-Ten-GigabitEthernet1/0/8] port link-aggregation group 1 
[SwitchC-Ten-GigabitEthernet1/0/8] quit 
# Configure Layer 2 aggregate interface 1 as a trunk port, and assign the aggregate interface to 
VLAN 4001.  
[SwitchC] interface bridge-aggregation 1 
[SwitchC-Bridge-Aggregation1] port link-type trunk 
[SwitchC-Bridge-Aggregation1] port trunk permit vlan 4001 
[SwitchC-Bridge-Aggregation1] quit 
3.  Configure DCBX: 
# Enable LLDP globally. 
[SwitchC] lldp global enable 
# Create Ethernet frame header ACL 4000. 
[SwitchC] acl number 4000 name DCBX 
# Configure the ACL to permit FCoE frames (protocol number is 0x8906) to pass through. 
[SwitchC-acl-ethernetframe-4000] rule 0 permit type 8906 ffff 
# Configure the ACL to permit FIP protocol packets (protocol number is 0x8914) to pass through. 
[SwitchC-acl-ethernetframe-4000] rule 5 permit type 8914 ffff 
[SwitchC-acl-ethernetframe-4000] quit 
# Create a class named DCBX, with the operator of the class as OR. 
[SwitchC] traffic classifier DCBX operator or 
# Use ACL 4000 as the match criterion of the class. 
[SwitchC-classifier-DCBX] if-match acl 4000 
[SwitchC-classifier-DCBX] quit 
# Create a behavior named DCBX. 
[SwitchC] traffic behavior DCBX 
# Configure the behavior to mark packets with 802.1p priority value 3.