cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
631
Views
0
Helpful
5
Replies

Is there a way to display the dns server assigned for a given dhcp pool?

wel51x
Level 1
Level 1

Newbie here.

 

I've done a bit of googl'ing and cisco web site searches, and can't find anything.

I simply would like to see the associated info.

 

Thanks in advance

1 Accepted Solution

Accepted Solutions

omz
VIP Alumni
VIP Alumni

Hi

show run | sec dhcp

Example DHCP pool 

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

 

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame
sh run b | i dhcp pool|domain-name

gives this, but not the DNS server name I assigned:
ip dhcp pool IT
ip dhcp pool Management

Never mind - if I just run the "sh run b" I can find what I need. Thanks!

omz
VIP Alumni
VIP Alumni

Hi

show run | sec dhcp

Example DHCP pool 

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

 

Thanks! Exactly what I was looking for.
Review Cisco Networking for a $25 gift card