
GS-3012/GS-3012F User’s Guide
Introducing the Commands
30-5
30.6 Command Modes
There are three CLI command modes: User, Enable and Configure.
When you first log into the CLI, the initial command mode is the User mode. The User mode commands are a
subset of the Enable mode commands. The User mode command prompt ends with an angle bracket (>).
To enter Enable (or privileged) mode, type
enable
and enter a password when prompted (the default is 1234).
When you enter the Enable mode, the command prompt changes to the pound sign (
#
).
To enter the configuration mode, type
configuration
or
config
. The Configure mode command prompt
consists of the word
config
and the pound sign (
#
). There are two sub configuration modes: VLAN and interface.
To enter config-vlan mode, type
vlan
followed by a number (between 1 to 4094). For example,
vlan 10
. To enter
config-interface mode, enter
interface
port-channel
followed by a port number. For example,
interface port-channel 10
.
Enter
exit
to quit from the current mode or log out from the CLI.
30.7 Using Command History
The switch keeps a list of up to 256 commands(s) you have entered for the current CLI session. You can use any
commands in the history again by pressing the up (
y
) or down (
z
) arrow key to scroll through the previously used
commands and press [ENTER]. Use the history command to display the list of commands.
Figure 30-7 CLI: History Command Example
30.8 Saving Your Configuration
After you set the switch settings with the configuration commands, use the
write memory
command to save the
changes permanently.
Figure 30-8 CLI: write memory
The
write memory
command is not available in User mode.
You must save your changes after each CLI session. All unsaved configuration changes are lost
once you restart the switch.
30.8.1 Logging
Out
ras# write memory
ras> history
enable
exit
show ip
history
ras>
Summary of Contents for Dimension GS-3012
Page 1: ...GS 3012 GS 3012F Gigabit Ethernet Switch Version 3 60 LH 1 LR 1 12 2005 User s Guide...
Page 24: ......
Page 26: ......
Page 34: ......
Page 38: ......
Page 48: ......
Page 50: ......
Page 64: ......
Page 78: ......
Page 80: ......
Page 90: ...GS 3012 GS 3012F User s Guide 7 10 VLAN Figure 7 8 Port Based VLAN Setup All Connected...
Page 98: ......
Page 104: ......
Page 108: ......
Page 118: ......
Page 122: ......
Page 128: ......
Page 134: ...GS 3012 GS 3012F User s Guide 18 6 Classifier Figure 18 3 Classifier Example...
Page 140: ...GS 3012 GS 3012F User s Guide 19 6 Policy Rule Figure 19 3 Policy Example...
Page 154: ......
Page 164: ......
Page 178: ......
Page 193: ...Commands VII Part VII Commands This part gives information on the Command Line Interface CLI...
Page 194: ......
Page 222: ......
Page 246: ......