cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
172
Views
0
Helpful
3
Replies
Beginner

Cisco 3750X - Show DNS and Gateway for DHCP Pool

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?

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Engager

Re: Cisco 3750X - Show DNS and Gateway for DHCP Pool

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,
Resume duty after a long holiday
3 REPLIES 3
VIP Expert

Re: Cisco 3750X - Show DNS and Gateway for DHCP Pool

Hi,

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

HTH

VIP Advisor

Re: Cisco 3750X - Show DNS and Gateway for DHCP Pool

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 ***
VIP Engager

Re: Cisco 3750X - Show DNS and Gateway for DHCP Pool

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,
Resume duty after a long holiday
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards