how to configure dns ,dhcp in switch 3860

Unanswered Question
Mar 19th, 2010
User Badges:

hi folks

am new to cisco  am having a switch 3860 it is configured dhcp , dns  i want to change

those dhcp , dns  , please let me what are the command that is use to reconfigure it



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
greenbrier33 Wed, 03/06/2013 - 06:14
User Badges:


To configure Cisco IOS DHCP, follow these steps, which include sample commands:

  1. Configure an IP address on the router's Ethernet port, and bring up the interface. (On an existing router, you would have already done this.)

Router(config)# interface ethernet0/0
Router(config-if)#ip address
Router(config-if)# no shutdown

  1. Create a DHCP IP address pool for the IP addresses you want to use.

Router(config)# ip dhcp pool mypool

  1. Specify the network and subnet for the addresses you want to use from the pool.

Router(dhcp-config)# network /8  

  1. Specify the DNS domain name for the clients.


  1. Specify the primary and secondary DNS servers.


  1. Specify the default router (i.e., default gateway).


  1. Specify the lease duration for the addresses you're using from the pool.

Router(dhcp-config)#lease 7

  1. Exit Pool Configuration Mode.


Hope this helps,



This Discussion

Related Content