GS-4012F/4024 User's Guide
To enter Enable (or privileged) mode, type
default is 1234). When you enter the Enable mode, the command prompt changes to the pound
sign (
).
#
To enter the configuration mode, type
prompt consists of the word "
configuration modes: interface, router and VLAN.
• To enter config-vlan mode, type
example, enter
• To enter config-interface mode and configure the ports, enter
channel
• To configure the routing domain, enter
domain IP address and subnet mask bits (for example,
192.168.1.1/24
• Use the
Enter
exit
40.7 Using Command History
The switch keeps a list of up to 256 commands you have entered for the current CLI session.
You can use any commands in the history again by pressing the up ( ) or down ( ) arrow key
to scroll through the previously used commands and press
to display the list of commands.
Figure 157 CLI: History Command Example
ras> history
enable
exit
show ip
history
ras>
40.8 Saving Your Configuration
After you set the switch settings with the configuration commands, use the
command to save the changes permanently.
Figure 158 CLI: write memory
ras# write memory
241
config
to configure settings for VLAN 10.
vlan 10
followed by a port number. For example,
).
commands to configure the routing protocol settings.
router
or
to quit from the current mode or log out from the CLI.
logout
and enter a password when prompted (the
enable
or
configure
config
" and the pound sign (
#
followed by a number (between 1 to 4094). For
vlan
interface port-channel 10
interface route-domain
interface route-domain
[ENTER]
Chapter 40 Introducing the Commands
. The Configure mode command
). There are various sub
interface port-
followed by the
. Use the history command
write memory
.