Avaya P332MF Manuel D’Utilisation

Page de 182
Chapter 5
Avaya CLI – Architecture, Access & Conventions
Avaya P332MF User’s Guide
33
Command Line Prompt
When you start the CLI, the initial prompt shows the number of the Master module 
in the Avaya P330 stack. For example, if the stack Master is Module 5, counting from 
the bottom up, then the prompt is:
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 an Avaya P333R-LB 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.
Avaya 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 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.