User manual

3.2.3 System Commands Set
Table 3.3: System Commands Set
Commands Level Description Example
show config E Show switch configuration switch>show config
show terminal P Show console information switch#show terminal
write memory
P
Save user configuration into
permanent memory (flash rom)
switch#write memory
system name
[System Name]
G
Configure system name switch(config)#system name xxx
system location
[System Location]
G
Set switch system location string switch(config)#system location xxx
system description
[System Description]
G
Set switch system description string switch(config)#system description xxx
system contact
[System Contact]
G
Set switch system contact window
string
switch(config)#system contact xxx
show system-info E Show system information switch>show system-info
ip address
[Ip-address] [Subnet-mask]
[Gateway]
G
Configure the IP address of switch switch(config)#ip address 192.168.1.1
255.255.255.0 192.168.1.254
ip dhcp
G
Enable DHCP client function of
switch
switch(config)#ip dhcp
show ip P Show IP information of switch switch#show ip
no ip dhcp
G
Disable DHCP client function of
switch
switch(config)#no ip dhcp
reload G Halt and perform a cold restart switch(config)#reload
default G Restore to default switch(config)#default
admin username
[Username]
G
Changes a login username.
(maximum 10 words)
switch(config)#admin username xxxxxx
admin password
[Password]
G
Specifies a password
(maximum 10 words)
switch(config)#admin password xxxxxx
show admin P Show administrator information switch#show admin
dhcpserver enable
G
Enable DHCP Server switch(config)#dhcpserver enable
Dhcpserver disable
G
Disable DHCP Server switch(config)#no dhcpserver
dhcpserver lowip [Low IP]
G
Configure low IP address for IP pool switch(config)#dhcpserver lowip 192.168.1.100
dhcpserver highip
[High IP]
G
Configure high IP address for IP
pool
switch(config)#dhcpserver highip 192.168.1.200
dhcpserver subnetmask
[Subnet mask]
G
Configure subnet mask for DHCP
clients
switch(config)#dhcpserver subnetmask
255.255.255.0
dhcpserver gateway
[Gateway]
G
Configure gateway for DHCP clients switch(config)#dhcpserver gateway 192.168.1.254
dhcpserver dnsip
[DNS IP]
G
Configure DNS IP for DHCP clients switch(config)#dhcpserver dnsip 192.168.1.1
dhcpserver leasetime
[Hours]
G
Configure lease time (in hour) switch(config)#dhcpserver leasetime 1
dhcpserver ipbinding
[IP address]
I
Set static IP for DHCP clients by port switch(config)#interface fastEthernet 2
switch(config)#dhcpserver ipbinding 192.168.1.1
show dhcpserver configuration P Show configuration of DHCP server switch#show dhcpserver configuration
show dhcpserver clients P Show client entries of DHCP server switch#show dhcpserver clients
show dhcpserver ip-binding
P
Show IP-Binding information of
DHCP server
switch#show dhcpserver ip-binding
no dhcpserver
G
Disable DHCP server function switch(config)#no dhcpserver
security enable
G
Enable IP security function switch(config)#security enable
security http
G
Enable IP security of HTTP server switch(config)#security http
security telnet
G
Enable IP security of telnet server switch(config)#security telnet
security ip
[Index(1..10)] [IP Address]
G
Set the IP security list switch(config)#security ip 1 192.168.1.55
show security
P
Show the information of IP security switch#show security
EKI-2748FI_Manual 40