GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
78
This example shows how to modify the DNS server of the switch.
Switch(config)# ip dns 111.111.111.111 222.222.222.222
This example shows how to show current DNS server of the switch.
Switch# show ip dns
DNS Server 1 : 111.111.111.111
DNS Server 2 : 222.222.222.222
4.4.16 ip dhcp
Command:
ip dhcp
no ip dhcp
Default:
Default DHCP client is disabled.
Mode:
Global Configuration
Usage Guide:
Use “ip dhcp” command to enabled dhcp client to get IP address from remote DHCP server.
Use “no ip dhcp” command to disabled dhcp client and use static ip address.
Example:
This example shows how to enable dhcp client.
Switch(config)# ip dhcp
This example shows how to show current dhcp client state of the switch.
Switch# show ip dhcp
DHCP Status : enabled