Avaya P330-ML-ML User Manual

Page 1
Avaya
Reference Guide
AVAYA P330-ML-ML
STACKABLE SWITCH
SOFTWARE VERSION 4.5
January 2004
Page 2
Page 3

Contents

Chapter 2 Avaya P330-ML Layer 2 CLI Commands....................................................... 9

CLI Architecture................................................................................................. 1
Conventions Used.............................................................................................. 2
CLI Help.............................................................................................................. 2
Command Line Prompt .................................................................................... 2
Navigation, Cursor Movement and Shortcuts............................................... 2
Command Syntax............................................................................................... 3
Command Abbreviations ......................................................................3
Universal Commands........................................................................................ 4
Top and Up commands .........................................................................4
Retstatus command ................................................................................4
Tree command ........................................................................................4
P330-ML Sessions............................................................................................... 4
Security Levels.................................................................................................... 6
Entering the Supervisor Level ..............................................................6
Entering the CLI ...................................................................................... 7
Entering the Technician Level ..............................................................7
Warranty ............................................................................................................. 7
Notice................................................................................................................... 7
Avaya Support ................................................................................................... 7
clear cam ..................................................................................................9
clear dot1x config ....................................................................................9
clear dynamic vlans ..............................................................................10
clear log ..................................................................................................10
clear logging file ....................................................................................10
clear logging server ..............................................................................11
clear port mirror ....................................................................................11
clear port static-vlan .............................................................................12
clear radius authentication server ...................................................... 12
clear rmon statistics ..............................................................................12
clear screen ............................................................................................13
clear secure mac ....................................................................................13
clear snmp trap .....................................................................................14
clear timezone .......................................................................................14
clear utilization cpu ..............................................................................14
clear vlan ................................................................................................ 15
copy module-config scp .......................................................................15
Avaya P330-ML Reference Guide
Page 4
Table of Contents
copy module-config tftp .......................................................................16
copy running-config scp ......................................................................17
copy running-config startup-config ...................................................18
copy running-config tftp ......................................................................18
copy scp module-config .......................................................................19
copy scp stack-config ............................................................................20
copy scp startup-config ........................................................................22
copy stack-config scp ............................................................................23
copy stack-config tftp ...........................................................................24
copy startup-config scp ........................................................................25
copy startup-config tftp .......................................................................25
copy tftp EW_archive ...........................................................................26
copy tftp module-config .......................................................................27
copy tftp stack-config ...........................................................................27
copy tftp startup-config .......................................................................28
copy tftp SW_image ..............................................................................29
copy tftp SW_powerinline_image ......................................................31
crypto key generate dsa .......................................................................31
dir ..........................................................................................................32
disconnect ssh ........................................................................................33
get time ...................................................................................................34
help ..........................................................................................................34
hostname ................................................................................................35
ip access-list ...........................................................................................35
ip access-list-cookie ...............................................................................37
ip access-list-copy .................................................................................37
ip access-default-action ........................................................................38
ip access-list-dscp operation ................................................................38
ip access-list-dscp trust ........................................................................39
ip access-list-name ................................................................................40
ip access-list-owner ...............................................................................40
ip http enable .........................................................................................41
ip icmp redirect .....................................................................................41
ip simulate ..............................................................................................41
ip ssh enable ...........................................................................................42
ip telnet enable ......................................................................................42
ip telnet-client enable ...........................................................................43
no ip http ................................................................................................43
no ip icmp redirect ................................................................................43
no ip ssh ..................................................................................................44
no ip telnet .............................................................................................44
no ip telnet-client ..................................................................................44
no rmon alarm .......................................................................................45
no rmon event ........................................................................................45
ii Avaya P330-ML Reference Guide
Page 5
Table of Contents
no rmon history ....................................................................................46
no snmp-server .....................................................................................46
no snmp-server engineID .................................................................... 46
no snmp-server community ................................................................47
no snmp-server group ..........................................................................47
no snmp-server host .............................................................................48
no snmp-server notifications ..............................................................49
no snmp-server remote-user ...............................................................49
no snmp-server user .............................................................................49
no snmp-server view ............................................................................ 50
no username ..........................................................................................50
nvram initialize .....................................................................................51
ping .........................................................................................................51
prompt-length .......................................................................................52
reset .........................................................................................................52
reset mgp ................................................................................................53
reset stack ...............................................................................................54
reset wan ................................................................................................54
retstatus .................................................................................................. 54
rmon alarm ............................................................................................55
rmon event .............................................................................................56
rmon history ..........................................................................................56
session ....................................................................................................57
set allowed managers ...........................................................................58
set allowed managers ip ......................................................................58
set arp-aging-interval ...........................................................................59
set arp-tx-interval .................................................................................59
set autopartition ....................................................................................60
set boot bank ..........................................................................................60
set cascading ..........................................................................................61
set device-mode ....................................................................................61
set dot1x max-req ..................................................................................61
set dot1x quiet-period ..........................................................................62
set dot1x re-authperiod ........................................................................62
set dot1x server-timeout ......................................................................62
set dot1x supp-timeout ........................................................................63
set dot1x system-auth-control disable ...............................................63
set dot1x system-auth-control enable ................................................64
set dot1x tx-period ................................................................................64
set inband vlan ......................................................................................65
set intelligent-multicast ........................................................................65
set intelligent-multicast client-port-pruning time ...........................65
set intelligent-multicast group-filtering-delay time ........................66
set intelligent-multicast router-port-pruning time ..........................66
Avaya P330-ML Reference Guide
Page 6
Table of Contents
set interface inband ...............................................................................67
set interface ppp ....................................................................................67
set interface ppp enable/enable-always/disable/off/reset ...........68
set intermodule port redundancy .......................................................69
set intermodule port redundancy off .................................................70
set internal buffering ............................................................................70
set ip route ..............................................................................................71
set license ................................................................................................71
set logging file condition ......................................................................72
set logging file disable ..........................................................................74
set logging file enable ...........................................................................74
set logging server ..................................................................................74
set logging server access-level ............................................................75
set logging server condition ................................................................75
set logging server disable ....................................................................77
set logging server enable ......................................................................77
set logging server facility .....................................................................78
set logging session condition ..............................................................79
set logging session disable ...................................................................80
set logging session enable ....................................................................80
set logout ................................................................................................81
set mac-aging .........................................................................................81
set mac-aging-time ................................................................................82
set port auto-negotiation-flowcontrol-advertisement .....................82
set port channel .....................................................................................83
set port classification ............................................................................84
set port disable ......................................................................................84
set port dot1x initialize .........................................................................85
set port dot1x max-req .........................................................................85
set port dot1x port-control ...................................................................86
set port dot1x quiet-period ..................................................................86
set port dot1x re-authenticate .............................................................87
set port dot1x re-authentication ..........................................................87
set port dot1x re-authperiod ...............................................................88
set port dot1x server-timeout ..............................................................88
set port dot1x supp-timeout ................................................................89
set port dot1x tx-period ........................................................................89
set port duplex .......................................................................................89
set port edge admin state .....................................................................90
set port enable ........................................................................................91
set port flowcontrol ...............................................................................91
set port level ...........................................................................................92
set port mirror .......................................................................................93
set port name .........................................................................................94
iv Avaya P330-ML Reference Guide
Page 7
Table of Contents
set port negotiation ...............................................................................94
set port point-to-point admin status ..................................................95
set port powerline .................................................................................96
set port powerline priority ..................................................................96
set port redundancy .............................................................................97
set port redundancy on/off ................................................................ 97
set port redundancy-intervals ............................................................. 98
set port security ..................................................................................... 99
set port spantree cost ............................................................................99
set port spantree disable .................................................................... 100
set port spantree enable .....................................................................100
set port spantree force-protocol-migration .....................................100
set port spantree priority ...................................................................101
set port speed ......................................................................................101
set port static-vlan ..............................................................................102
set port trap .........................................................................................103
set port vlan .........................................................................................103
set port vlan-binding-mode ..............................................................104
set powerinline external power ........................................................105
set ppp authentication incoming ......................................................105
set ppp baud-rate ................................................................................106
set ppp chap-secret .............................................................................106
set ppp incoming timeout .................................................................106
set psu type ..........................................................................................107
set qos policy-source ..........................................................................107
set queuing scheme ............................................................................108
set radius authentication enable/disable ........................................108
set radius authentication retry-number ..........................................109
set radius authentication retry-time .................................................109
set radius authentication secret ........................................................110
set radius authentication server .......................................................110
set radius authentication udp-port .................................................. 110
set secure mac ......................................................................................112
set security mode ................................................................................112
set security violation ..........................................................................112
set snmp community ..........................................................................113
set snmp retries ...................................................................................113
set snmp timeout ................................................................................114
set snmp trap .......................................................................................114
set snmp trap auth ..............................................................................115
set spantree default-path-cost ...........................................................116
set spantree disable ............................................................................116
set spantree enable .............................................................................116
set spantree forward-delay ...............................................................117
Avaya P330-ML Reference Guide
Page 8
Table of Contents
set spantree hello-time .......................................................................117
set spantree max-age ..........................................................................118
set spantree priority ............................................................................118
set spantree tx-hold-count .................................................................119
set spantree version ............................................................................119
set system contact ...............................................................................120
set system location ..............................................................................120
set system name ..................................................................................121
set terminal recovery password disable ..........................................121
set terminal recovery password ........................................................121
set time client .......................................................................................122
set time protocol ..................................................................................122
set time server ......................................................................................123
set timezone .........................................................................................123
set trunk ................................................................................................124
set utilization cpu ................................................................................124
set vlan ..................................................................................................125
set web aux-files-url ...........................................................................125
set welcome message ..........................................................................126
show allowed managers status .........................................................127
show allowed managers table ...........................................................127
show arp-aging-interval .....................................................................128
show arp-tx-interval ...........................................................................128
show autopartition ..............................................................................129
show boot bank ...................................................................................130
show cam ..............................................................................................130
show cam mac .....................................................................................131
show cam vlan .....................................................................................131
show cascading fault-monitoring .....................................................132
show copy status .................................................................................133
show dev log file .................................................................................133
show device-mode ..............................................................................134
show dot1x ...........................................................................................134
show download status .......................................................................134
show erase status ................................................................................135
show image version ............................................................................135
show intelligent-multicast .................................................................136
show intelligent-multicast hardware-support ................................136
show interface ......................................................................................137
show intermodule port redundancy ................................................137
show internal buffering ......................................................................137
show ip access-group .........................................................................138
show ip access-list details ..................................................................138
show ip access-list-dscp .....................................................................139
vi Avaya P330-ML Reference Guide
Page 9
Table of Contents
show ip access lists .............................................................................140
show ip access-list-summary ............................................................ 141
show ip route .......................................................................................141
show ip ssh ..........................................................................................142
show l2-module-config ......................................................................142
show l2-stack-config ...........................................................................145
show license .........................................................................................148
show log ...............................................................................................149
show logging file condition ...............................................................150
show logging file content ..................................................................151
show logging server condition ......................................................... 153
show logging session condition .......................................................154
show logout .........................................................................................154
show mac-aging ..................................................................................154
show mac-aging-time .........................................................................155
show module .......................................................................................155
show module-identity ........................................................................156
show port .............................................................................................157
show port auto-negotiation-flowcontrol-advertisement ..............158
show port channel ..............................................................................158
show port classification .....................................................................160
show port dot1x .................................................................................. 161
show port dot1x statistics ..................................................................163
show port edge state ..........................................................................164
show port flowcontrol ........................................................................164
show port mirror ................................................................................166
show port point-to-point status ........................................................166
show port redundancy .......................................................................167
show port security ..............................................................................167
show port trap .....................................................................................168
show port vlan-binding-mode ..........................................................168
Show powerinline ...............................................................................169
show powerinline image version .....................................................170
show ppp authentication ...................................................................171
show ppp baud-rate ........................................................................... 172
show ppp configuration .................................................................... 172
show ppp incoming timeout .............................................................172
show ppp session ................................................................................ 173
show protocol ......................................................................................173
show queuing scheme ........................................................................174
show radius authentication ...............................................................174
show rmon alarm ................................................................................175
show rmon event ................................................................................176
show rmon history .............................................................................176
Avaya P330-ML Reference Guide
Page 10
Table of Contents
show rmon statistics ...........................................................................177
show secure current ............................................................................178
show secure mac .................................................................................178
show security mode ............................................................................179
show snmp ...........................................................................................179
show snmp engineID ..........................................................................181
show snmp group ...............................................................................182
show snmp retries ...............................................................................184
show snmp timeout ............................................................................184
show snmp user ..................................................................................184
show snmp userToGroup ..................................................................185
show snmp view .................................................................................186
show spantree ......................................................................................188
show system .........................................................................................191
show tftp download software status ................................................192
show time .............................................................................................192
show time parameters ........................................................................193
show timeout .......................................................................................193
show timezone .....................................................................................193
show trunk ...........................................................................................194
show upload status .............................................................................195
show username ....................................................................................196
show utilization ...................................................................................196
show vlan .............................................................................................198
show web aux-files-url .......................................................................199
snmp-server community ....................................................................199
snmp-server enable .............................................................................200
snmp-server enable notifications ......................................................200
snmp-server engineID ........................................................................200
snmp-server group .............................................................................201
snmp-server host .................................................................................202
snmp-server informs ..........................................................................203
snmp-server remote-user ...................................................................204
snmp-server user .................................................................................205
snmp-server view ................................................................................206
stack health ..........................................................................................206
sync time ..............................................................................................207
tech ........................................................................................................207
telnet .....................................................................................................207
terminal ................................................................................................208
username ..............................................................................................208
validate-group .....................................................................................209

Chapter 3 Avaya P330-ML Layer 3 CLI Commands................................................... 211

How the Layer 3 CLI is Organized.............................................................. 211
viii Avaya P330-ML Reference Guide
Page 11
Table of Contents
Router Configuration Contexts ........................................................211
Shortcuts to Commands by Context ................................................211
General Commands....................................................................................... 212
arp .........................................................................................................212
arp timeout ..........................................................................................212
clear arp-cache .....................................................................................213
clear fragment .....................................................................................214
clear ip route ........................................................................................214
clear ip traffic .......................................................................................215
clear screen .......................................................................................... 215
clear vlan ..............................................................................................215
configure ..............................................................................................216
copy module-config scp .....................................................................216
copy module-config tftp ....................................................................216
copy running-config scp .................................................................... 217
copy running-config startup-config .................................................218
copy running-config tftp ...................................................................218
copy scp module-config .....................................................................219
copy scp startup-config ......................................................................220
copy startup-config scp ......................................................................220
copy startup-config tftp .....................................................................221
copy tftp startup-config .....................................................................221
disconnect ssh .....................................................................................222
erase startup-config ............................................................................222
event log ...............................................................................................223
exit .........................................................................................................223
fragment chain ....................................................................................224
fragment size ....................................................................................... 224
fragment timeout ................................................................................225
help .......................................................................................................225
hostname ..............................................................................................226
icmp in-echo-limit ...............................................................................226
interface ................................................................................................ 227
ip access-default-action ......................................................................227
ip access-group ....................................................................................228
ip access-list .........................................................................................228
ip access-list-cookie ............................................................................229
ip access-list-copy ...............................................................................230
ip access-list-dscp operation .............................................................230
ip access-list-dscp trust ......................................................................231
ip access-list-name ..............................................................................232
ip access-list-owner ............................................................................232
ip bootp-dhcp relay ............................................................................233
ip default-gateway ..............................................................................234
Avaya P330-ML Reference Guide
Page 12
Table of Contents
ip max-arp-entries ...............................................................................234
ip max-route-entries ...........................................................................235
ip netmask-format ...............................................................................235
ip ospf router-id ..................................................................................236
ip route .................................................................................................237
ip routing ..............................................................................................237
ip simulate ............................................................................................238
ping .......................................................................................................239
prompt-length .....................................................................................239
reset .......................................................................................................240
router ospf ............................................................................................240
router rip ..............................................................................................241
router srrp ............................................................................................241
router vrrp ............................................................................................242
session ...................................................................................................242
set device-mode ...................................................................................243
set policy type ......................................................................................244
set qos policy-source ...........................................................................244
set system contact ...............................................................................245
set system location ..............................................................................245
set system name ..................................................................................246
set vlan ..................................................................................................247
show copy status .................................................................................247
show device-mode ..............................................................................248
show download status .......................................................................248
show erase status ................................................................................248
show fragment .....................................................................................249
show ip access-group .........................................................................250
show ip access-lists .............................................................................250
show ip access-list-dscp .....................................................................251
show ip access-list-summary ............................................................251
show ip arp ..........................................................................................252
show ip icmp .......................................................................................253
show ip interface .................................................................................253
show ip interface brief ........................................................................254
show ip ospf .........................................................................................255
show ip ospf database ........................................................................255
show ip ospf interface ........................................................................256
show ip ospf neighbor ........................................................................256
show ip protocols ................................................................................257
show ip reverse-arp ............................................................................258
show ip route .......................................................................................258
show ip route best-match ...................................................................259
show ip route static .............................................................................259
x Avaya P330-ML Reference Guide
Page 13
Table of Contents
show ip route summary .....................................................................260
show ip ssh ..........................................................................................260
show ip srrp .........................................................................................260
show ip traffic .....................................................................................261
show ip unicast cache ........................................................................263
show ip unicast cache networks .......................................................264
show ip unicast cache networks detailed ........................................265
show ip unicast cache nextHop ........................................................266
show ip unicast cache summary .......................................................266
show ip vrrp ........................................................................................ 267
show ip vrrp detail .............................................................................267
show policy type .................................................................................268
show startup-config ............................................................................270
show system ........................................................................................270
show upload status .............................................................................271
show vlan .............................................................................................271
terminal ................................................................................................271
traceroute .............................................................................................272
validate-group .....................................................................................272
Interface Context............................................................................................ 274
default-metric ......................................................................................274
enable vlan commands ......................................................................274
ip address .............................................................................................275
ip admin-state .....................................................................................275
ip bootp-dhcp network ......................................................................276
ip bootp-dhcp server ..........................................................................276
ip broadcast-address ..........................................................................277
ip directed-broadcast .........................................................................277
ip netbios-rebroadcast ........................................................................278
ip ospf authentication-key .................................................................278
ip ospf cost ...........................................................................................279
ip ospf dead-interval ..........................................................................279
ip ospf hello-interval ..........................................................................279
ip ospf priority .................................................................................... 280
ip proxy-arp .........................................................................................280
ip redirects ...........................................................................................281
ip rip authentication key ...................................................................281
ip rip authentication mode ................................................................282
ip rip default-route-mode ..................................................................282
ip rip poison-reverse ..........................................................................283
ip rip rip-version .................................................................................283
ip rip send-receive-mode ...................................................................284
ip rip split-horizon ..............................................................................285
ip routing-mode ..................................................................................285
Avaya P330-ML Reference Guide
Page 14
Table of Contents
ip srrp backup ......................................................................................286
ip vlan/ip vlan name ..........................................................................286
ip vrrp ...................................................................................................287
ip vrrp address ....................................................................................287
ip vrrp auth-key ..................................................................................288
ip vrrp override addr owner .............................................................288
ip vrrp preempt ...................................................................................289
ip vrrp primary ....................................................................................289
ip vrrp priority ....................................................................................290
ip vrrp timer .........................................................................................290
Router RIP Context ........................................................................................ 291
network .................................................................................................291
redistribute ...........................................................................................291
timers basic ..........................................................................................292
Router OSPF Context..................................................................................... 293
area ........................................................................................................293
network .................................................................................................293
passive-interface ..................................................................................294
redistribute ...........................................................................................294
timers spf ..............................................................................................295
Router SRRP Context..................................................................................... 296
poll-interval ........................................................................................296
timeout .................................................................................................296
Index of Layer 2 CLI Commands................................................................. 297
Index of Layer 3 CLI Commands................................................................. 301
xii Avaya 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 Guide 1
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.1 Navigation, Cursor Movement and Shortcuts
Keyboard Functions
Backspace Deletes the previous character
Up arrow/Down arrow Scrolls back and forward through the command
history buffer
Left arrow/Right arrow Moves the cursor left or right
2 Avaya P330-ML Reference Guide
Page 17
Table 1.1 Navigation, Cursor Movement and Shortcuts
Keyboard Functions
Tab Completes the abbreviated command. Type the
Enter Executes 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 Guide 3
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.
4 Avaya 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 Guide 5
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.
6 Avaya 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-242­2121 in the United States. For additional support telephone numbers, see the Avaya Web site: http://www.avaya.com
Avaya P330-ML Reference Guide 7
Page 22
Chapter 1 Using the CLI
8 Avaya 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# clear cam
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# clear dot1x config
Original Configuration was Restored
Avaya P330-ML Reference Guide 9
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# clear dynamic vlans 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# clear log 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
10 Avaya 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-address The 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 module Source module number
source port Source port number
dest module Destination module number
dest port Destination port number
Example:
P330-N# clear port mirror 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 Guide 11
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 range Port range
vlan num The VLAN to unbind from the port
Example:
P330-N# clear port static-vlan 3/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.
The syntax for this command is:
clear radius authentication server[{primary|secondary}]
primary Remove primary RADIUS server
secondary Remove secondary RADIUS server
Example:
P330-1(super)# clear radius authentication server secondary

clear rmon statistics

User level: privileged, supervisor.
Use the clear rmon statistics command to clear the RMON statistics counter.
The syntax for this command is:
clear rmon statistics
12 Avaya P330-ML Reference Guide
Page 27
Example:
P330-N# clear rmon statistics cleared device counters

clear screen

User level: user, privileged, supervisor
Use the clear screen command to clear the current terminal display.
The syntax for this command is:
clear screen

clear secure mac

User level: user, privileged, supervisor
L If this command is to be implemented on a switch other than the stack master, a
Use the clear secure mac command to remove a MAC address from the CAM table of a secured port.
The syntax for this command is:
clear secure mac <mac-address> port <mod-num>/<port-num>
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
session should be opened to the relevant switch.
mac-address MAC address to be cleared
mod-num Module where the secured port is located
port-num Secured port number
Example:
P330-N# clear secure mac 00-10-5a-0f-5e-1c port 1/23 secure mac 00-10-5a-0f-5e-1c port 1/23 was removed.
Avaya P330-ML Reference Guide 13
Page 28
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

clear snmp trap

User level: privileged, supervisor.
Use the clear snmp trap command to clear an entry from the SNMP trap receiver table.
The syntax for this command is:
clear snmp trap {<rcvr_addr>|all}
rcvr_addr IP address or IP alias of the trap receiver (the SNMP management
station) to clear
all Keyword that specifies every entry in the SNMP trap receiver
table
Example:
P330-N# clear snmp trap 192.168.173.42 SNMP trap deleted.

clear timezone

User level: privileged, supervisor.
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# clear timezone 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.
14 Avaya 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

module­number
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_id VLAN number
vlan_name VLAN 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.
Avaya P330-ML Reference Guide 15
Page 30
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
copy module-config scp <filename> <ip> <mod_num>
filename The file name (full path)
ip The IP address of the SCP server
mod-num The switch number
Example:
P330-N# copy module-config scp c:\config\switch1.cfg 192.168.49.10 5
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>
filename The file name (full path)
ip The IP address of the TFTP server
mod-num The switch number
16 Avaya 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.
The syntax for this command is:
copy running-config scp <filename> <ip> <mod_num>
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
filename The file name (full path)
ip The IP address of the SCP server
mod-num The switch number
Avaya P330-ML Reference Guide 17
Page 32
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# copy running-config scp c:\config\switch1.cfg 192.168.49.10 5
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>
filename Destination file name in the tftp server (full path).
18 Avaya P330-ML Reference Guide
Page 33
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
ip The ip address of the tftp server.
Example (for Windows):
P330-N# copy running-config tftp c:\P330-ML\startup.cfg
149.49.100.41
Example: (for Unix):
P330-N# copy running-config tftp /folder/P330­ML/startup.cfg 149.49.100.41
Avaya P330-ML Reference Guide 19
Page 34
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

copy scp module-config

User level: supervisor
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>
filename Source file name on the SCP server (full path).
ip The ip address of the SCP server.
Example (for Windows):
P330-N# copy scp module-config c:\P330-ML\module.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. * ********************************************************************
20 Avaya P330-ML Reference Guide
Page 35
Example: (for Unix):
P330-N# copy scp module-config /folder/P330-ML/module.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. * ********************************************************************

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>
filename Source file name on the SCP server (full path).
ip The ip address of the SCP server.
Avaya P330-ML Reference Guide 21
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. * ********************************************************************
22 Avaya 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>
filename Source file name on the SCP server (full path).
ip The 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. * ********************************************************************
Avaya P330-ML Reference Guide 23
Page 38
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example: (for Unix):
P330-N# copy scp startup-config /folder/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
******************************************************************** * 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.
The syntax for this command is:
copy stack-config scp <filename> <ip> <mod_num>
filename The file name (full path)
ip The IP address of the SCP server
mod-num The switch number
24 Avaya P330-ML Reference Guide
Page 39
Example:
P330-N# copy stack-config scp c:\config\switch1.cfg 192.168.49.10 5
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
executing this command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
copy stack-config tftp <filename> <ip>
filename The file name (full path)
ip The IP address of the TFTP server
Example:
P330-N# copy stack-config tftp c:\conf.cfg 192.168.49.10
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 Guide 25
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.
The syntax for this command is:
copy startup-config scp <filename> <ip> <mod_num>
filename The file name (full path)
ip The IP address of the SCP server
mod-num The switch number
Example:
P330-N# copy startup-config scp c:\config\switch1.cfg 192.168.49.10 5
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.
26 Avaya P330-ML Reference Guide
Page 41
The syntax for this command is:
copy startup-config tftp <filename> <ip>
filename Destination file name in the tftp server (full path).
ip The ip address of the tftp server.
Example (for Windows):
Router-N (super) # copy startup-config tftp c:\P330­ML\startup.cfg 149.49.100.41
Example: (for Unix):
Router-N (super) # copy startup-config tftp /folder/P330­ML/startup.cfg 149.49.100.41

copy tftp EW_archive

User level: supervisor
Use the copy tftp EW-archive command to download the P330-ML Manager application into the switch from a TFTP server.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
copy tftp EW_archive <filename> <ip> <module number>
filename P330-ML Manager image file name (full path)
ip The IP address of the host
module number Module to download the embedded web to
Example (for Windows):
P330-N# copy tftp EW-archive c:\P330-ML\switch1.cfg
192.168.49.10 5
Example: (for Unix):
P330-N# copy tftp EW-archive /folder/startup.cfg
149.49.100.41 5
Avaya P330-ML Reference Guide 27
Page 42
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

copy tftp module-config

User level: supervisor
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.
The syntax for this command is:
copy tftp module-config <filename> <ip>
filename The file name (full path)
ip The ip address of the TFTP server
Example (for Windows):
Router-N# copy tftp module-config c:\config\switch1.cfg
192.168.49.10
Example: (for Unix):
Router-N# copy tftp module-config /folder/startup.cfg
192.168.49.10

copy tftp stack-config

User level: supervisor
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.
28 Avaya P330-ML Reference Guide
Page 43
The syntax for this command is:
copy tftp stack-config <filename> <ip>
filename The file name (full path)
ip The IP address of the TFTP server
Example (for Windows):
Router-N# copy tftp stack-config c:\config\switch1.cfg
192.168.49.10
Example (for Unix):
Router-N# copy tftp stack-config /folder/switch1.cfg
192.168.49.10

copy tftp startup-config

User level: supervisor
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>
filename Destination file name in the tftp server (full path)
ip The ip address of the tftp server.
Example (for Windows):
Router-N (super) # copy tftp startup-config c:\P330­ML\startup.cfg 149.49.100.41
Avaya P330-ML Reference Guide 29
Page 44
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example: (for Unix):
Router-N (super) # copy tftp startup-config /folder/startup.cfg 149.49.100.41

copy tftp SW_image

User level: supervisor
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.
The syntax for this command is:
copy tftp SW_image <sw_image_file> EW_archive <EmWeb_file> <IP_addr> <mod_num>
sw_image_file Firmware image file name (full path)
EmWeb_file Embedded Web Manager image file name (full path)
- Optional, can be a dummy name
IP_addr The ip address of the TFTP server
mod_num Target switch module number
Example (for Windows):
P330-N# copy tftp SW_image c:\versions\P330-ML\p333t EW_image x 149.49.138.170 1
Example (for Unix):
P330-N# copy tftp SW_image /folder/versions/P330-ML/p333t EW_image x 149.49.138.170 1
L If file "x" does not exist, the Embedded web image will not be downloaded and
bank A will retain the previous SW version image.
30 Avaya P330-ML Reference Guide
Page 45
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# copy tftp SW_image /home/P330-ML/viisa EW_archive 1
135.64.103.104 1
Module : 1 Source file : /home/P330-ML/viisa Destination file : P330-ML Host : 135.64.103.104 Running state : Download Process Started Failure display : no-error Last warning : -
.....
Module : 1 Source file : /home/P330-ML/viisa Destination file : P330-ML Host : 135.64.103.104 Running state : Testing ... Failure display : no-error Last warning : -
.............
Module : 1 Source file : /home/P330-ML/viisa Destination file : P330-ML Host : 135.64.103.104 Running state : Erasing FLASH Failure display : no-error Last warning : -
.....
Module : 1 Source file : /home/P330-ML/viisa Destination file : P330-ML Host : 135.64.103.104 Running state : Downloading ... Failure display : no-error Last warning : ­... Module : 1 Source file : /home/P330-ML/viisa Destination file : P330-ML Host : 135.64.103.104 Running state : Download Ok Failure display : no-error Last warning : -
Avaya P330-ML Reference Guide 31
Page 46
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

copy tftp SW_powerinline_image

User level: supervisor
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.
The syntax for this command is:
copy tftp SW_powerinline_image <image-file> <ip-addr> <mod­num>
image_file Common name for the file that contain the Power
over Ethernet (PoE) Software image and the Embedded Web archive (full path)
ip_addr IP address of the TFTP host
mod_num Target module number
Example:
P330-ML-2# copy tftp SW_powerinline_image c:\p333t\p333T_203 192.168.49.10 5
Module: 5 Source file: c:\p333t\p333t_203 Destination file: Powerinline Host: 192.168.49.10 Running state: Downloading Failure Display: Access Violation Last warning:
Download completed
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.
32 Avaya 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-size A keyword specifying that the key lenght is provided
by the user.
key-length The 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
-- ---- -------- ---------- ------------- ---------------­1 Booter_Image 3.5.17 SW BootImage Nv-Ram Booter Image 1 module-config N/A Running Conf Ram Module Configuration 1 stack-config N/A Running Conf Ram Stack Configuration 1 EW_Archive N/A SW Web Image Nv-Ram Web Download 2 Booter_Image 3.2.5 SW BootImage Nv-Ram Booter Image 2 module-config N/A Running Conf Ram Module Configuration 2 EW_Archive N/A SW Web Image Nv-Ram Web Download
Avaya P330-ML Reference Guide 33
Page 48
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Output Fields:
Field Description
M# The switch number
file There 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 P330­ML-ML, P333R, and P333R-LB
• running-config - file which contains the running (currently active) configuration for policy and routing in the P330-ML­ML, P333R, and P333R-LB
ver num S/W Version number – relevant only for Device Manager and
Booter image.
file type There 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 location Type of internal memory into which the file is loaded
file description Description 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.
34 Avaya 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-id The 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>get time 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.
The syntax for this command is:
help [<command> [<subcommand>...]]
Avaya P330-ML Reference Guide 35
Page 50
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N>help username Username commands:
---------------------------------------------------------­Usage: username <name> password <passwd> access-type {read­only|read-write|admin}

hostname

User level: privileged, supervisor.
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
36 Avaya 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.
The syntax for this command is:
[no] ip access-list <access-list-number> <access-list-index> <action> <protocol> {<source-ip> <source-wildcard> | any |host <source-ip>}[<operator> <port> [<port]] {<destination-ip> <destination­ wildcard>|any |host <destination-ip>}[<operator> <port> [<port>]][established] [precedence]
<access-list-number> integer (100...149)
<access-list-index> integer (1...254)
<action> permit | deny | deny-and-notify | fwd0-7
<protocol> ip | tcp | udp | integer (1...255)
<source-ip> ip address of the source network
<source-wildcard> ip address wildcard of the source network
<operator> eq | lt | gt | range
<port> integer (1...65535)
<destination-ip> ip address of the destination network
<destination-wildcard> ip address wildcard of the destination network
<precedence> mandatory — rule is mandatory for this access
list (an invalid rule invalidates entire list) optional — rule is optional for this access list (an invalid rule does not invalidate entire list)
Example:
Router-N# ip access-list 101 23 deny ip any
1.2.0.0 0.0.255.255 Router-N# ip access-list 101 24 fwd3 udp any host 10.1.1.1
range 20 23 optional
Avaya P330-ML Reference Guide 37
Page 52
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
L The P334T-ML does not support ‘lt’ and ‘gt’ port operators.

ip access-list-cookie

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-list-cookie command to set the list cookie for a specific policy list.
The syntax for this command is:
ip access-list-cookie <list-id> <cookie>
<list-id> integer (100...149, 0-default list)
<cookie> integer
Example:
Router-N# ip access-list-cookie 101 12345

ip access-list-copy

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-list-copy command to copy a configured source policy list to a destination policy list.
The syntax for this command is:
ip access-list-copy <source-list> <destination-list>
<source-list> integer (100...149, 0-default list)
<destination-list> integer (100...149)
Example:
Router-N# ip access-list-copy 100 101
38 Avaya P330-ML Reference Guide
Page 53

ip access-default-action

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-default-action command to set the default action for a specific policy list.
The syntax for this command is:
ip access-default-action <policy-list-number> <default­action>
<policy-list-number> integer (100...149)
<default-action> default-action-deny|default-action-permit
Example:
Router-N# access-default-action 101 default-action-deny Done!
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

ip access-list-dscp operation

User level: supervisor
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>
policy­list-
A valid id number for a policy list currently defined for the module (100..149)
number
dscp DSCP value or range of DSCP
Avaya P330-ML Reference Guide 39
Page 54
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
action permit | deny | deny-and-notify | fwd0 | fwd1... fwd7:
• permit: do nothing, let the packet pass
• deny: drop the packet
• deny-and-notify: drop the packet and send an SNMP trap
• fwd0, fwd1...fwd7: set the frame COS field to 0...7
Example:
Router-N# ip access-list-dscp operation 101 0-63 permit Router-N# ip access-list-dscp operation 101 62 fwd5

ip access-list-dscp trust

User level: supervisor
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-list­number
A valid id number for a policy list currently defined for the module (100...149)
untrusted Forward the packet with priority 0
trust-cos Forward the packet with its original 802.1p priority (default)
trust-dscp Forward the packet with the maximum priority between 802.1p and
the priority obtained from the DSCP-CoS mapping table
Example:
Router-N# ip access-list-dscp trust 100 trust-dscp Done!
40 Avaya P330-ML Reference Guide
Page 55

ip access-list-name

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
Use the ip access-list-name command to assign a name to a policy list.
The syntax for this command is:
ip access-list-name <policy-list-number> <name>
<policy-list-number> integer (100...149)
<name> list name
Example:
Router-N# ip access-list-name 101 morning
If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
"Layer2".

ip access-list-owner

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip access-list-owner command to set the owner for a specific policy list.
The syntax for this command is:
ip access-list-owner <policy-list-number> <owner>
<policy-list-number> integer (100...149)
<owner> list owner
Example:
Router-N# ip access-list-owner 101 admin Done!
Avaya P330-ML Reference Guide 41
Page 56
Chapter 2 Avaya P330-ML Layer 2 CLI Commands

ip http enable

User level: supervisor
Use the ip http enable command to enable HTTP access to the device.
The syntax for this command is:
ip http enable
Example:
P330-N# ip http enable Done!

ip icmp redirect

User level: supervisor
Use the ip icmp redirect command to enable ICMP redirects via the device.
The syntax for this command is:
ip icmp redirect
Example:
P330-N# ip icmp redirect Done!

ip simulate

User level: supervisor
L This command applies to the P334T-ML only when it is in device mode
"Layer2".
Use the ip simulate command to check the policy for a simulated packet. The command contains the addressed list number, and the packet parameters.
The syntax for this command is:
ip simulate <policy-list-number> [<priority>] [<dscp­value>]<source> <destination> [<protocol> [<source port> <destination port> [<established>]]]
policy-list-number integer (100...149, 0-default list)
priority fwd0 | fwd1 | ... | fwd7
dscp-value dscp0 | dscp1 | ... | dscp63
42 Avaya P330-ML Reference Guide
Page 57

ip ssh enable

Chapter 2 Avaya P330-ML Layer 2 CLI Commands
source source ip address
destination destination ip address
protocol ip | tcp | udp | integer (1...255)
source port integer (1...65535)
destination port integer (1...65535)
established value of TCP established bit
Example:
Router-N(configure)# ip simulate 100 192.67.85.12
193.76.54.25
User level: supervisor
Use the ip ssh command to enable the SSH server.
The syntax for this command is:
ip ssh enable
Example:
P330-N# ip ssh enable Done!

ip telnet enable

User level: supervisor
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 Guide 43
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!
44 Avaya 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# no ip 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 Guide 45
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 Index Alarm index defined using rmon alarm command or P330-
ML Manager
Example:
P330-N# no rmon alarm 1026

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 Index Event index defined using rmon event command or P330-
ML Manager
P330-N# no rmon event 1054
46 Avaya 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 Index History index defined using rmon history command or
RMON management tool
Example:
P330-N# no rmon history 1026
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# no snmp-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# no snmp-server engineID EngineID return to default
Done!
Avaya P330-ML Reference Guide 47
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# no snmp-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}}
groupname The name of the SNMP group.
v1, v2c, v3 The 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!
48 Avaya 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-addr Specifies 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
sw-redundancy – Software redundancy notifications
temperature – Temperature warning notifications
cam-change – Changes in CAM 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 Guide 49
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# no snmp-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>
username Variable that specifies the name of the SNMP user. The
maximum length is 32 bytes.
engine-id The 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.
50 Avaya P330-ML Reference Guide
Page 65
The syntax for this command is:
no snmp-server user <username> {v1 | v2c | v3}
username Variable that specifies the name of the SNMP user. The
v1, v2c, v3 The 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-name Name of the view.
oid-tree Object 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 Guide 51
Page 66
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
no username <name>
name User name
Example:
P330-1(super)# no username john 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}
switch Resets all the switching parameters (Layer 2 only) throughout
the stack
all Resets all parameters including licenses and routing
parameters of the Layer 3 switches present in the stack
Example:
P330-N# nvram initialize 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.
52 Avaya P330-ML Reference Guide
Page 67
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
ping [host[number]]
host Host IP address/Internet address of route destination. If missing,
then the host IP address specified in the last ping command is used.
number Number 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>ping 149.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
----149.49.48.1 PING Statistics---­3 packets transmitted, 3 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0

prompt-length

User level: supervisor
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>>
full Display 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 Guide 53
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# reset 4 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]
module Module number of the MGP
Example:
P330-N# reset mgp 1
54 Avaya 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-a Optional - 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 Guide 55
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.
The syntax for this command is:
rmon alarm <Alarm Number> <variable> <interval> <sample type> rising-threshold <rising threshold> <rising event> falling­threshold <falling threshold> <falling event> <startup alarm> <owner>
Alarm Number This is the alarm index number of this entry (it is advisable to
use the same interface number as your alarm index number.)
variable The instance of an RMON statistic.
interval The interval between 2 samples.
sample type This can be set to either delta (the difference between 2
samples) or an absolute value.
rising threshold This sets the upper threshold for the alarm entry.
rising event The RMON event entry that will be notified if the upper
threshold is passed.
falling
This sets the lower threshold for the alarm entry.
threshold
falling event The RMON event entry that will be notified if the lower
threshold is passed.
startup alarm The instances in which the alarm will be activated. The
possible parameters are: Rising, Falling, risingOrfalling.
owner Owner name string.
Example:
P330-N# rmon alarm 1026 1.3.6.1.2.1.16.1.1.1.5.1026 60 delta rising-threshold 10000 1054 falling-threshold 10 1054 risingOrFalling gregory
alarm 1026 was created successfully
56 Avaya P330-ML Reference Guide
Page 71

rmon event

Chapter 2 Avaya P330-ML Layer 2 CLI Commands
User level: privileged, supervisor.
Use the rmon event command to create an RMON event entry.
The syntax for this command is:
rmon event <Event Number> <type> description <description> owner <owner>
event number This is the event index number of this entry.
type The type of the event. The possible parameters are:
•trap
•log
•logAndTrap
•none
description A user description of this event
owner Owner name string
Example:
P330-N# rmon event 1054 logAndTrap description "event for monitoring gregory's computer" owner gregory
event 1054 was created successfully

rmon history

User level: privileged, supervisor.
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_index History index number of this entry (it is advisable to use the
same interface number as your history index number).
module/port The switch number/the port number.
interval The interval between 2 samples.
number of
The number of buckets defined.
buckets
Avaya P330-ML Reference Guide 57
Page 72
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
owner name The owner name string.
Example:
P330-N# rmon history 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) sub­module 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.
The syntax for this command is:
session [<module_number> [switch|router|atm|mgp|wan]]
module_number (optional) The switch number.
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.
58 Avaya P330-ML Reference Guide
Page 73
Example:
P330-1# session 2 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)# set allowed managers enabled 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]
add Adds specified IP address to the Allowed Managers
table
delete Deletes specified IP address from the Allowed
Managers table
IP address IP address to be added or removed
Avaya P330-ML Reference Guide 59
Page 74
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set allowed 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>
value The number representing the interval, from 0-10 minutes. 0 -
arp-aging interval is 20 minutes.
Example:
P330-N# set arp-aging-interval 10 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>
value The interval in seconds. (0-3600)
0 disables the transmission of the keep-alive frames.
Example:
P330-N# set arp-tx-interval 15 ARP tx interval was set to 15 seconds.
60 Avaya 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.
value enable/disable
module module 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 Guide 61
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.
62 Avaya P330-ML Reference Guide
Page 77
The syntax for this command is:
P330-N> set dot1x max-req <count>
count Number 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>
Seconds Number of seconds – 0 to 65535
Example:
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
P330-1(super)# set dot1x quiet-period 90 Done!

set dot1x re-authperiod

User level: supervisor
Use the set dot1x re-authperiod command to set the idle time between re­authentication attempts.
The syntax for this command is:
set dot1x re-authperiod <Seconds>
Seconds Number of seconds – 0 to 65535
Example:
P330-1(super)# set dot1x re-authperiod 90 Done!

set dot1x server-timeout

Avaya P330-ML Reference Guide 63
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>
Seconds Number 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>
Seconds Number 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
64 Avaya 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>
Seconds Number of seconds – 0 to 65535
Avaya P330-ML Reference Guide 65
Page 80
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-1(super)# set dot1x tx-period 90 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>
value Number of the VLAN to be assigned to the management
interface.
Example:
P330-N# set inband vlan 1 Management VLAN number set to 1

set intelligent-multicast

User level: privileged, supervisor.
Use the set intelligent-multicast command to enable or disable the IP­multicast filtering application.
The syntax for this command is:
set intelligent-multicast {enable|disable}
Example:
P330-N# set intelligent-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.
66 Avaya P330-ML Reference Guide
Page 81
The syntax for this command is:
set intelligent-multicast client-port-pruning time <seconds>
seconds Client 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
seconds Group 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>
seconds Router port pruning time in seconds.
Avaya P330-ML Reference Guide 67
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>
vlan The number of the VLAN to be assigned to the interface
ip_addr IP address of the inband interface
netmask Subnet mask
Example:
To configure the inband interface on VLAN 1, IP address 1.1.1.1 and netmask
255.255.255.24:
P330-N# set interface inband 1 1.1.1.1 255.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.
68 Avaya 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_addr IP address used by the P330-ML Supervisor Module to connect
via its PPP interface
net-mask Subnet mask used by the P330-ML Supervisor Module to
connect via its PPP interface
Example:
P330-N# set interface ppp 149.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}
enable Enable PPP and enter modem mode.
enable-always Enter modem mode every time that the proprietary modem
cable is plugged into the console port.
disable Disable PPP and enter terminal mode
off Disconnect the active PPP session.
reset Reset the connected modem.
Example:
P330-N# set interface ppp reset PPP has reset the connected modem.
Avaya P330-ML Reference Guide 69
Page 84
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Example:
P330-N# set interface ppp enable Entering the Modem mode within 60 seconds...
Please check that the proprietary modem cable is plugged into the console port
Example:
P330-N# set interface ppp disable 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-port Primary port number
module/second-port Secondary port number
on Set the intermodule redundancy
name Name 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".
70 Avaya 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# set intermodule port redundancy off 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}
module Module number in the stack
value max - 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# set internal buffering 1 max Done.
Avaya P330-ML Reference Guide 71
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>
destination IP address of the network, or specific host to be added
gateway IP address of the router
Example:
This example shows how to add a default route to the IP routing table:
P330-N# set ip route 0.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
------------------------------------------------------------------------
0.0.0.0 192.168.1.1 1 1 3199 se0
127.1.1.0 127.1.1.1 1 8 7606 se1
------------------------------------------------------------------------
ROUTE HOST TABLE destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
127.0.0.1 127.0.0.1 5 2 131 lo0
10.10.10.10 192.168.1.1 7 0 0 se0
------------------------------------------------------------------------

set license

User level: privileged, supervisor.
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.
72 Avaya P330-ML Reference Guide
Page 87
The syntax for this command is:
set license [module] [license] [feature name]
module Switch number
license License number
feature name Name of the feature, either smon or routing
Example:
P330-N# set license 1 021 1ad bad ca5 8d2 ccd smon

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
all A keyword signifying that messages from all applications are
displayed.
Avaya P330-ML Reference Guide 73
Page 88
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
application The 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
none A keyword signifying that logging messages are not logged to
the logging file regardless of the severity of the message.
severity The minimum severity of the logging messages that are logged
to the logging file. Possible values are:
•Emergency
•Alert
•Critical
•Error
• Warning
• Notification
•Informational
• Debugging
74 Avaya 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-address The IP address of the Syslog server.
Avaya P330-ML Reference Guide 75
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>
admission­level
ip-address The 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
76 Avaya 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>
all A keyword signifying that the specified severity threshold
applies to all applications.
application The 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
none A keyword signifying that logging messages are not logged to
the Syslog server regardless of the severity of the message.
severity The 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-address The IP address of the Syslog server.
Avaya P330-ML Reference Guide 77
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-address The 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-address The IP address of the Syslog server.
78 Avaya 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-facility The 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-address The IP address of the Syslog server.
Avaya P330-ML Reference Guide 79
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> }
all A keyword signifying that the specified severity threshold
applies to all applications.
application The 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
none A keyword signifying that messages are not logged regardless
of their severity.
80 Avaya P330-ML Reference Guide
Page 95
severity The 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 Guide 81
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# set logout 20 Sessions will be automatically logged out after 20 minutes
of idle time.
To disable the automatic disconnection of idle sessions:
P330-N# set logout 0 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.
82 Avaya P330-ML Reference Guide
Page 97
The syntax for this command is:
Set mac-aging <status>
status enable / 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# set mac-aging-time 5 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
Avaya P330-ML Reference Guide 83
Page 98
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
<module>/<port> {no-flowcontrol|asym-tx-only|sym-only|sym-and­asym-rx}
module Number of the module.
port Number 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-flowcontrol The port will advertise no pause capabilities.
asym-tx-only The port will advertise asymmetric Tx pause capabilities only.
sym-only The port will advertise symmetric pause capabilities only.
sym-and-asym-rx The port will advertise both symmetric and asymmetric Rx
pause capabilities.
Example:
P330-N# set port auto-negotiation-flowcontrol­advertisement 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.
84 Avaya P330-ML Reference Guide
Page 99
The syntax for this command is:
set port channel [<port_list>] [<value>] [<name>]
port_list A list of ports to be aggregated in the format module/port
value on or off – enables or disables the channel for the specified
name Channel 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 port module/port range
regular | valuable port classification
Example:
P330-N# set port classification 2/19 valuable 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 Guide 85
Page 100
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
The syntax for this command is:
set port disable <mod_num>/<port_num>
module Number of the switch in the stack.
port Number 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# set port disable 4/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.
86 Avaya 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...