cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2728
Views
0
Helpful
4
Replies

Default Gateway on my 2950

joeadiutori
Level 1
Level 1

Hi All,

How do I determine the default GW of my switch?  I type "sh run" and it shows the IP address but not the default GW.  How do I get this information?

Thank You - Joe

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

If you have defined a default-gateway, it will show in your running config (sh run).  You may not have defined it.

HTH

View solution in original post

cadet alain
VIP Alumni
VIP Alumni

Hi,

by default it is not configured and if you don't see it in the sh run output then it was not configured.

To configure it you must enter global config command: ip default-gateway x.x.x.x

Then sh run | i default-gateway  to verify

Regards.

Alain

Don't forget to rate helpful posts.

View solution in original post

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

If you have defined a default-gateway, it will show in your running config (sh run).  You may not have defined it.

HTH

I think you must be correct.  Thank You.

Thanks for the rating.

have a look at this link.  If you have a default gateway, it will be in your config (close to the end).

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_9_ea1/configuration/guide/swipaddr.html#wp1040113

HTH

cadet alain
VIP Alumni
VIP Alumni

Hi,

by default it is not configured and if you don't see it in the sh run output then it was not configured.

To configure it you must enter global config command: ip default-gateway x.x.x.x

Then sh run | i default-gateway  to verify

Regards.

Alain

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card