cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
236
Views
0
Helpful
2
Replies

2 layer 3 switch configs

jclj
Level 1
Level 1

Hi, we have two layer 3 switches in our environment. One of them does all of our routing and hosts all our vlans. The other is "suppose" to be used as a connected switch layer 2. When issuing the "sho ip route" command I see the following:

C       10.40.0.0 is directly connected, Vlan1

S*   0.0.0.0/0 [1/0] via 10.40.1.1

My understanding is this is another network. We have the same network on our switch that is used for routing. Would I need to issue the "no ip route" on the non routing switch?

Thanks

1 Accepted Solution

Accepted Solutions

Jan Hrnko
Level 4
Level 4

Hi Chris,

is the show ip route issued on "L2" switch?

C       10.40.0.0 is directly connected, Vlan1

S*   0.0.0.0/0 [1/0] via 10.40.1.1

Most likely, you have vlan1 configured with an IP address from that range. In addition, if you have an output like this, it means that you have ip routing enabled.

Therefore, I suggest to use the command :

Switch(config)#no ip routing

This will effectively turn your switch into "L2 mode".

Best regards,

Jan

View solution in original post

2 Replies 2

Jan Hrnko
Level 4
Level 4

Hi Chris,

is the show ip route issued on "L2" switch?

C       10.40.0.0 is directly connected, Vlan1

S*   0.0.0.0/0 [1/0] via 10.40.1.1

Most likely, you have vlan1 configured with an IP address from that range. In addition, if you have an output like this, it means that you have ip routing enabled.

Therefore, I suggest to use the command :

Switch(config)#no ip routing

This will effectively turn your switch into "L2 mode".

Best regards,

Jan

thanks, thats what i thought

Review Cisco Networking products for a $25 gift card