6 dns-server, 7 do – PLANET XGSW-28040HP User Manual
Page 193

Command Guide of XGSW-28040HP
4.2.73.6 dns-server
Command:
dns-server
dns-server DNS servers
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.73.7 do
Command:
do < exec commands >
do To run exec commands in config mode
Default:
N/A
Usage Guide:
To run exec commands
Example:
To run “show aaa”.
Switch# configure terminal
Switch (config)# ip dhcp pool planetbestswitch
Switch (config-dhcp-pool)# do show aaa
console : local
telnet : local
ssh : local
http : local
-193-