Switchport Trunk Allowed Vlan Add. VLAN 2 switchport trunk allowed vlan 10 20 Use the switchport trunk allowed vlan command to specify which VLANs the port belongs to when its mode is configured as trunk. We can verify that using the show interfaces trunk command:
Switchport Trunk Allowed Vlan On Port Channel at Matthew Mullins blog from klapopork.blob.core.windows.net
core(config-if)#switchport trunk allowed vlan add 10,31,33,50,100 SW1#show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1-1005 Port Vlans allowed and active in management domain Fa0/1 1,5,10 Port Vlans in spanning tree forwarding state and not pruned.
Switchport Trunk Allowed Vlan On Port Channel at Matthew Mullins blog
Most of the time we see only one command switchport trunk allowed vlan and a list of the vlans that are allowed By default, a trunk interface can carry traffic for all VLANs By default, all VLANs are allowed across a trunk link on a Cisco switch
Switchport Trunk Allowed Vlan All at Melissa Stayton blog. This example shows how to remove VLAN 2 from the allowed VLAN list on a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# switchport trunk allowed vlan remove 2 Switch(config-if)# end Where to Go Next The command switchport trunk allowed vlan add starts with an existing list of vlans and adds entries to the list
Solved Router switchport mode trunk Cisco Community. Use the switchport trunk allowed vlan command to specify which VLANs the port belongs to when its mode is configured as trunk. SW1#show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 1-1005 Port Vlans allowed and active in management domain Fa0/1 1,5,10 Port Vlans in spanning tree forwarding state and not pruned.