Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Level 2 and Level 3 Switches

If I am configuring a LAN and WAN do I need to enter the gateway ip address on both Switches, may layer 2 Switch is already connected to the layer 3 Switch?

1 REPLY

Re: Level 2 and Level 3 Switches

You need to add a default route pointing to your gateway. On the layer 2 switch (depending on set based or ios based) the command for the gateway varies. This gateway address configured on the l2 switch is only used for switch generated traffic ( such as you telnet from the switch to an address outside the subnet of the ip address of the switch). To configure a l2 default gateway on cat 6000 the command is,

set ip route default [metric] [primary]

On a 2900, you can use the IOS based command "ip default-gateway "

451
Views
0
Helpful
1
Replies
CreatePlease to create content