Avaya P330-ML-ML User Manual

Avaya
Reference Guide
AVAYA P330-ML-ML
STACKABLE SWITCH
SOFTWARE VERSION 4.5
January 2004

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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

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
Chapter 1 Using the CLI
8 Avaya P330-ML Reference Guide
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
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
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
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
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
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
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
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
Loading...
+ 290 hidden pages