cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1390
Views
0
Helpful
10
Replies

Switch Default-Gateway Question

rayroyaleverest
Level 1
Level 1

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

mahmoodmkl
Level 7
Level 7

Hi

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

Btw what kind of this switch is.

Thanks

Mahmood

View solution in original post

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.

View solution in original post

glen.grant
VIP Alumni
VIP Alumni

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 .

View solution in original post

10 Replies 10

dominic.caron
Level 5
Level 5

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

The switch type is IOS.

mahmoodmkl
Level 7
Level 7

Hi

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

Btw what kind of this switch is.

Thanks

Mahmood

This is a Catalyst 2950 switch.

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.

Hi,

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

Regards,

~JG

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

Yes, that is supported.

glen.grant
VIP Alumni
VIP Alumni

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 .

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

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