Chapter 5 Cajun Campus CLI - Architecture, Access & Conventions
Cajun P332MF User’s Guide 31
case letters (do NOT use uppercase letters). The prompt will appear when you
have established communications with the Cajun P330.
Command Line Prompt
When you start the CLI, the initial prompt shows the number of the Master module
in the Cajun P330 stack. For example, if the stack Master is Module 5, counting
from the bottom up, then the prompt is:
Cajun_P330-5>
In this document the Module number in the prompt is generic and is represented
by “
N”.
If you wish to open a session with a Cajun P333R routing module in the stack or
reopen a session with the Master module, use the
session command (see
below).
The command prompt is not hierarchical in structure. If you wish to use several
commands, each beginning with the same keyword, you must retype all parts of
the command each time. For example, if after you want to set the system contact
and the system name you must type both
set system contact and set
system name
. However, you can use command abbreviations – see page 34.
Cajun P330 Sessions
You can use sessions to switch between P330 modules or to switch between Layer 2
and Layer 3 commands in the P333R CLI.
To switch between P330 modules use the command:
session [<mod_num>] <mode>
The <mod_num> is the number of the module in the stack, counting from the
bottom up. The <
mode> can be either switch or router. When Module Number is
not specified, the command switches between the modes in the local module. Use
switch mode to configure layer 2 and EZ2route commands. Use router mode to
configure routing commands.
Examples:
To configure router parameters in the module that you are currently logged into,
type the following command:
session router
To configure the switch parameters, on module 6, type the command:
session 6 switch
Note: When you use the session command the security level stays the same.