Why is this command not accepted?
switchport trunk allowed vlan add 52,160,176,177,247
I tried adding only one VLAN; it's also not accepted. No error is shown or anything; it's just not showing when I do show run int [interface id]
. I have the following configuration. This will be used for an Access Point, just to allow certain VLANs on this port. What could I be missing or could this be an iOS bug?
Switch Model: WS-C3560-24PS
IOS Version: C3560 Software (C3560-IPBASEK9-M), Version 12.2(55)SE4, RELEASE SOFTWARE (fc1)
interface FastEthernet0/22
switchport trunk encapsulation dot1q
switchport trunk native vlan 247
switchport mode trunk
spanning-tree portfast trunk
end
show int fa0/22 shows that allowed vlan are still showing "ALL".
Switch#sh int fa0/22 switchport
Name: Fa0/22
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 247
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
{}
) rather than trying to format the text with HTML. – Ron Maupin♦ Nov 1 '20 at 2:43