Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
113
Default:
None
Usage Guide:
To configure
Default Gateway
of
DHCP Server
Example:
To configure
Default Gateway
(192.168.0.1)
of
DHCP Server
for
pool
“
IFSbestswitch
”
Switch# configure terminal
Switch (config)#
ip dhcp pool IFSbestswitch
Switch (config-dhcp-pool)#
default-router 192.168.0.1
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