SUNIX Co., Ltd.
TEL : +886-2-8913-1987
Email : [email protected]
Global
configuration
Enter the
configure
command while
in
privileged
EXEC mode.
switch(config)#
To exit to privileged
EXEC mode, enter
exit
or
end
Use this mode to configure parameters
that apply to your switch as a whole.
VLAN
database
Enter the
vlan
database
command
while
in privileged
EXEC mode.
switch(vlan)#
To exit to user EXEC
mode, enter
exit
.
Use this mode to configure
VLAN-specific parameters.
Interface
configuration
Enter the
interface
command (with
a specific
interface)while
in global
configuration
mode
switch(config-if
)#
To exit to global
Configuration mode,
enter
exit
.
To exist to privileged
EXEC mode, or
end.
Use this mode to configure parameters
for the switch and Ethernet ports.
5.3
C
OMMANDS
S
ET
L
IST
User EXEC
E
Privileged EXEC
P
Global configuration
G
VLAN database
V
Interface configuration
I
5.3.1
S
YSTEM
C
OMMANDS
S
ET
Commands
Level
Description
Example
show config
E
Show switch configuration.
switch>show config
show terminal
P
Show console information.
switch#show terminal
menu
E
Enter MENU mode.
switch>menu
write memory
G
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 lowip
[Low IP]
G
Configure low IP address for IP pool. switch(config)# dhcpserver lowip 192.168.1.1
dhcpserver highip
[High IP]
G
Configure high IP address for IP
pool.
switch(config)# dhcpserver highip 192.168.1.50
dhcpserver
subnetmask
[Subnet mask]
G
Configure subnet mask for DHCP
clients.
switch(config)#dhcpserver subnetmask
255.255.255.0