
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>
Содержание Dimension GS-3012
Страница 1: ...GS 3012 GS 3012F Gigabit Ethernet Switch Version 3 60 LH 1 LR 1 12 2005 User s Guide...
Страница 24: ......
Страница 26: ......
Страница 34: ......
Страница 38: ......
Страница 48: ......
Страница 50: ......
Страница 64: ......
Страница 78: ......
Страница 80: ......
Страница 90: ...GS 3012 GS 3012F User s Guide 7 10 VLAN Figure 7 8 Port Based VLAN Setup All Connected...
Страница 98: ......
Страница 104: ......
Страница 108: ......
Страница 118: ......
Страница 122: ......
Страница 128: ......
Страница 134: ...GS 3012 GS 3012F User s Guide 18 6 Classifier Figure 18 3 Classifier Example...
Страница 140: ...GS 3012 GS 3012F User s Guide 19 6 Policy Rule Figure 19 3 Policy Example...
Страница 154: ......
Страница 164: ......
Страница 178: ......
Страница 193: ...Commands VII Part VII Commands This part gives information on the Command Line Interface CLI...
Страница 194: ......
Страница 222: ......
Страница 246: ......
Страница 247: ...Appendices and Index VIII Part VIII Appendices and Index This part contains an appendix and an index...