Index of Layer 2 CLI Commands................................................................. 297
Index of Layer 3 CLI Commands................................................................. 301
xiiAvaya P330-ML Reference Guide
Page 15
Chapter 1
Using the CLI
This chapter describes the Avaya P330 CLI architecture and conventions, and
provides instructions for accessing the Avaya P330 for configuration purposes.
The configuration procedure involves establishing a Telnet session or a serial
connection and then using the Avaya P330’s internal CLI.
The CLI is command-line driven and does not have any menus. To activate a
configuration option, you must type the desired command at the prompt and press
Enter.
You can also configure your Avaya P330 using the P330 Manager with its graphical
user interface. For details, see the switch User’s Guide and the Avaya™
MultiService Network Manager P330 Device Manager User’s Guide on the
Documentation and Utilities CD.
CLI Architecture
The P330 stack supports both Layer 2 switching and Layer 3 routing (Layer 3
functionality depends on the module type).
The P330 CLI includes two CLI entities to support this functionality.
•The Switch CLI entity is used to manage Layer 2 switching of the entire stack.
The Switch CLI entity is identical to the CLI of a P330 Layer 2 modules.
CLI commands for managing Layer 2 switching are described in Chapter 2.
•The Router CLI entity is used to manage Layer 3 routing of a single module. The
Router CLI entity exists only in Layer 3 modules (P333R, P333R-LB and
P330-ML). CLI commands for managing Layer 3 routing are described in
Chapter 3.
If the Layer 3 module is the Stack Master, then the Switch CLI entity and the Router
CLI entity co-exist on the same module.
To switch between the entities, use the session command.
Configuration of the password commands and community commands in one
entity is automatically attributed to the other entity in the stack.
Initial access to the stack can be established via a serial connection or a Telnet
connection to any one of the entities.
Avaya P330-ML Reference Guide1
Page 16
Chapter 1 Using the CLI
Conventions Used
The following conventions are used in this chapter to convey instructions and
information:
•Mandatory keywords are in boldface.
•Variables that you supply are in pointed brackets <>.
•Optional keywords are in square brackets [].
•Alternative but mandatory keywords are grouped in braces {} and separated by
a vertical bar |.
•If you enter an alphanumeric string of two words or more, enclose the string in
inverted commas.
•Information displayed on screen is displayed in text font.
CLI Help
The CLI has its own Help utility. Use the following key sequences to operate the CLI
Help:
•To display all commands available in a context type a question mark.
•To display all commands starting with a certain string, type the first few letters
followed by a question mark.
•To get help containing all commands parameters with their legal values as well
as its syntax and an example, type a question mark at the end of command or at
the stage where it is unique.
•Use the Tab key to complete an unambiguous command.
Example: Router> show?
Command Line Prompt
Navigation, Cursor Movement and Shortcuts
The CLI contains a simple text editor with these functions:
Table 1.1Navigation, Cursor Movement and Shortcuts
KeyboardFunctions
BackspaceDeletes the previous character
Up arrow/Down arrowScrolls back and forward through the command
history buffer
Left arrow/Right arrowMoves the cursor left or right
2Avaya P330-ML Reference Guide
Page 17
Table 1.1Navigation, Cursor Movement and Shortcuts
KeyboardFunctions
TabCompletes the abbreviated command. Type the
EnterExecutes a single-line command
“ “If you type a name with quotation marks, the
Command Syntax
Commands are not case-sensitive. That is, uppercase and lowercase characters may
be interchanged freely.
Command Abbreviations
All commands and parameters in the CLI can be truncated to an abbreviation of any
length, as long as the abbreviation is not ambiguous. For example, version can
be abbreviated ver.
For ambiguous commands, type the beginning letters on the command line and
then use the Tab key to toggle through all the possible commands beginning with
these letters.
Chapter 1 Using the CLI
minimum number of characters unique to the
command. An exception is the Reset System
command which you must type in full.
marks are ignored.
Avaya P330-ML Reference Guide3
Page 18
Chapter 1 Using the CLI
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.
4Avaya P330-ML Reference Guide
Page 19
Chapter 1 Using the CLI
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.
Note: Use the session command without any parameters to identify the stack
master and its slot number. It will list all the modules in the stack and their slot
number with the master module marked with an asterisk.
Avaya P330-ML Reference Guide5
Page 20
Chapter 1 Using the CLI
Security Levels
There are four security access levels – User, Privileged, Configure and Supervisor.
•The User level is a general access level used to show system parameter values.
•The Privileged level is used by site personnel to access stack configuration
options.
•The Configure level is used by site personnel for Layer 3 configuration.
•The Supervisor level is used to define user names, passwords, and access levels
of up to 10 local users.
A login name and password are always required to access the CLI and the
commands. The login names and passwords, and security levels are established
using the username command.
Switching between the entities, does not effect the security level since security levels
are established specifically for each user. For example, if the operator with a
privileged security level in the Switch entity switches to the Router entity the
privileged security level is retained.
Entering the Supervisor Level
The Supervisor level is the level in which you first enter Cajun Campus CLI and
establish user names for up to 10 local users. When you enter the Supervisor level,
you are asked for a Login name. Type root as the Login name and the default
password root (in lowercase letters):
Welcome to P330
Login: root
Password:****
Password accepted.
P330-N(super)#
Defining new users
Define new users and access levels using the username command in Supervisor
Level.
Exiting the Supervisor Level
To exit the Supervisor level, type the command exit.
6Avaya P330-ML Reference Guide
Page 21
Entering the CLI
To enter the CLI, enter your username and password. Your access level is indicated
in the prompt as follows:
The User level prompt is shown below:
P330-N>
The Privileged level prompt is shown below:
P330-N#
The Configure level prompt for Layer 3 configuration is shown below:
P330-N(configure)#
The Supervisor level prompt is shown below:
P330-N(super)#
Entering the Technician Level
This level is can only be accessed from the Privileged and Supervisor levels not from
the User level.
This feature is not documented and is for use by Avaya Technical Support only.
Warranty
Chapter 1 Using the CLI
Avaya Inc. provides a limited warranty on this product. Refer to your sales
agreement or other applicable documentation to establish the terms of the limited
warranty. In addition, Avaya’s standard warranty language as well as information
regarding support for this product, while under warranty, is available through the
following website: http://www.avaya.com/support.
Notice
Every effort was made to ensure that the information in this document was
complete and accurate at the time of printing. However, information is subject to
change.
Avaya Support
Avaya provides a telephone number for you to use to report problems or to ask
questions about your contact center. The support telephone number is 1-800-2422121 in the United States. For additional support telephone numbers, see the Avaya
Web site: http://www.avaya.com
Avaya P330-ML Reference Guide7
Page 22
Chapter 1 Using the CLI
8Avaya P330-ML Reference Guide
Page 23
Chapter 2
Avaya P330-ML Layer 2 CLI Commands
This chapter describes all the P330-ML Layer 2 CLI commands and parameters in
alphabetical order.
clear cam
User level: privileged, supervisor.
Use the clear cam command to delete all entries from the CAM table.
The syntax for this command is:
clear cam
Example:
P330-N# clearcam
CAM table cleared.
clear dot1x config
User level: supervisor
Use the clear dot1x config command to disable dot1x on all ports and return
values to the default settings..
The syntax for this command is:
clear dot1x config
Example:
P330-N# cleardot1x config
Original Configuration was Restored
Avaya P330-ML Reference Guide9
Page 24
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
clear dynamic vlans
User level: privileged, supervisor.
L This command is available on the P330-ML-ML only.
Use the clear dynamic vlans command to clear dynamically learned VLANs.
Only the VLANs learned by the switch from incoming traffic are cleared using this
command.
The syntax for this command is:
clear dynamic vlans
Example:
P330-N# cleardynamicvlans
This command will delete all the vlans that were
dynamically learned by the device - do you want to continue
(Y/N)? y
Dynamic vlans were deleted from device tables
clear log
User level: privileged, supervisor.
Use the clear log command to delete the log file of a switch.
The syntax for this command is:
clear log [<module]
module
Number of switch (1...10)
(Optional)
Example:
P330-N# clearlog
Cleared all logfiles.
clear logging file
User level: privileged, supervisor.
Use the clear logging file command to delete the log file and open an empty
one.
The syntax for this command is:
clear logging file
10Avaya P330-ML Reference Guide
Page 25
Example:
P330-N>clear logging file
Done!
clear logging server
User level: privileged, supervisor.
Use the clear logging server command to delete a Syslog server from the
Syslog server table.
The syntax for this command is:
clear logging server <ip-address>
ip-addressThe IP address of the Syslog server.
Example:
P330-N# clear logging server 149.49.38.22
Done!
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
clear port mirror
User level: privileged, supervisor.
Use the clear port mirror command to cancel port mirroring.
The syntax for this command is:
clear port mirror [<source module>/<source port>/<dest
module>/<dest port>]
source moduleSource module number
source portSource port number
dest moduleDestination module number
dest portDestination port number
Example:
P330-N# clearportmirror 1/2/1/4
this command will delete the port mirror entry
- do you want to continue (Y/N)? y
Mirroring packets from port 1/2 to port 1/4 is cleared
Avaya P330-ML Reference Guide11
Page 26
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
clear port static-vlan
User level: privileged, supervisor.
Use the clear port static-vlan command to delete VLANs statically
configured on a port.
The syntax for this command is:
clear port static-vlan [module/port range][vlan num]
module/port rangePort range
vlan numThe VLAN to unbind from the port
Example:
P330-N# clearport static-vlan3/10 5
VLAN 5 is unbound from port 3/10
clear radius authentication server
User level: supervisor
Removes a primary or secondary RADIUS authentication server.
Use the clear timezone command to reset the time zone to its default value UTC
(Coordinated Universal Time)
The syntax for this command is:
clear timezone
Example:
P330-N# cleartimezone
Timezone name and offset cleared.
clear utilization cpu
User level: privileged, supervisor.
Use the clear utilization cpu command to disable CPU utilization
monitoring on the specified module.
14Avaya P330-ML Reference Guide
Page 29
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
clear utilization cpu <module-number>
clear vlan
modulenumber
The module number for which CPU utilization monitoring is
disabled.
Example:
P330-N# clear utilization cpu 1
CPU utilization is cleared on module 1
User level: privileged, supervisor.
Use the clear vlan command to delete an existing VLAN and return ports from
this VLAN to the default VLAN #1. When you clear a VLAN, all ports assigned to
that VLAN are assigned to the default VLAN #1.
The syntax for this command is:
clear vlan [<vlan-id>|name <vlan_name>]
vlan_idVLAN number
vlan_nameVLAN name
If you wish to enter a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
Example:
P330-N# clear vlan 100
This command will assign all ports on vlan 100 to their
default in the entire management domain - do you want to
continue (Y/N)? y
VLAN 100 was deleted successfully
copy module-config scp
User level: supervisor
Use the copy module-config scp command to upload the switch-level
parameters from the current NVRAM running configuration into a file via SCP.
Username: 330user
Password:
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy module-config tftp
User level: supervisor
Use the copy module-config tftp command to upload the switch-level
parameters from the current NVRAM running configuration into a file via TFTP.
The syntax for this command is:
copy module-config tftp <filename> <ip> <mod_num>
filenameThe file name (full path)
ipThe IP address of the TFTP server
mod-numThe switch number
16Avaya P330-ML Reference Guide
Page 31
Example:
P330-N# copy module-config tftp c:\config\switch1.cfg 192.168.49.10 5
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show tftp upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy running-config scp
User level: supervisor
Use the copy running-config scp command to upload the current
switch-level parameters from the current NVRAM running configuration into a file
via SCP.
Username: 330user
Password:
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy running-config startup-config
User level: supervisor
L This command applies to the P334T-ML only when it is in “Layer2”
device mode.
Use the copy running-config startup-config command to copy the active
policy configuration to the startup configuration file in the NVRAM.
The syntax for this command is:
copy running-config startup-config
Example:
P330-N# copy running-config startup-config
copy running-config tftp
User level: supervisor
L This command applies to the P334T-ML only when it is in “Layer2”
device mode.
Use the copy running-config tftp command to upload the policy
configuration to a TFTP server.
The syntax for this command is:
copy running-config tftp <filename> <ip>
filenameDestination file name in the tftp server (full path).
Use the copy scp module-config command to download a module
configuration to the device via SCP.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
The syntax for this command is:
copy scp module-config <filename> <ip>
filenameSource file name on the SCP server (full path).
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy scp stack-config
User level: supervisor
Use the copy scp stack-config command to download a stack configuration
to the device via SCP.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
copy scp stack-config <filename> <ip>
filenameSource file name on the SCP server (full path).
ipThe ip address of the SCP server.
Avaya P330-ML Reference Guide21
Page 36
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example (for Windows):
P330-N# copy scp stack-config c:\P330-ML\stack.cfg 149.49.100.41
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
Example: (for Unix):
P330-N# copy scp stack-config /folder/P330-ML/stack.cfg 149.49.100.41
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
22Avaya P330-ML Reference Guide
Page 37
copy scp startup-config
User level: supervisor
Use the copy scp startup-config command to download a startup
configuration to the device via SCP.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
The syntax for this command is:
copy scp startup-config <filename> <ip>
filenameSource file name on the SCP server (full path).
ipThe ip address of the SCP server.
Example (for Windows):
P330-N# copy scp startup-config c:\P330-ML\startup.cfg 149.49.100.41
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
Username: 330user
Password:
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show download status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy stack-config scp
User level: supervisor
Use the copy stack-config scp command to upload the switch-level
parameters from the active bank into a file via SCP.
Username: 330user
Password:
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy stack-config tftp
User level: supervisor
Use the copy stack-config tftp command to upload the stack-level
parameters from the current NVRAM running configuration into a file via TFTP.
L Create the file into which you wish to upload the stack-level parameters prior to
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
Avaya P330-ML Reference Guide25
Page 40
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
copy startup-config scp
User level: supervisor
Use the copy startup-config scp command to upload the switch-level
startup configuration from the active bank into a file via SCP.
Username: 330user
Password:
Beginning upload operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
For more information , use 'show upload status' command
********************************************************************
* If you are currently running the P330-ML Device Manager
application,*
* it is recommended to exit from it before performing configuration*
* download operations. *
********************************************************************
copy startup-config tftp
User level: supervisor
L This command applies to the P334T-ML only when it is in “Layer2”
device mode.
Use the copy startup-config tftp command to download a policy
configuration from a TFTP server.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
26Avaya P330-ML Reference Guide
Page 41
The syntax for this command is:
copy startup-config tftp <filename> <ip>
filenameDestination file name in the tftp server (full path).
Use the copy tftp module-config command to download the switch-level
configuration from a saved file into the current NVRAM running configuration of a
switch from a TFTP server.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
Use the copy tftp stack-config command to download the stack-level
configuration from a saved file into the current NVRAM running configuration
from a TFTP server.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
L This command applies to the P334T-ML only when it is in “Layer2”
device mode.
Use the copy tftp startup-config command to download a startup
configuration from the saved TFTP file to the Startup Configuration file in the
NVRAM.
L Only parameters that differ from the factory default settings for the switch are
included in the configuration file. Therefore, it is important to reinitialize the
NVRAM to the factory default settings before downloading configuration files
to the switch. To reinitialize the NVRAM, run the nvram initialize
command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
copy tftp startup-config <filename> <ip>
filenameDestination file name in the tftp server (full path)
Use the copy tftp SW_image command to download a new firmware software
version into bank B while either keeping the old version in bank A, or downloading
the Embedded Web manager software into bank A.
L This command applies to P333T-PWR switches only and is used by P330-
ML-ML switches to control P333T-PWR modules in the stack.
Use the copy tftp SW_powerinline_image command to update the inline
software application from a TFTP server to the memory of a designated module.
You need to be in privilege mode to execute this command.
L Before executing the download, the following checks will be performed by
embedded SW, on the TFTP server file:
— Ensure that the file size is within its allocated space.
— Check that the file contains embedded web SW for this application
— Verify file validity by calculating the checksum.
crypto key generate dsa
User level: supervisor
Use the crypto key generate command to create the host key.
32Avaya P330-ML Reference Guide
Page 47
dir
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
crypto key generate dsa [key-size <key-length>]
key-sizeA keyword specifying that the key lenght is provided
by the user.
key-lengthThe number of bits in the key.
Possible values are: 512 – 2048. The default is 768 bits.
Example:
P330-ML-2# crypto key generate dsa key-size 768
Generating DSA key, This command may take a few minutes...
......................................
Key was created!
Key version: SSH2, DSA
Key Fingerprint:
a5:f8:4a:5d:c5:b5:9c:b5:26:51:2b:36:02:c0:18:a4
User level: user, privileged, supervisor
Use the dir command to show the file types that have been downloaded to the
switch.
The syntax for this command is:
dir [module_number]
Example:
P330-N>dir
M# file ver num file type file location file description
fileThere are several files loaded into the switch’s memory:
• module-config – file which contains the configuration
settings made to this switch
• stack-config – file which contains the configuration settings
made at the stack level (for example IP address of the stack)
• EW_Archive – file which contains the Device Manager
(Embedded Web) software
• Booter_Image - file containing the booter code executed
after rest. This file Can’t be replaced by the user.
• startup-config - file which contains the startup (saved in
NVRAM) configuration for policy and routing in the P330ML-ML, P333R, and P333R-LB
• running-config - file which contains the running (currently
active) configuration for policy and routing in the P330-MLML, P333R, and P333R-LB
ver numS/W Version number – relevant only for Device Manager and
Booter image.
file typeThere are several file types:
• Running Conf – the configuration currently in use.
• Startup-config - startup configuration for policy and routing
in the P330-ML-ML, P333R, and P333R-LB
• SW boot image - Booter file
• SW Web Image – Device Manager S/W archive file
file locationType of internal memory into which the file is loaded
file descriptionDescription of the file
L If N/A is displayed for the EW_Archive file, this means that the Device
Manager software is not loaded correctly. Download the Device Manager
software again.
disconnect ssh
User level: supervisor
Use the disconnect ssh command to disconnect an SSH session.
34Avaya P330-ML Reference Guide
Page 49
get time
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
disconnect ssh <session-id>
session-idThe SSH session ID. Use the show ssh command to
learn an SSH session ID.
Example:
P330-ML-2# disconnect ssh 0x508622f0
You are about to close this session - do you want to
continue (Y/N)? y
Closing session 0x508622f0
User level: privileged, supervisor.
Use the get time command to retrieve the time from the network.
The syntax for this command is:
get time
Example:
P330-N>gettime
Time is being acquired from server 0.0.0.0
Time has been acquired from the network.
help
User level: user, privileged, supervisor
Use the help command to print a list of all possible commands at the current level.
If a command is specified and has no further sub-command(s), the help for that
command is printed. If the command has a further sub-command, a brief
description of the sub-command is printed.
Use the hostname command to change the Command Line Interface (CLI)
prompt. The current module number always appears at the end of the prompt.
Use the no hostname command to return the CLI prompt to its default.
The syntax for this command is:
[no] hostname [<hostname_string>]
hostname_string• none – displays current hostname
• string – the string to be used as the hostname (up to 20
characters).
Examples:
P330-N# hostname
Session hostname is ‘P330-ML’
P330-N# hostname“gregory”
gregory-N#
gregory-N# no hostname
P330-N#
L If you wish to enter a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
ip access-list
User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access list command to create a specific policy rule. The access list
36Avaya P330-ML Reference Guide
Page 51
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
contains several of these rules: each rule pertains to the source IP address, the
destination IP address, the protocol, the protocol ports (if relevant), and to the ACK
bit (if relevant).
Use the no ip access list command to delete a specific rule.
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-list-dscp operation command to set a DSCP to CoS
mapping. The system performs the mapping for only those frames than match an
ACL rule with a ‘permit’ action.
The syntax for this command is:
ip access-list-dscp operation <policy-list-number> <dscp>
<action>
policylist-
A valid id number for a policy list currently defined for the module
(100..149)
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-list-dscp trust command to decide which original
frame priority to trust for the placement of the frame in the internal priority queues.
The syntax for this command is:
ip access-list-dscp trust <policy-list-number>
{untrusted|trust-cos |trust-dscp }
policy-listnumber
A valid id number for a policy list currently defined for the module
(100...149)
untrustedForward the packet with priority 0
trust-cosForward the packet with its original 802.1p priority (default)
trust-dscpForward the packet with the maximum priority between 802.1p and
the priority obtained from the DSCP-CoS mapping table
Use the ip telnet enable command to enable Telnet access to the device.
The syntax for this command is:
ip telnet enable
Example:
P330-N# ip telnet enable
Done!
Avaya P330-ML Reference Guide43
Page 58
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
ip telnet-client enable
User level: supervisor
Use the ip telnet-client enable command to enable the device to act as a
Telnet client.
L This command can only be run from the console port on the device.
The syntax for this command is:
ip telnet-client enable
Example:
P330-N# ip telnet-client enable
Done!
no ip http
User level: supervisor
Use the no ip http command to disable HTTP access to the device.
The syntax for this command is:
no ip http
Example:
P330-N# no ip http
Done!
no ip icmp redirect
User level: supervisor
Use the no ip icmp redirect command to disable ICMP redirects via the
device.
The syntax for this command is:
no ip icmp redirect
Example:
P330-N# no ip icmp redirect
Done!
44Avaya P330-ML Reference Guide
Page 59
no ip ssh
no ip telnet
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: supervisor
Use the no ip ssh command to disable the SSH server.
The syntax for this command is:
no ip ssh
Example:
P330-N# noip ssh
This will prevent future remote SSH sessions and disconnect
all active SSH sessions - do you want to continue (Y/N)? y
Shutting down all active sesssions
User level: supervisor
Use the no ip telnet command to disable Telnet access to the device.
The syntax for this command is:
no ip telnet
Example:
P330-N# no ip telnet
This will prevent future remote telnet sessions and
disconnect all active telnet sessions - do you want to
continue (Y/N)? y
Done!
no ip telnet-client
User level: supervisor
Use the no ip telnet-client command to disable the device from acting as a
Telnet client.
L This command can only be run from the console port on the device.
The syntax for this command is:
no ip telnet-client
Avaya P330-ML Reference Guide45
Page 60
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# no ip telnet-client
Done!
no rmon alarm
User level: privileged, supervisor.
Use the no rmon alarm command to delete an existing RMON alarm entry.
The syntax for this command is:
no rmon alarm <Alarm Index>
Alarm IndexAlarm index defined using rmon alarm command or P330-
ML Manager
Example:
P330-N# normonalarm1026
no rmon event
User level: privileged, supervisor.
Use the no rmon event command to delete an existing RMON event entry.
The syntax for this command is:
no rmon event <Event Index>
Event IndexEvent index defined using rmon event command or P330-
ML Manager
P330-N# normonevent1054
46Avaya P330-ML Reference Guide
Page 61
no rmon history
no snmp-server
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: privileged, supervisor.
Use the no rmon history command to delete an existing RMON history entry.
The syntax for this command is:
no rmon history <History Index>
History IndexHistory index defined using rmon history command or
RMON management tool
Example:
P330-N# normonhistory1026
User level: supervisor
Use the no snmp-server command to deny SNMP access to the device.
The syntax for this command is:
no snmp-server
Example:
P330-N# nosnmp-server
Done!
no snmp-server engineID
User level: supervisor
Use the no snmp-server engineID command to return to the default SNMP
engineID.
The syntax for this command is:
no snmp-server engineID
Example:
P330-N# nosnmp-server engineID
EngineID return to default
Done!
Avaya P330-ML Reference Guide47
Page 62
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
no snmp-server community
User level: supervisor
Use the no snmp-server community command to deny access to the device
using community strings.
The syntax for this command is:
no snmp-server community
Example:
P330-N# nosnmp-server community
Done!
no snmp-server group
User level: supervisor
Use the no snmp-server group command to remove a specified SNMP group.
When a security module is not provided, all instances of the group are removed. If a
security model and level are specified, then only corresponding group instance is
removed
The syntax for this command is:
no snmp-server group <groupname> {v1 | v2c | v3 {noauth | auth
| priv}}
groupnameThe name of the SNMP group.
v1, v2c, v3The security model to remove from the group.
noauth,
auth, priv
Keywords that specifies the type of authentication model
instance to remove from the group.
• noauth
• auth
• priv
Example:
P330-1(super)# no snmp-server group newgroupG v3 noauth
Done!
48Avaya P330-ML Reference Guide
Page 63
no snmp-server host
User level: supervisor
Use the no snmp-server host command to either delete the host from the trap
recipients list or, if notifications types are specified in the command, disable the
specified notifications for the host.
The syntax for this command is:
no snmp-server host <host-addr> [<notification-type-list>]
host-addrSpecifies the address (or host name) of the notification recipient
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
agent. The maximum length is 32 bytes.
notification
-type-list
(Optional)
List of notification types. Each types combines related
notifications. You can disable notification generations on a per
group basis. For example, the swRedundancy type groups new
and delete software redundancy notifications.
If no notification-type-list is specified, the default, all, is used.
• all/* – All traps
• generic – Generic traps
• config – Config change notifications
• eth-port-faults – Ethernet port fault notifications
• l3-faults – Layer 3 faults, including duplicate IP and
VLAN violations
• lag-event – Link aggregation faults and configuration
changes
• policy – Changes in policy notifications (for L3 devices)
• link-down-faults – ITC proprietary link down
notifications
• supply – Power supply notifications (main and backup)
• fan – FAN faults notifications (main and backup)
• cascade – Cascade connection fault notifications.
Note that the list of notification names is proprietary to ITC.
Avaya P330-ML Reference Guide49
Page 64
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N>no snmp-server host 149.49.38.221
Done!
no snmp-server notifications
User level: supervisor
Use the no snmp-server notifications command to disable all available
SNMP notifications.
The syntax for this command is:
no snmp-server notifications
Example:
P330-N# nosnmp-server notifications
Done!
no snmp-server remote-user
User level: supervisor
Use the no snmp-server remote-user command to remove a remote user
configured to receive SNMP notifications.
The syntax for this command is:
no snmp-server remote-user <username> <engine-id>
usernameVariable that specifies the name of the SNMP user. The
maximum length is 32 bytes.
engine-idThe SNMP engine ID of the remote host.
Example:
P330-1(super)# no snmp-server remote-user CharlieBrown
1a:e9:00:00:01:95:31:8a:9d
Done!
no snmp-server user
User level: supervisor
Use the no snmp-server user command to remove an SNMP user account.
50Avaya P330-ML Reference Guide
Page 65
The syntax for this command is:
no snmp-server user <username> {v1 | v2c | v3}
usernameVariable that specifies the name of the SNMP user. The
v1, v2c, v3The security model assigned to the user in user to group
Example:
P330-1(super)# no snmp-server user CharlieBrown v3
Done!
no snmp-server view
User level: supervisor
Use the no snmp-server view command to remove a view or remove OIDs from
a view.
The syntax for this command is:
no snmp-server view <view-name> [<oid-tree>]
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
maximum length is 32 bytes.
association.
view-nameName of the view.
oid-treeObject identifier (OID) of the ASN.1 subtree to be removed
from the view. To identify the subtree, specify a text string
consisting of numbers, such as 1.3.6.2.4. To specify a subtree
family, use the asterisk as a wildcard character. For example,
1.3.6.1.2.1.2.2.1.*.1 excludes access from all elements of the first
row in IfTable.
Symbolic MIB object names are not supported.
Example:
P330-N>no snmp-server view initial2
Done!
no username
User level: supervisor
Use the no username command to remove a local CLI user account.
Avaya P330-ML Reference Guide51
Page 66
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
no username <name>
nameUser name
Example:
P330-1(super)# nousernamejohn
User account removed.
If you wish to delete a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
L You cannot delete the default user account “root”.
nvram initialize
User level: privileged, supervisor.
Use the nvram initialize command to reset the configuration parameters to
their factory defaults.
The syntax for this command is:
nvram initialize {switch | all}
switchResets all the switching parameters (Layer 2 only) throughout
the stack
allResets all parameters including licenses and routing
parameters of the Layer 3 switches present in the stack
Example:
P330-N# nvraminitialize
This command will restore factory defaults, and can
disconnect your telnet session
*** Reset *** - do you want to continue (Y/N)? y
Connection closed by foreign host
ping
User level: user, privileged, supervisor
Use the ping command to send ICMP echo request packets to another node on the
network.
L You can use this command via the master switch only.
52Avaya P330-ML Reference Guide
Page 67
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
ping [host[number]]
hostHost IP address/Internet address of route destination. If missing,
then the host IP address specified in the last ping command is used.
numberNumber of packets to send. If missing, then the number specified in
the last ping command is used. If the last number is not available, the
default is 4.
Example: to ping the IP address 149.49.48.1 three times:
P330-N>ping149.49.48.1 3
PING 149.49.48.1: 56 data bytes
64 bytes from 149.49.48.1: icmp_seq=0. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=1. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=2. time=0. ms
Use the prompt-length command to specify the length of the default CLI
prompt.
The syntax for this command is:
prompt-length <full|<prompt-size>>
fullDisplay the full length of the prompt
prompt-
Set the length in characters of the prompt to display
size
Example:
P330-ML-1(super)# prompt-length 4
~r)#
reset
Avaya P330-ML Reference Guide53
Page 68
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: user, privileged, supervisor
Use the reset command to restart the stack or an individual switch. If no switch
number is defined or the switch number of the Master is defined, the command
resets the entire stack. If the switch number is defined, the command resets the
specified switch only.
The syntax for this command is:
reset {module number}
Example:
To reset the Master agent and force the entire stack to reset:
P330-N# reset
This command will force a switch-over to the master module
and disconnect your telnet session.
Do you want to continue (y/n) [n]? y
Connection closed by foreign host.
To reset switch 4:
P330-N# reset4
This command will reset module 4 and may disconnect your
telnet session.
Do you want to continue (y/n) [n]? y
Resetting module 4...
reset mgp
User level: privileged, supervisor.
Use the reset mgp command to perform a software reset in the G700 Media
Gateway Processor.
The syntax for this command is:
reset mgp [module]
moduleModule number of the MGP
Example:
P330-N# resetmgp1
54Avaya P330-ML Reference Guide
Page 69
reset stack
reset wan
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: privileged, supervisor.
Use the reset stack command to perform a hardware reset of the entire stack.
The syntax for this command is:
reset stack
User level: user, privileged, supervisor
Use the reset wan command to perform a software reset in the X330 WAN Access
Router Module.
The syntax for this command is:
reset wan [module][bank-a]
To reset a WAN module residing on switch 2:
module Optional - the module number where the WAN module to be
reset resides.
bank-aOptional - boot the WAN module from bank-a after reset.
retstatus
User level: supervisor
Use the retstatus to display the return status of the previously executed
command.
The syntax for this command is:
retstatus
Example:
P330-N# retstatus
Succeeded
Avaya P330-ML Reference Guide55
Page 70
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
rmon alarm
User level: privileged, supervisor.
Use the rmon alarm command to create a new RMON alarm entry.
Use the rmon history command to create an RMON history entry.
The syntax for this command is:
rmon history <history index> [<module>[</port>]] interval
<interval> buckets <number of buckets> owner <owner name>
history_indexHistory index number of this entry (it is advisable to use the
same interface number as your history index number).
module/portThe switch number/the port number.
intervalThe interval between 2 samples.
number of
The number of buckets defined.
buckets
Avaya P330-ML Reference Guide57
Page 72
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
owner nameThe owner name string.
Example:
P330-N# rmonhistory 1026 1026 3/2 30 buckets 20 owner amir
history 1026 was created successfully
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
session
User level: user, privileged, supervisor
Use the session command to open a session with a specific entity within a switch
or the stack. For example, you can open a session with the Routing entity of a
P330-ML-ML switch in the stack, or with an the X330 ATM (or X330 WAN) submodule entity plugged into a specific switch.
L Layer 2 commands are only available if you open a switch session with the
Master switch.
L When you use the session command the security level stays the same.
If you do not specify this parameter, you will
get the list of modules within the stack.
switch|router|atm|mgp|wan(optional) The entity to which you want to
open a session. If you do not specify this
parameter, you will get the default entity of the
specific module:
switch - Layer 2 entity of the switch (see Note
below).
router - Routing entity.
atm - ATM entity.
mgp - Media Gateway Processor.
wan - WAN access router entity.
Use the session command without any parameters to identify the stack master
and its slot number. It will list all the modules in the stack and their slot number
with the master module marked with an asterisk.
58Avaya P330-ML Reference Guide
Page 73
Example:
P330-1# session2
P330-2# session
P333T (*) In Slot 1
P334T In Slot 2
P330-2#
set allowed managers
User level: privileged, supervisor.
Use the set allowed managers command to enables or disable the Allowed
Managers feature.
When this feature is enabled, only those stations whose IP addresses are listed in the
Allowed Managers table can access the device over Telnet, SNMP, or HTTP.
The syntax for this command is:
set allowed managers [enabled|disabled]
Example:
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
P330-1(super)# setallowedmanagersenabled
Managers are enabled
set allowed managers ip
User level: privileged, supervisor.
Use the set allowed manager ip command to add or remove an IP address
from the Allowed Managers table. The Allowed Managers table can contain up to
twenty IP addresses.
The syntax for this command is:
set allowed managers ip [add | delete][IP address]
addAdds specified IP address to the Allowed Managers
table
deleteDeletes specified IP address from the Allowed
Managers table
IP addressIP address to be added or removed
Avaya P330-ML Reference Guide59
Page 74
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# setallowed managers ip add 149.49.32.134
Ip was added to the table
set arp-aging-interval
User level: privileged, supervisor.
Use the set arp-aging interval command to set the ARP table aging interval
for entries in the agent Layer 2 ARP table.
The entry is deleted at the end of every aging interval. The default value is 10
minutes.
The syntax for this command is:
set arp-aging-interval <value>
valueThe number representing the interval, from 0-10 minutes. 0 -
arp-aging interval is 20 minutes.
Example:
P330-N# set arp-aging-interval10
ARP table aging interval was set to 10 minutes.
set arp-tx-interval
User level: privileged, supervisor.
Use the set arp-tx-interval command to set the keep-alive frames sending
interval. The keep-alive frames in ARP packets for the P330-ML agent are used to
ensure connectivity with the P330-ML agent is always achieved.
The syntax for this command is:
set arp-tx-interval <value>
valueThe interval in seconds. (0-3600)
0 disables the transmission of the keep-alive frames.
Example:
P330-N# set arp-tx-interval15
ARP tx interval was set to 15 seconds.
60Avaya P330-ML Reference Guide
Page 75
set autopartition
User level: privileged, supervisor.
L This command is not relevant to P330-ML-ML switches. It appears in the P330-
Use the set autopartition command to enable or disable auto-partitioning on
P330-ML switches in the stack.
The syntax for this command is:
set autopartition <value>[module]
Example:
set boot bank
User level: privileged, supervisor.
L This command is not available on the P333R and P333R-LB.
Use the set boot bank command to configure the software bank from which the
switch will boot at the next boot process. This command should be issued separately
for each switch in the stack using the session command first.
L If you wish to execute this command on a switch other than the stack master,
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
ML-ML CLI for controlling autopartition of other P330-ML switches in the
stack.
valueenable/disable
modulemodule slot number
P330-N# set autopartition enable 3
Auto-partition is enabled in module 3.
you must open a session the relevant switch.
The syntax for this command is:
set boot bank <value>
value{bank-a | bank-b}
Example:
P330-N# set boot bank bank-a
Boot bank is set to bank-a
Avaya P330-ML Reference Guide61
Page 76
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
set cascading
User level: privileged, supervisor.
Use the set cascading command to control the generation of fault-traps for
unconnected cascading links. This command is useful when cascading cables are
not connected intentionally, and therefore no fault-traps are desired for this event.
The syntax for this command is:
set cascading{up|down}fault-monitoring {enable|disable}
<mod-num>
Example:
P330-N# set cascading down fault-monitoring enable 1
Module 1 cascading-down fault monitoring enabled
set device-mode
User level: privileged, supervisor.
Use the set device-mode command to select the module’s operating mode —
Layer 2 or Router .
L This command is available on P330-ML-ML and P333R switches only.
The syntax for this command is:
set device-mode <mode>
mode• Router – switch operates at Layers 2 and 3.
• Layer2 – switch operates at Layer 2.
Example:
Router-N# set device-mode Router
This command will RESET the switch****
Reset **** do you want to continue (Y/N) ?
Done!
set dot1x max-req
User level: supervisor
Use the set dot1x max-req command to set maximum number of times the port
tries to retransmit requests to the Authenticated Station before the session is
terminated.
62Avaya P330-ML Reference Guide
Page 77
The syntax for this command is:
P330-N> set dot1x max-req <count>
countNumber of attempts – 1 to 10
Example:
P330-1(super)# set dot1x max-req 3
set dot1x quiet-period
User level: supervisor
Use the set dot1x quiet-period command to set the minimal time between
authentication attempts.
The syntax for this command is:
set dot1x quiet-period <Seconds>
SecondsNumber of seconds – 0 to 65535
Example:
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
P330-1(super)# setdot1x quiet-period 90
Done!
set dot1x re-authperiod
User level: supervisor
Use the set dot1x re-authperiod command to set the idle time between reauthentication attempts.
The syntax for this command is:
set dot1x re-authperiod <Seconds>
SecondsNumber of seconds – 0 to 65535
Example:
P330-1(super)# setdot1xre-authperiod90
Done!
set dot1x server-timeout
Avaya P330-ML Reference Guide63
Page 78
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: supervisor
Use the set dot1x server-timeout command to set the server retransmission
timeout period for all ports. This is the maximum time that the port will wait for a
reply from the Authentication Server.
The syntax for this command is:
set dot1x server-timeout <Seconds>
SecondsNumber of seconds – 0 to 65535
Example:
P330-1(super)# set dot1x server-timeout 90
set dot1x supp-timeout
User level: supervisor
Use the set dot1x supp-timeout command to set the maximum time that the
switch will wait for a reply from the Authenticated Station before the session is
terminated.
The syntax for this command is:
set dot1x supp-timeout <Seconds>
SecondsNumber of seconds – 0 to 65535
Example:
P330-1(super)# set dot1x supp-timeout 90
set dot1x system-auth-control disable
User level: supervisor
Use the set dot1x system-auth-control disable command to globally
disable the PBNAC (802.1x) feature.
The syntax for this command is:
set dot1x system-auth-control disable
Example:
P330-1(super)# set dot1x system-auth-control disable
dot1x system-auth-control disabled
64Avaya P330-ML Reference Guide
Page 79
set dot1x system-auth-control enable
User level: supervisor
Use the set dot1x system-auth-control enable command to globally
enable the PBNAC (802.1x) feature.
The syntax for this command is:
set dot1x system-auth-control enable
Examples:
•When a RADIUS server is defined:
P330-1(super)# set dot1x system-auth-control enable
dot1x system-auth-control enabled
•When a RADIUS server is not defined:
P330-1(super)# set dot1x system-auth-control enable
*** Warning : Authentication server ( RADIUS ) is
disabled/not-exist and so,
*** no authentication can be made
dot1x system-auth-control enabled
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
set dot1x tx-period
User level: supervisor
Use the set dot1x tx-period command to set the time interval between
attempts to access the Authenticated Station.
The syntax for this command is:
set dot1x tx-period <Seconds>
SecondsNumber of seconds – 0 to 65535
Avaya P330-ML Reference Guide65
Page 80
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-1(super)# setdot1xtx-period90
Done!
set inband vlan
User level: privileged, supervisor.
Use the set inband vlan command to set the inband management VLAN.
The syntax for this command is:
set inband vlan <value>
valueNumber of the VLAN to be assigned to the management
interface.
Example:
P330-N# setinbandvlan1
Management VLAN number set to 1
set intelligent-multicast
User level: privileged, supervisor.
Use the set intelligent-multicast command to enable or disable the IPmulticast filtering application.
The syntax for this command is:
set intelligent-multicast {enable|disable}
Example:
P330-N# setintelligent-multicast enable
Done!
set intelligent-multicast client-port-pruning time
User level: privileged, supervisor.
Use the set intelligent-multicast client port pruning time
command to set the aging time for client ports. This is the time after the P330-ML
switch reset during which the filtering information is learned by the switch but not
configured on the ports.
66Avaya P330-ML Reference Guide
Page 81
The syntax for this command is:
set intelligent-multicast client-port-pruning time <seconds>
secondsClient port pruning time in seconds
Example:
P330-N# set intelligent-multicast client-port-pruning-time
40
Done!
set intelligent-multicast group-filtering-delay time
User level: privileged, supervisor.
Use the set intelligent-multicast group-filtering delay time
command to set group filtering time delays. This is the time that the switch waits
between becoming aware of a Multicast group on a certain VLAN and starting to
filter traffic for this group.
The syntax for this command is:
set intelligent-multicast group-filtering-delay time <seconds>
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
secondsGroup filtering time in seconds.
Example:
P330-N# set intelligent-multicast group-filtering-delay time
40
Done!
set intelligent-multicast router-port-pruning time
User level: privileged, supervisor.
Use the set intelligent-multicast router-port-pruning time
command to set the aging time for router ports. This is a timer that ages out Router
port information if IGMP queries are not received within the configured time.
The syntax for this command is:
set intelligent-multicast router-port-pruning time <seconds>
secondsRouter port pruning time in seconds.
Avaya P330-ML Reference Guide67
Page 82
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set intelligent-multicast router-port-pruning-time
40
Done!
set interface inband
User level: privileged, supervisor.
Use the set interface inband command to configure the Management inband
interface on the Master agent in the stack.
The syntax for this command is:
set interface inband <vlan> <ip_addr> <netmask>
vlanThe number of the VLAN to be assigned to the interface
ip_addrIP address of the inband interface
netmaskSubnet mask
Example:
To configure the inband interface on VLAN 1, IP address 1.1.1.1 and netmask
255.255.255.24:
P330-N# setinterfaceinband11.1.1.1255.255.255.24
Interface inband IP address set.
You must reset the device in order for the change to take
effect.
set interface ppp
User level: privileged, supervisor.
Use the set interface ppp command to configure the Master agent PPP
interface IP parameters, exit modem mode, disconnect the PPP session, or reset the
connected modem.
You must configure an IP address and net-mask for the P330-ML before you can
establish a PPP connection. The IP address is a dummy address that is shared
between two peers, and must be taken from a subnet that is different from the
agent’s inband IP subnet.
68Avaya P330-ML Reference Guide
Page 83
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set interface ppp <ip_addr> <net-mask>
ip_addrIP address used by the P330-ML Supervisor Module to connect
via its PPP interface
net-maskSubnet mask used by the P330-ML Supervisor Module to
connect via its PPP interface
Example:
P330-N# setinterfaceppp149.49.34.125 24
Interface ppp ip address set
set interface ppp enable/enable-always/disable/off/reset
User level: privileged, supervisor.
Use the set interface ppp command to enter modem mode, enter terminal
mode, disconnect the PPP session or to reset the connected modem.
The syntax for this command is:
set interface ppp {enable|enable-always|disable|off|reset}
enableEnable PPP and enter modem mode.
enable-alwaysEnter modem mode every time that the proprietary modem
cable is plugged into the console port.
disableDisable PPP and enter terminal mode
offDisconnect the active PPP session.
resetReset the connected modem.
Example:
P330-N# setinterfacepppreset
PPP has reset the connected modem.
Avaya P330-ML Reference Guide69
Page 84
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# setinterfacepppenable
Entering the Modem mode within 60 seconds...
Please check that the proprietary modem cable is plugged
into the console port
Example:
P330-N# setinterfacepppdisable
Entering the Terminal mode immediately
set intermodule port redundancy
User level: privileged, supervisor.
Use the set intermodule port redundancy command to define the stack’s
unique intermodule redundancy scheme. The defined scheme can be cleared using
the set intermodule port redundancy off command.
L You must disable Spanning Tree before you can enable intermodule port
redundancy.
The syntax for this command is:
set intermodule port redundancy <module/prim-port>
<module/second-port> {on [<name>]}
module/prim-portPrimary port number
module/second-portSecondary port number
onSet the intermodule redundancy
nameName of the fast redundancy (default is
'intermodule')
Example:
P330-N# set intermodule port redundancy 1/7 2/12 on
backbone
backbone: port 2/12 is intermodule redundant to port 1/7
L If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, e.g. "new york".
70Avaya P330-ML Reference Guide
Page 85
set intermodule port redundancy off
Use the set intermodule port redundancy off command to clear the
intermodule port redundancy scheme.
The syntax for this command is:
set intermodule port redundancy off
Example:
P330-N# setintermoduleportredundancyoff
Intermodule port redundancy entry deleted.
set internal buffering
User level: privileged, supervisor.
L This command is not relevant to P330-ML-ML switches. It appears in the P330-
ML-ML CLI for controlling internal buffering of other P330-ML switches in the
stack.
The set internal buffering command allows you to set the size (Maximum,
Medium, and Minimum) of the Receive (Rx) buffer allocated to each port of the
specified switch. This command is meaningless when any port of the switch is
operating with flow control ON.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set internal buffering <module> {value}
moduleModule number in the stack
valuemax - sets the internal receive buffer to its maximum size
med - sets the internal receive buffer capacity dynamically
min - sets the internal receive buffer to its minimum size
Default is min
Example:
P330-N# setinternalbuffering1max
Done.
Avaya P330-ML Reference Guide71
Page 86
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
set ip route
User level: privileged, supervisor.
Use the set ip route command to add a route to the IP routing table. You can
configure from 1 to 10 default static gateways for a P330-ML switch.
The syntax for this command is:
set ip route <destination> <gateway>
destinationIP address of the network, or specific host to be added
gatewayIP address of the router
Example:
This example shows how to add a default route to the IP routing table:
P330-N# setiproute0.0.0.0 192.168.1.1
destination = 0.0.0.0 gateway = 192.168.1.1
ROUTE NET TABLE
destination gateway flags Refcnt Use Interface
Use the set license command to activate the SMON and Routing capabilities
of the Avaya P330-ML stack. An Avaya P330-ML stack can include several Avaya
P330-ML switches. One SMON license is required per Avaya P330-ML stack; a
routing license is required for each P330-ML-ML switch in the stack.
For a full description of the SMON or Routing License and the installation
procedure please refer to the Installation Guide provided with the SMON/Routing
License.
72Avaya P330-ML Reference Guide
Page 87
The syntax for this command is:
set license [module] [license] [feature name]
moduleSwitch number
licenseLicense number
feature nameName of the feature, either smon or routing
Example:
P330-N# setlicense10211adbadca58d2ccdsmon
set logging file condition
User level: privileged, supervisor.
Use the set logging file condition command to define a filter rule for
logging messages to the logging file.
The syntax for this command is:
set logging file condition { all | <application> } { none |
<severity> }
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
allA keyword signifying that messages from all applications are
displayed.
Avaya P330-ML Reference Guide73
Page 88
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
applicationThe application from which logging messages are logged to the
logging file. Possible values are:
• BOOT
•SYSTEM
•ROUTER
•CONFIG
•FILESYS
•FAN
•SUPPLY
•SECURITY
•CASCADE
• QOS
•SWITCHFABRIC
•LAG
•VLAN
•SNMP
•POLICY
•CLI
•STP
• THRESHOLD
•CONSOLE
noneA keyword signifying that logging messages are not logged to
the logging file regardless of the severity of the message.
severityThe minimum severity of the logging messages that are logged
to the logging file. Possible values are:
•Emergency
•Alert
•Critical
•Error
• Warning
• Notification
•Informational
• Debugging
74Avaya P330-ML Reference Guide
Page 89
Example:
P330-N# set logging file condition RIP Debugging
Done!
set logging file disable
User level: privileged, supervisor.
Use the set logging file disable command to disable logging messages to a
logging file.
The syntax for this command is:
set logging file disable
Example:
P330-N# set logging file disable
Done!
set logging file enable
User level: privileged, supervisor.
Use the set logging file enable command to enable logging messages to a
logging file.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set logging file enable
Example:
P330-N# set logging file enable
Done!
set logging server
User level: privileged, supervisor.
Use the set logging server command to define the IP address of a logging
server. You may define up to three logging servers.
set logging server <ip-address>
ip-addressThe IP address of the Syslog server.
Avaya P330-ML Reference Guide75
Page 90
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set logging server 149.49.38.22
Done!
set logging server access-level
User level: privileged, supervisor.
Use the set logging server access-level command to define the access
level associated with Syslog server sink. The user cannot specify an access level
higher than the level assigned to him.
L You need to define a logging server using the set logging server
command before you can set the server access level.
The syntax for this command is:
set logging server access-level < admission-level >
<ip-address>
admissionlevel
ip-addressThe IP address of the Syslog server.
Example:
P330-N# set logging server access-level read-only
149.49.38.22
Done!
set logging server condition
User level: privileged, supervisor.
Use the set logging server condition command to define a filter rule for
logging messages to the Syslog server.
L You need to define a logging server using the set logging server
command before you can set the server condition.
The access level associated with the Syslog server sink.
Possible values are:
•read-only
•read-write
•admin
76Avaya P330-ML Reference Guide
Page 91
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set logging server condition { all | <application> } { none |
<severity> } <ip-address>
allA keyword signifying that the specified severity threshold
applies to all applications.
applicationThe application to which the filter applies. Possible values are:
• BOOT
•SYSTEM
•ROUTER
•CONFIG
• FILESYS
•FAN
• SUPPLY
•SECURITY
•CASCADE
• QOS
•SWITCHFABRIC
•LAG
•VLAN
•SNMP
•POLICY
•CLI
•STP
• THRESHOLD
•CONSOLE
noneA keyword signifying that logging messages are not logged to
the Syslog server regardless of the severity of the message.
severityThe minimum severity of the logging messages that are logged
to the Syslog server. Possible values are:
•Emergency
•Alert
•Critical
•Error
• Warning
• Notification
• Informational
•Debugging
ip-addressThe IP address of the Syslog server.
Avaya P330-ML Reference Guide77
Page 92
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set logging server condition LAG Warning
135.64.102.224
Done!
set logging server disable
User level: privileged, supervisor.
Use the set logging server disable command to disable logging messages
to a Syslog server.
L You need to define a logging server using the set logging server
command before you can disable the server.
The syntax for this command is:
set logging server disable <ip-address>
ip-addressThe IP address of the Syslog server.
Example:
P330-N# set logging server disable 149.49.35.21
Done!
set logging server enable
User level: privileged, supervisor.
L Use the set logging server enable command to enable logging
messages to a Syslog server.
L You need to define a logging server using the set logging server
command before you can enable the server.
The syntax for this command is:
set logging server enable <ip-address>
ip-addressThe IP address of the Syslog server.
78Avaya P330-ML Reference Guide
Page 93
Example:
P330-N# set logging server enable 149.49.35.21
Done!
set logging server facility
User level: privileged, supervisor.
Use the set logging server facility command to update the server facility
used for sending messages to Syslog server. Facility settings are done on per Syslog
server.
L You need to define a logging server using the set logging server
command before you can set the server facility.
The syntax for this command is:
set logging server facility <server-facility> <ip-address>
server-facilityThe facility used for sending messages to the Syslog server.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Possible values are:
• kern – Kernel
• user – User processes
• mail – Electronic mail
• daemon – Background system processes
• auth – Authorization
• syslog – System logger
• lpr – Printer
• news – Usenet news
• uucp – Unix-to-Unix copy program
• clkd – Clock daemon
• sec – Security
• ftpd – FTP daemon
• ntp – NTP subsystem
• audi – Log audit
• alert – Log alert
• clkd2 – Clock daemon
• local0-local7 – Available for user defined facilities
ip-addressThe IP address of the Syslog server.
Avaya P330-ML Reference Guide79
Page 94
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set logging server facility news 135.64.102.224
Done!
set logging session condition
User level: privileged, supervisor.
Use the set logging session condition command to define a filter rule for
logging messages during the current session.
The syntax for this command is:
set logging session condition { all | <application> } { none |
<severity> }
allA keyword signifying that the specified severity threshold
applies to all applications.
applicationThe application to which the filter applies. Possible values are:
• BOOT
•SYSTEM
•ROUTER
•CONFIG
•FILESYS
•FAN
•SUPPLY
•SECURITY
•CASCADE
• QOS
•SWITCHFABRIC
•LAG
•VLAN
•SNMP
•POLICY
•CLI
•STP
• THRESHOLD
•CONSOLE
noneA keyword signifying that messages are not logged regardless
of their severity.
80Avaya P330-ML Reference Guide
Page 95
severityThe minimum severity of the logging messages that are logged.
Example:
P330-N# set logging session condition LAG Error
Done!
set logging session disable
User level: privileged, supervisor.
Use the set logging session disable command to disable logging messages
in the current CLI session.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Possible values are:
•Emergency
•Alert
•Critical
•Error
• Warning
• Notification
• Informational
•Debugging
The syntax for this command is:
set logging session disable
Example:
P330-N# set logging session disable
Done!
set logging session enable
User level: privileged, supervisor.
Use the set logging session enable command to enable logging messages in
the current CLI session.
The syntax for this command is:
set logging session enable
Avaya P330-ML Reference Guide81
Page 96
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set logging session enable
Done!
set logout
User level: privileged, supervisor.
Use the set logout command to set the time in minutes before the system
automatically disconnects an idle session.
The syntax for this command is:
set logout [timeout in minutes]
set mac-aging
timeout in
minutes
Time until the system automatically disconnects an idle
session.
• Setting the value to 0 disables the automatic disconnection
of idle sessions
• Default value is 15 minutes
Examples:
•To set the time until the system disconnects an idle session automatically to 20
minutes:
P330-N# setlogout20
Sessions will be automatically logged out after 20 minutes
of idle time.
•To disable the automatic disconnection of idle sessions:
P330-N# setlogout0
Sessions will not be automatically logged out.
User level: privileged, supervisor.
L This command is available on the P330-ML-ML switches only.
Use the set mac-aging command to enable or disable the MAC aging function.
82Avaya P330-ML Reference Guide
Page 97
The syntax for this command is:
Set mac-aging <status>
statusenable / disable
Examples:
P330-N# set mac-aging enable
mac aging is enabled.
P330-N# set mac-aging disable
mac aging is disabled.
set mac-aging-time
User level: privileged, supervisor.
L This command is available on the P330-ML-ML switches only.
Use the set mac-aging-time command to set the MAC aging time in minutes.
This is the time after which unused MAC addresses in the MAC table are erased.
The syntax for this command is:
Set mac-aging-time <aging-time>
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
aging-
Aging time in minutes (1-3600; default =5).
time
Example:
P330-N# setmac-aging-time5
mac aging time is set to 5 minutes.
L The entered value is the aging time lower limit. The actual aging time might be
up to three minutes longer.
set port auto-negotiation-flowcontrol-advertisement
User level: privileged, supervisor.
Use the set port auto-negotiation-flowcontrol-advertisement
command to set the flowcontrol advertisement for a Gigabit port when performing
autonegotiation.
The syntax for this command is:
set port auto-negotiation-flowcontrol-advertisement
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are set. Alternatively,
you can specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.
no-flowcontrolThe port will advertise no pause capabilities.
asym-tx-onlyThe port will advertise asymmetric Tx pause capabilities only.
sym-onlyThe port will advertise symmetric pause capabilities only.
sym-and-asym-rxThe port will advertise both symmetric and asymmetric Rx
pause capabilities.
Example:
P330-N# set port auto-negotiation-flowcontroladvertisement 1/5 asym-tx-only
Port 1/5 pause capabilities was set
set port channel
User level: privileged, supervisor.
Use the set port channel command to enable or disable a Link Aggregation
Group (LAG) interface on the switch. LAG creation requires a LAG name to be
specified. There is no default name.
You can also add or remove a port from an existing LAG. When adding or removing
a port to an existing LAG, type the same LAG-name. All ports in the LAG are
configured with the parameters of the first port that is added to the LAG. These
parameters include port administrative status, speed, duplex, autonegociation
mode, VLAN ID, tagging mode, binding mode, and priority level.
The ports added to a LAG must belong to the same LAG group - refer to the “LAG”
marking on device’s front panel.
L When adding a port to an existing LAG, type the same LAG name, otherwise
you will create a new LAG.
84Avaya P330-ML Reference Guide
Page 99
The syntax for this command is:
set port channel [<port_list>] [<value>] [<name>]
port_listA list of ports to be aggregated in the format module/port
valueon or off – enables or disables the channel for the specified
nameChannel name
L If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
Example:
P330-N# set port channel 1/5-6,8 on my-channel
Port 1/5 channel mode set to on 1/102
Port 1/6 was added to channel 1/102
Port 1/8 was added to channel 1/102
set port classification
User level: privileged, supervisor.
Use the set port classification command to set the port classification to
either regular or valuable. Any change in the Spanning Tree state from Forwarding
for a valuable port will erase all learnt MAC addresses in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
module ports
The syntax for this command is:
set port classification [module/port] {regular|valuable}
module portmodule/port range
regular | valuableport classification
Example:
P330-N# setport classification 2/19valuable
Port 2/19 classification has been changed.
set port disable
User level: privileged, supervisor.
Use the set port disable command to disable a port or range of ports.
Avaya P330-ML Reference Guide85
Page 100
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set port disable <mod_num>/<port_num>
moduleNumber of the switch in the stack.
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are disabled.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on switch 4.
Example:
P330-N# setportdisable4/1
Port 4/1 disabled.
set port dot1x initialize
User level: supervisor
Use the set port dot1x initialize command to initialize port dot1x.
The syntax for this command is:
set port dot1x initialize
<module/port>
module/
port
Example:
P330-1(super)# set port dot1x initialize 2/3
port 1/2 dot1x was initialized
set port dot1x max-req
User level: supervisor
Use the set port dot1x max-req command to set the maximal number of times
the port tries to retransmit requests to the Authenticated Station before the session is
terminated.
86Avaya P330-ML Reference Guide
Module and port number
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on switch 4.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.