Chapter 4: Commands for CLI configuration
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
“
IFSbestswitch
”
Switch# configure terminal
Switch (config)#
ip dhcp pool IFSbestswitch
Switch (config-dhcp-pool)#
dns-server 168.95.1.1 8.8.8.8
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 IFSbestswitch
Switch (config-dhcp-pool)#
do show aaa
console : local
telnet : local
ssh : local
http : local
domain-name
Command:
domain-name <word128>
domain-name
Domain name
<word128>
Domain name
Default:
None
Usage Guide:
134
NS3500-24T-4C Managed Switch Command Guide