
8
Configuration Using the Console Interface
Chapter 4
24-Port 10/100 + 2-Port 10/100/1000 Gigabit Advanced Smart Switch with 2 Combo SFPs
Console Command Prompt
Configuring the Switch through the Console
Interface
Enter
help
or
?
to get the list of command options.
Console Command Options
Clear
Clears all port statistics.
Syntax:
clear port statistics [<port#> | all]
Copy
Upgrade or backup the firmware and configuration
file.
To upgrade the firmware:
Syntax:
copy [tftp://<ipaddr>/<srcfile>] flash
To backup the firmware:
Syntax:
copy firmware [tftp://<ipaddr>/<dstfile>]
To upgrade the switch with an existing configuration
file:
Syntax:
copy [tftp://<ipaddr>/<srcfile>] startup-
config
To back up the current configurations:
Syntax:
copy running-config [tftp://<ipaddr>/
<dstfile>]
Help
Displays Help information.
?
Displays Help information.
Logout
Exits the Telnet session.
Network
The following commands configure the IP
configuration and management VLAN of the Switch:
Network
Configure the static IP address information:
Syntax:
network <ip_address> <subnet_mask>
<gateway>
DHCP
Enable or disable DHCP client for the Switch’s
IP configuration:
Syntax:
network dhcp [enable | disable]
Mgmt-VLAN
Configure the Management VLAN:
Syntax:
network mgmt-vlan <vid>
Password
Change the admin password. You will be
prompted to enter the old password, a new password, and
to confirm the new password.
Ping
Ping a remote host. Enter the Host IP Address of the
device you want to ping:
Syntax:
ping <host>
Port
Port Settings.
Admin
Configure port admin mode:
Syntax:
port admin [<port#> | all] [enable | disable]
Flowcontrol
Configure port flow control:
Syntax:
port flowcontrol [<port#> | all] [enable |
disable]
Mode
Configure port speed/duplex:
Syntax:
port mode [<port#> | all] [10hd | 10fd |
100hd | 100fd | 1000fd | auto]
Configure Gigaport medium and speed/duplex mode:
Syntax:
port mode [g1|g2] [fiber|copper] [<100fd|1
000fd>|<10hd|10fd|100hd|100fd|auto>]
NOTE:
When you select fiber, the options for
speed/duplex mode are
100fd
or
1000fd
.
When you select copper, the options for
speed/duplex mode are
10hd
,
10fd
,
100hd
,
100fd
, and
autonegotiation
.
Reboot
Reboots the system.
Restore
Reset the Switch configuration to the factory
default settings.
Syntax:
restore system
Save
Saves the configuration.
Show
The following commands associated with show:
Port
Displays the status of a specific port or all ports.
Syntax:
show port [<port#> | all]
Network
Displays the Switch’s MAC address, IP
address, netmask, gateway, and management VLAN.
Syntax:
show network