03-12-2012 04:59 PM - edited 03-03-2019 06:30 AM
I have set up DHCP on one of my switches for a public wireless network at our new office. The configuration was smooth and it works like a champ. However, I can't seem to figure out how to see what is configured on the server. I've gone through all the ip dhcp and dhcp show commands and I can't find one that lists the DNS and gateway addresses.
Is there a command that will allow me to see this information? I would feel better knowing I didn't fat finger something.
Sorry to be so daffy but I just can't find it.
03-13-2012 09:46 AM
Try "show run". If something isn't there, is not configured.
03-13-2012 09:39 PM
David Hegner wrote:
I have set up DHCP on one of my switches for a public wireless network at our new office. The configuration was smooth and it works like a champ. However, I can't seem to figure out how to see what is configured on the server. I've gone through all the ip dhcp and dhcp show commands and I can't find one that lists the DNS and gateway addresses.
Is there a command that will allow me to see this information? I would feel better knowing I didn't fat finger something.
Sorry to be so daffy but I just can't find it.
Is your switch the piece of kit which is actually giving out the DHCP allocations?
If you didn't configure it to do so, then there's a pretty good bet it isn't!
From the switch console, try the following
show running-config | include ip dhcp
show running-config | include dns-server
show running-config | include default-router
If you don't get any output, then something else is allocating DHCP addresses for your network.
Cheers
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