6 dns-server, 7 do – Interlogix NS3702-24P-4S Command Line Guide User Manual

Page 171

Advertising
background image

-171-

Example:

To configure Default Gateway (192.168.0.1) of DHCP Server for pool “nsswitch

Switch# configure terminal

Switch (config)# ip dhcp pool nsswitch
Switch (config-dhcp-pool)# default-router 192.168.0.1

4.2.56.6 dns-server

Command:

dns-server <A.B.C.D>

dns-server

DNS servers

<A.B.C.D>

Server's IP address

Default:

None

Usage Guide:

To configure DNS Server of DHCP Server

Example:

To configure DNS Server (168.95.1.1, 8.8.8.8) of DHCP Server for pool “nsswitch

Switch# configure terminal

Switch (config)# ip dhcp pool nsswitch
Switch (config-dhcp-pool)# dns-server 168.95.1.1 8.8.8.8

4.2.56.7 do

Command:

do < exec commands >

do To run exec commands in config mode

Default:

N/A

Advertising