Switch Default-Gateway Question

Answered Question
Sep 4th, 2007

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

I have this problem too.
0 votes
Correct Answer by glen.grant about 9 years 4 months ago

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 .

Correct Answer by dominic.caron about 9 years 4 months ago

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.

Correct Answer by mahmoodmkl about 9 years 4 months ago

Hi

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

Btw what kind of this switch is.

Thanks

Mahmood

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
mahmoodmkl Tue, 09/04/2007 - 04:51

Hi

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

Btw what kind of this switch is.

Thanks

Mahmood

Correct Answer
dominic.caron Tue, 09/04/2007 - 05:53

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.

Correct Answer
glen.grant Tue, 09/04/2007 - 07:03

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 .

rayroyaleverest Tue, 09/04/2007 - 08:53

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

Actions

This Discussion