Avaya P330-ML-ML Switch User Manual


 
Chapter 1 Using the CLI
4 Avaya P330-ML Reference Guide
Universal Commands
Universal commands are commands that can be issued anywhere in the hierarchical
tree.
Top and Up commands
The Up command moves you up to the next highest level in the CLI command
hierarchy. The Top command moves you to the highest level.
Retstatus command
Use the retstatus command to show whether the last CLI command you
performed was successful. It displays the return status of the previous command.
The syntax for this command is: retstatus
Output Example:
P330 # set port negotiation 2/4 disable
Link negotiation protocol disabled on port 2/4.
Tree command
The tree command displays the commands that are available at your current
location in the CLI hierarchy.
The syntax for this command is: tree
P330 Sessions
You can use sessions to switch between the CLI of P330 modules / other stack
entities (for example, an X330 ATM or WAN entity plugged into a specific P330
switch or with the G700 Media Gateway Precessor) or to switch between Layer 2
and Layer 3 commands in the router module.
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, router, wan, atm, mgp.
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.