08-08-2012 06:49 AM
Apply the following commands to Cisco Switch command line:
Thanks,
Roger
Solved! Go to Solution.
08-08-2012 11:32 AM
Hello Roger, try the following;
config t
int gi1/1
no macro auto smartport <- disable smart port for detecting link
switchport mode general <- sets port to 802.1 q
switchport general ingress-filter disable <- removes filtering of vlan tag for the ingress
switchport general allowed vlan add 100,200 tagged (or untagged, however you need it) <- allowed the vlan on the port
spanning-tree portfast <- enables port fast
-Tom
08-08-2012 11:32 AM
Hello Roger, try the following;
config t
int gi1/1
no macro auto smartport <- disable smart port for detecting link
switchport mode general <- sets port to 802.1 q
switchport general ingress-filter disable <- removes filtering of vlan tag for the ingress
switchport general allowed vlan add 100,200 tagged (or untagged, however you need it) <- allowed the vlan on the port
spanning-tree portfast <- enables port fast
-Tom
03-30-2014 11:59 AM
On my switch it does not have the "switchport mode general" or "switchport trunk encapsulation dot1q" - I get an error (you know, the ol' invalid command or syntax with the little marker). The switches are catalyst WS-C2960-24TC-L with the Cisco LAN Base software. They are less than 3 years old. I hope this means that the encapsulation is set to 802.1Q by default. Does anyone know for sure, or how I can tell? Many thanks!
Sam
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: