System information
Publication date: Feb., 2012
Revision A1
- 74 -
Syntax:
name-server <ip-address>
Parameter :
<ip-address> DNS IP address
EXAMPLE:
setup: ThecommandletsyoutoconfiguretheIPaddress
Syntax:
setup <ip-address> <ip-mask> <ip-address>
Parameter :
<ip-address> IP address
<ip-mask> IP subnet mask
<ip-address> Gateway IP address
EXAMPLE:
NOTE:
T
he IP address and the router must be on the same
subnet.
show:
ThecommandletsyoutoshowIPinformation
Syntax:
show <cr>
Parameter :
<cr> means it without any parameter needs to type.
EXAMPLE:
Switch(ip)# setup 192.168.20.10 255.255.255.0 192.168.20.250
Switch(ip)# show
Configured Current
--------------- ---------------
DHCP Client : Disabled
IP Address : 192.168.20.10 192.168.20.10
IP Mask : 255.255.255.0 255.255.255.0
IP Gateway : 192.168.20.250 192.168.20.250
VLAN ID : 2 2
DNS Server : 0.0.0.0 0.0.0.0
DNS Proxy : Disabled
Switch(ip)# name-server 192.168.20.10
Switch(ip)# show
Configured Current
--------------- ---------------
DHCP Client : Disabled
IP Address : 192.168.20.1 192.168.20.1
IP Mask : 255.255.255.0 255.255.255.0
IP Gateway : 192.168.20.250 192.168.20.250
VLAN ID : 2 2
DNS Server : 192.168.20.10 192.168.20.10
DNS Proxy : Disable
d