cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Cisco 3750X - Show DNS and Gateway for DHCP Pool

rumak18
Beginner
Beginner

Hi,

just a simple little question, but i wasn't able to find my answers i the documentary.

I know i can "shop ip dhcp pool" and so on to show dhcp pools. And i know how to change the dns and gateway for one pool. But how can i show and read the current configuratoin for a dhcp pool ? How can i see what dns and gateway my predecessor configured for a pool?

1 ACCEPTED SOLUTION

Accepted Solutions

Deepak Kumar
Advocate
Advocate

Hi,

You can see the mentioned details in the running configuration as 

 

show running-config

 

or you can use the special command as

 

show running-config | section ip dhcp

 

You will found the commands as like:

ip dhcp pool <Pool-Name>
network 192.168.0.0 /24
domain-name ciscolab.com
dns-server 192.168.1.1 8.8.8.8  

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

3 REPLIES 3

Reza Sharifi
Hall of Fame Expert Hall of Fame Expert
Hall of Fame Expert

Hi,

If you issue "show run", the switch will show you all the config including DNS and gateway.

HTH

balaji.bandi
VIP Guru VIP Guru
VIP Guru

you may see example in the running as below :

 

ip dhcp pool 0
network 172.16.0.0 /16
domain-name cisco.com
dns-server 172.16.1.102 172.16.2.102   

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Deepak Kumar
Advocate
Advocate

Hi,

You can see the mentioned details in the running configuration as 

 

show running-config

 

or you can use the special command as

 

show running-config | section ip dhcp

 

You will found the commands as like:

ip dhcp pool <Pool-Name>
network 192.168.0.0 /24
domain-name ciscolab.com
dns-server 192.168.1.1 8.8.8.8  

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
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: