12-10-2007 11:17 AM - edited 03-05-2019 07:54 PM
Good day everyone I have a quick question here...I thought in order for a vlan to route you would need to define that vlan on the switch. I went on my sw1 and saw an interface configured for vlan12 but when I looked to see if it was configured on the switch it wasn't
How is this working? I can do a show IP route and it knows its next hope which goes to sw2 then on to a ASA.
Solved! Go to Solution.
12-10-2007 11:22 AM
How did you verify it wasn't configured in the switch ?
Please post the output from the following commands:
show ip interface | i 12
and
show vlan
12-10-2007 12:06 PM
The information you see in the vlan database reflects the Layer2 Vlan information.
The information you see in the running configuration interface vlan 12 reflects its Layer3 instance.
You don't need a Layer3 instance unless the switch is routing the Vlan on behalf of devices on that subnet.
You would also see vlan12 in the running config, if the switch was set to vtp mode transparent.
vtp mode server and vtp mode client does not display the layer2 information in the running-config. It's stored in the vlan.dat which can be accessed by issuing the show vlan command.
12-10-2007 11:22 AM
How did you verify it wasn't configured in the switch ?
Please post the output from the following commands:
show ip interface | i 12
and
show vlan
12-10-2007 11:57 AM
Sorry for the dumb question it was right in front of my face. Yes I when I do a sh vlan I see it there but when I do a sh inter vlan 12 it never showed up. It was in the database but no one ever defined it on the switch. Sorry for about that and thank you Edison for your help
12-10-2007 12:06 PM
The information you see in the vlan database reflects the Layer2 Vlan information.
The information you see in the running configuration interface vlan 12 reflects its Layer3 instance.
You don't need a Layer3 instance unless the switch is routing the Vlan on behalf of devices on that subnet.
You would also see vlan12 in the running config, if the switch was set to vtp mode transparent.
vtp mode server and vtp mode client does not display the layer2 information in the running-config. It's stored in the vlan.dat which can be accessed by issuing the show vlan command.
12-10-2007 12:28 PM
Thanks Edison for the info!!!
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: