184 
[SwitchA-Ten-GigabitEthernet1/0/1] port hybrid vlan 4001 tagged 
# Configure VLAN 1001 as the PVID of Ten-GigabitEthernet 1/0/1.  
[SwitchA-Ten-GigabitEthernet1/0/1] port hybrid pvid vlan 1001 
# Enable STP on Ten-GigabitEthernet 1/0/1.  
[SwitchA-Ten-GigabitEthernet1/0/1] stp enable 
[SwitchA-Ten-GigabitEthernet1/0/1] quit 
# Configure interface Ten-GigabitEthernet 2/0/1 as a hybrid port.  
[SwitchA] interface ten-gigabitethernet 2/0/1 
[SwitchA-Ten-GigabitEthernet2/0/1] port link-type hybrid 
# Assign Ten-GigabitEthernet 2/0/1 to VLAN 1001 as an untagged member.  
[SwitchA-Ten-GigabitEthernet2/0/1] port hybrid vlan 1001 untagged 
# Assign Ten-GigabitEthernet 2/0/1 to VLAN 4002 as a tagged member.  
[SwitchA-Ten-GigabitEthernet2/0/1] port hybrid vlan 4002 tagged 
# Configure VLAN 1001 as the PVID of Ten-GigabitEthernet 2/0/1. 
[SwitchA-Ten-GigabitEthernet2/0/1] port hybrid pvid vlan 1001 
# Enable STP on Ten-GigabitEthernet 2/0/1.  
[SwitchA-Ten-GigabitEthernet2/0/1] stp enable 
[SwitchA-Ten-GigabitEthernet2/0/1] quit 
# Configure interface Ten-GigabitEthernet 1/0/10 as a trunk port, and assign the interface to 
VLAN 1001.  
[SwitchA] interface ten-gigabitethernet 1/0/10 
[SwitchA-Ten-GigabitEthernet1/0/10] port link-type trunk 
[SwitchA-Ten-GigabitEthernet1/0/10] port trunk permit vlan 1001 
# Enable STP on Ten-GigabitEthernet 1/0/10.  
[SwitchA-Ten-GigabitEthernet1/0/10] stp enable 
[SwitchA-Ten-GigabitEthernet1/0/10] quit 
# Configure interface Ten-GigabitEthernet 2/0/10 as a trunk port, and assign the interface to 
VLAN 1001.  
[SwitchA] interface ten-gigabitethernet 2/0/10 
[SwitchA-Ten-GigabitEthernet2/0/10] port link-type trunk 
[SwitchA-Ten-GigabitEthernet2/0/10] port trunk permit vlan 1001 
# Enable STP on Ten-GigabitEthernet 2/0/10.  
[SwitchA-Ten-GigabitEthernet2/0/10] stp enable 
[SwitchA-Ten-GigabitEthernet2/0/10] quit 
# Create Layer 2 aggregate interface 1, and configure it to operate in dynamic aggregation 
mode.  
[SwitchA] interface bridge-aggregation 1 
[SwitchA-Bridge-Aggregation1] link-aggregation mode dynamic 
# Disable STP on Layer 2 aggregate interface 1.  
[SwitchA-Bridge-Aggregation1] undo stp enable 
[SwitchA-Bridge-Aggregation1] quit 
# Assign ports Ten-GigabitEthernet 1/0/5 through Ten-GigabitEthernet 1/0/8 to Layer 2 
aggregation group 1.  
[SwitchA] interface ten-gigabitethernet 1/0/5 
[SwitchA-Ten-GigabitEthernet1/0/5] port link-aggregation group 1 
[SwitchA-Ten-GigabitEthernet1/0/5] quit