cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
438
Views
0
Helpful
4
Replies

vlans on a switch 3750

wgranada1
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

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

View solution in original post

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.

View solution in original post

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

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

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

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.

Thanks Edison for the info!!!

Getting Started

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:

Review Cisco Networking products for a $25 gift card