09-04-2007 04:34 AM - edited 03-05-2019 06:16 PM
How do I observer the default-gateway set on a switch? I am not able to view it with the "show running-config" command.
Solved! Go to Solution.
09-04-2007 04:51 AM
Hi
show running-config should list it.Check weather it is configured in the switch.
Btw what kind of this switch is.
Thanks
Mahmood
09-04-2007 05:53 AM
You should fing "ip default-gateway" in the config.
you can also have a IP route 0.0.0.0 0.0.0.0 entry if ip routing is enable.
The last possibility, (if the switch is working and no default gateway configure), is that the router is doing proxy-arp. This is a security issue but still possible.
09-04-2007 07:03 AM
Use the command "show ip default " , this will list the gateway on all layer 2 switches and any layer 3 switch that has routing turned off .
09-04-2007 04:50 AM
What type of switch is it...CatOS or IOS
09-04-2007 05:06 AM
The switch type is IOS.
09-04-2007 04:51 AM
Hi
show running-config should list it.Check weather it is configured in the switch.
Btw what kind of this switch is.
Thanks
Mahmood
09-04-2007 05:47 AM
This is a Catalyst 2950 switch.
09-04-2007 05:53 AM
You should fing "ip default-gateway" in the config.
you can also have a IP route 0.0.0.0 0.0.0.0 entry if ip routing is enable.
The last possibility, (if the switch is working and no default gateway configure), is that the router is doing proxy-arp. This is a security issue but still possible.
09-04-2007 06:19 AM
Hi,
2950 is a layer two switch , so IP route is not supported.
Regards,
~JG
09-04-2007 06:37 AM
The IP default-gateway should be supported for telnet to other subnets.
09-04-2007 06:43 AM
Yes, that is supported.
09-04-2007 07:03 AM
Use the command "show ip default " , this will list the gateway on all layer 2 switches and any layer 3 switch that has routing turned off .
09-04-2007 08:53 AM
The command "show ip" lists the switch ip address, subnet mask, and default gateway.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide