
Configure the interfaces on ACC1 that connect user devices so that user devices can
be added to the VLAN. Configure the interfaces as edge ports.
3
[ACC1]
interface Ethernet 0/0/2
//Configure the interface connecting to PC1.
[ACC1-Ethernet0/0/2]
port link-type access
[ACC1-Ethernet0/0/2]
port default vlan 10
[ACC1-Ethernet0/0/2]
stp edged-port enable
[ACC1-Ethernet0/0/2]
quit
[ACC1]
interface Ethernet 0/0/3
//Configure the interface connecting to PC2.
[ACC1-Ethernet0/0/3]
port link-type access
[ACC1-Ethernet0/0/3]
port default vlan 10
[ACC1-Ethernet0/0/3]
stp edged-port enable
[ACC1-Ethernet0/0/3]
quit
[ACC1]
interface Ethernet 0/0/4
//Configure the interface connecting to
printers.
[ACC1-Ethernet0/0/4]
port link-type access
[ACC1-Ethernet0/0/4]
port default vlan 10
[ACC1-Ethernet0/0/4]
stp edged-port enable
[ACC1-Ethernet0/0/4]
quit
10
To add all users connected to ACC1 to VLAN 10, you can add Eth-Trunk1
on CORE to VLAN 10 as an Access interface and do not add interfaces on
ACC1 to VLAN 10, simplifying the configuration. This configuration ensures
that all users connected to Eth-Trunk1 belong to VLAN 10.
[ACC1]
stp bpdu-protection
4
Configure the BPDU protection function to improve network stability.