6 dns-server, 7 do – PLANET MGSW-28240F User Manual

Page 179

Advertising
background image

Command Guide of MGSW-28240F

Example:

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

Switch# configure terminal

Switch (config)# ip dhcp pool planetbestswitch

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

4.2.64.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 “planetbestswitch

Switch# configure terminal

Switch (config)# ip dhcp pool planetbestswitch

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

4.2.64.7 do

Command:

do < exec commands >

do To run exec commands in config mode

Default:

N/A

-179-

Advertising