[c-nsp] Simple VLAN Tag question

David Freedman david.freedman at uk.clara.net
Mon Jun 28 11:09:15 EDT 2010


Nick Voth wrote:
> Hello folks,
> 
> Please forgive the newbie question. I've looked online in various places but
> can't just seem to find a simple sample config.
> 
> I've never really had to deal with VLANs on the Cisco IOS before. I have a
> situation where we need to plug a 2620 in to an Ethernet LAN and tag the
> traffic with 301.

You want to create a subinterface and set the encapsulation to dot1q
(assuming you are using 802.1q vlan tagging and not ISL, if so just omit
the encapsulation line)

!
int FastEthernet0/0
 description Connected to LAN
 no ip address
!
int FastEthernet0/0.301
 encapsulation dot1q 301
 ip address x.x.x.x y.y.y.y
!


Hope this helps.

David.


> 
> Does anyone have a sample config that shows the creation of the VLAN and how
> to tag the traffic?
> 
> Thanks very much,
> 
> -Nick Voth
> 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 


-- 


David Freedman
Group Network Engineering
Claranet Group



More information about the cisco-nsp mailing list