10-16-2011 11:02 AM - edited 03-07-2019 02:50 AM
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
Solved! Go to Solution.
10-16-2011 11:24 AM
If you have defined a default-gateway, it will show in your running config (sh run). You may not have defined it.
HTH
10-16-2011 11:29 AM
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
10-16-2011 11:24 AM
If you have defined a default-gateway, it will show in your running config (sh run). You may not have defined it.
HTH
10-16-2011 11:25 AM
I think you must be correct. Thank You.
10-16-2011 11:31 AM
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).
HTH
10-16-2011 11:29 AM
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
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