GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
77
Default IP address of default gateway is 192.168.1.254.
Mode:
Global Configuration
Usage Guide:
Use “ip default-gateway” command to modify default gateway address. And use “no ip default-gateway” to restore
default gateway address to factory default.
Example:
This example shows how to modify the ipv4 address of the switch.
Switch(config)# ip default-gateway 192.168.1.100
This example shows how to show current ipv4 default gateway of the switch.
Switch# show ip
IP Address: 192.168.1.1
Subnet Netmask: 255.255.255.0
Default Gateway: 192.168.1.100
4.4.15 ip dns
Command:
ip dns A.B.C.D [A.B.C.D]
no ip dns [A.B.C.D]
Parameter:
A.B.C.D
Specify the DNS server ip address.
Default:
Default IP address of DNS server is 168.95.1.1 and 168.95.192.1.
Mode:
Global Configuration
Usage Guide:
Use “ip dns” command to modify DNS server address. And use “no ip dns” to delete existing DNS server.
Example: