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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Switch Default-Gateway Question

How do I observer the default-gateway set on a switch? I am not able to view it with the "show running-config" command.

3 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Switch Default-Gateway Question

Hi

show running-config should list it.Check weather it is configured in the switch.

Btw what kind of this switch is.

Thanks

Mahmood

Re: Switch Default-Gateway Question

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.

Purple

Re: Switch Default-Gateway Question

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 .

10 REPLIES

Re: Switch Default-Gateway Question

What type of switch is it...CatOS or IOS

New Member

Re: Switch Default-Gateway Question

The switch type is IOS.

Re: Switch Default-Gateway Question

Hi

show running-config should list it.Check weather it is configured in the switch.

Btw what kind of this switch is.

Thanks

Mahmood

New Member

Re: Switch Default-Gateway Question

This is a Catalyst 2950 switch.

Re: Switch Default-Gateway Question

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.

Re: Switch Default-Gateway Question

Hi,

2950 is a layer two switch , so IP route is not supported.

Regards,

~JG

New Member

Re: Switch Default-Gateway Question

The IP default-gateway should be supported for telnet to other subnets.

Re: Switch Default-Gateway Question

Yes, that is supported.

Purple

Re: Switch Default-Gateway Question

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 .

New Member

Re: Switch Default-Gateway Question

The command "show ip" lists the switch ip address, subnet mask, and default gateway.

128
Views
0
Helpful
10
Replies