IES-0880 User Manual
Page 74
The following example sets the default gateway
192.168.1.254
to switch:
switch_a(config)#ip default-gateway 192.168.1.254
switch_a(config)#
DNS Server:
1.
Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The
switch_a(config)#
prompt will show on the screen.
switch_a(config)#
2.
Usage:
Use
ip dns
command to set the IP address of the DNS server.
Use the
no ip dns
command to remove the IP address of the DNS server.
3.
Command Syntax:
ip dns IP-ADDRESS
no ip dns
IP-ADDRESS A.B.C.D specifies the IP address of the DNS server.
4.
Example:
The following example sets the DNS server
192.168.1.100
to switch:
switch_a(config)#ip dns 192.168.1.100
switch_a(config)#
Save Configuration
Load config from TFTP server:
1.
Command Mode: Privileged Exec mode
Logon to Privileged Exec Mode (Enable Mode).
The
switch_a#
prompt will show on the screen.
switch_a#
2.
Usage:
Use
install image
command to load configuration file from tftp server to switch.
3.
Command Syntax:
install image IP-ADDRESS WORD
IP-ADDRESS specifies the IP address of tftp server.
WORD specifies the file name to be loaded to switch.
4.
Example:
The following example specifies upgrading firmware (file name:
flash.tgz
) from tftp server
(IP address:
192.168.1.100)
to switch:
switch_a#install image 192.168.1.100 flash.tgz