Chapter 2
Using RUGGEDCOM ROX II
In this example, a command is issued to ports 1, 2 and 4 on LM1, LM2 and LM4:
ruggedcom(config)# interface switch lm1-2,4 1-2,4
When available, the range parameter can be included before the value range:
ruggedcom(config)# interface switch range lm1-3 1-6
Section 2.6.9
Common Commands
The following sections describe common commands that can be used in the CLI:
•
Section 2.6.9.1, "Basic CLI Commands"
•
Section 2.6.9.2, "File Commands"
•
Section 2.6.9.3, "Interface and Services Commands"
•
Section 2.6.9.4, "Administration Commands"
•
Section 2.6.9.5, "Configuration Mode General Commands"
Section 2.6.9.1
Basic CLI Commands
Use the following commands to perform basic CLI functions.
Parameter
exit [ level | configuration-mode | no-confirm ]
help command
id
logout [ logout | sessionid ]
quit
send [ all | admin ] message
30
Description
Default: level
Exits from the current mode.
• level exits from the current mode. If performed at the top level,
this command exits from the configuration mode.
• configuration-mode exits from configuration mode regardless
of mode.
• no-confirm exits from configuration mode without prompting the
user to commit any pending changes.
Displays help text for the specified command.
Displays the current user's information. For example:
ruggedcom# id
user = admin(0), gid=0, groups=admin, gids=
Terminates the specified session. A session can by specified based
on its user ID or session ID.
Logs out of and ends the CLI session.
Sends a message to all users of the specified type. The message
appears in both the CLI and web interface. For example:
ruggedcom# send all "Rebooting at
midnight!"Message from admin@ruggedcom at
2011-02-15 08:42:49...
Rebooting at midnight!
RUGGEDCOM ROX II
CLI User Guide
Common Commands