6-5
<Switch> system-view
# Create VLAN 8 through VLAN 10.
[Switch] vlan 8 to 10
# Create a Layer 2 aggregation port.
[Switch]interface Bridge-Aggregation 1
[Switch-Bridge-Aggregation1]quit
# Add the GigabitEthernet port corresponding to the interface GigabitEthernet 1/0/1 of LSWM1WCM20
to the aggregation port.
[Switch]interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1]port link-aggregation group 1
[Switch-GigabitEthernet1/0/1]quit
# Add the GigabitEthernet port corresponding to the interface GigabitEthernet 1/0/2 of LSWM1WCM20
to the aggregation port.
[Switch]interface GigabitEthernet 1/0/2
[Switch-GigabitEthernet1/0/2]port link-aggregation group 1
[Switch-GigabitEthernet1/0/2]quit
# Set the link type of the aggregation port and assign the port to the VLANs.
[Switch]interface Bridge-Aggregation 1
[Switch-Bridge-Aggregation1]port link-type trunk
[Switch-Bridge-Aggregation1]port trunk permit vlan 8 to 10
[Switch-Bridge-Aggregation1]quit
[Switch]quit
2) Configure the access controller module
# Take LSWM1WCM20 as an example, log into the AC on the switch.
<Switch>mcms connect slot 1 system SubSlot1
<AC>system-view
# Create VLANs.
[AC]vlan 8 to 10
# Configure the port of the access controller module.
[AC]interface Bridge-Aggregation 1
[AC-Bridge-Aggregation1]port link-type trunk
[AC-Bridge-Aggregation1]port trunk permit vlan 8 to 10