
a. Configure the access switch.
Starting with access switch ACC1 as an example, create service VLAN 10 on ACC1.
1
<HUAWEI>
system-view
[
HUAWEI
] sysname ACC1
//Set the switch name to ACC1.
[ACC1]
vlan batch 10
//Create VLANs in a batch.
Configure Eth-Trunk 1, through which ACC1 connects to the CORE, to allow the
packets from the VLAN of department A to pass through.
2
[ACC1]
interface eth-trunk 1
[ACC1-Eth-Trunk1]
port link-type trunk
//Set Eth-Trunk 1 type to
Trunk for VLAN transparent transmission.
[ACC1-Eth-Trunk1]
port trunk allow-pass vlan 10
//Configure Eth-Trunk 1
to transparently transmit the service VLAN on ACC1.
[ACC1-Eth-Trunk1]
mode lacp
//Configure the LACP mode
on Eth-Trunk 1.
[ACC1-Eth-Trunk1]
quit
[ACC1]
interface GigabitEthernet 0/0/1
//Add member interfaces to
Eth-Trunk 1.
[ACC1-GigabitEthernet0/0/1]
Eth-Trunk 1
[ACC1-GigabitEthernet0/0/1]
quit
[ACC1]
interface GigabitEthernet 0/0/2
[ACC1-GigabitEthernet0/0/2]
Eth-Trunk 1
[ACC1-GigabitEthernet0/0/2]
quit
9
Configuring Interfaces and VLANs