VLANs



Here's what I have already figured out by reading Cisco's literature...

-If I create a VLAN on a few ports, using the following commands:
switchport mode access
switchport access vlan 42
-The switch allows untagged packets to ingress the port.
And, any packets ingressing the port are associated with VLAN 42.



So, my question is how do I configure a port to tag packets as they
egress the port AND ...
require ingress packets to already be tagged with VLAN 42.

Could it be such a simple solution?
Anyway, any help would be appreciated.

Thanks!

.



Relevant Pages

  • Re: Tagged and Untagged ports
    ... trunk that carries multiple VLANs 3,4,5,6 and is connected to another ... access port whose default VLAN is 3. ... and default vlan untagged on the other. ... switchport access vlan 101 ...
    (comp.dcom.sys.cisco)
  • Re: VLANs
    ... -If I create a VLAN on a few ports, ... switchport access vlan 42 ... any packets ingressing the port are associated with VLAN 42. ... switchport trunk encapsulation dot1q ...
    (comp.dcom.sys.cisco)
  • Re: VLANs
    ... setup a port in muti mode and assign multiple IP's to the host's nic. ... vlans, thus causing a leak of traffic for one vlan to the other vlan's. ... switchport access vlan 42 ... switchport trunk encapsulation dot1q ...
    (comp.dcom.sys.cisco)
  • Re: VLAN Basics
    ... same switch in fa 0/17 which is configured for VLAN 5, ... spanning-tree loopguard default ... switchport trunk pruning vlan none ... When you designate a port as a trunk ...
    (comp.dcom.sys.cisco)
  • Re: native vlan question
    ... I think using "vlan dot1q tag native" should eliminate this question. ... "default VLAN" - that is what untagged means for incoming packets. ... not putting a tag on outbound packets form that VLAN on that port allows 2 ...
    (comp.dcom.sys.cisco)

Loading