Ruijie Community

Title: Does VLAN pruning needs to be performed on the trunk port on the switch in local forwarding mode? [Print this page]

Author: GTAC-Daisy    Time: 2019-7-2 08:13
Title: Does VLAN pruning needs to be performed on the trunk port on the switch in local forwarding mode?
It is recommended that VLAN pruning be performed. Configure the port on the access switch used to connect to the AP as a trunk port, set the native VLAN to the AP VALN, configure theaccess switch to only transmit data from the wireless STA VLAN and AP VLAN.
Access switch : (config)#interfacegigabitEthernet 0/2
Access switch : (config-GigabitEthernet 0/2)#switchport mode trunk
Access switch: (config-GigabitEthernet 0/2)#switchport trunk native vlan 20//You mustconfigure the AP's VLAN as the native VLAN.
Access switch: (config-GigabitEthernet 0/2)#switchport trunk allowed vlan remove 1-9,11-19,21-4094//Transmittingdata from the STA VLAN and AP VLAN.
Access switch: (config-GigabitEthernet 0/2)#end access switch# write
VLAN pruning can also be performed on the port used to connect the accessswitch and the AC, to transmit data only from required VLANs.





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2