08-20-2015 10:17 AM - edited 03-08-2019 01:26 AM
HI All,
We have a requirement whereby we need to tag the physical interface (please note: not the sub interface) of a router to a particular vlan. I am aware of how to do this on the sub interface and for what I am trying to do, I want to avoid creating the sub interface if I can tag the physical interface with a particular vlan-id. I am aware of the "vlan-id dot1q "command on cisco 2821" but that does not seem to work..
Has anyone done this and if so can they share their experience. Please let me know if I execute the below config , will the interface Gi0/0 send out the packets having vlan 45 encapsulated data frame ?
Thanks in advance .
interface GigabitEthernet0/0
description undefined
ip address 172.16.3.2 255.255.255.0
duplex full
speed 100
vlan-id dot1q 45
exit-vlan-config
Solved! Go to Solution.