Avaya C460 User Manual

Avaya
Reference Guide
AVAYA C460
MULTILAYER MODULAR SWITCH
SOFTWARE VERSION 2.0
May 2003
avaya.com
© 2003 Avaya Inc. All rights reserved. All trademarks identified by the ® or TM are registered trademarks or trademarks, respectively, of Avaya Inc. All other trademarks are the property of their respective owners
Document no. 555-500-200

Contents

Chapter 1 Using the CLI ................................................................................................................. 1
CLI Architecture.................................................................................................... 1
Conventions Used................................................................................................. 2
CLI Help ................................................................................................................. 2
Command Line Prompt........................................................................................ 2
Navigation, Cursor Movement and Shortcuts.................................................. 4
Command Syntax..................................................................................................4
Command Abbreviations ............................................................................4
Universal Commands........................................................................................... 5
Retstatus command ......................................................................................5
Tree command ..............................................................................................5
terminal width ..............................................................................................6
terminal length ..............................................................................................6
clear screen ....................................................................................................7
Avaya C460 Sessions ............................................................................................ 8
Security Levels....................................................................................................... 9
Entering the Supervisor Level ....................................................................9
Entering the CLI .........................................................................................10
Entering the Technician Level ..................................................................10
Getting Help.........................................................................................................10
Command Syntax................................................................................................10
Command Abbreviations ..........................................................................10
Router Configuration Contexts......................................................................... 11
Chapter 2 Avaya C460 CLI Commands ..................................................................................... 13
access list ......................................................................................................13
area ...............................................................................................................13
arp .................................................................................................................14
arp timeout .................................................................................................. 14
banner login ................................................................................................15
banner login line .........................................................................................15
banner post-login .......................................................................................15
banner post-login line ................................................................................16
clear arp-cache ............................................................................................ 16
clear cam ...................................................................................................... 17
clear dot1x config .......................................................................................17
clear dynamic vlans ...................................................................................17
clear event-log ............................................................................................. 18
Avaya C460 Reference Guide i
Contents
clear fragment .............................................................................................18
clear interface ..............................................................................................19
clear ip route ................................................................................................19
clear ip route (Layer 3) ...............................................................................19
clear ip traffic ...............................................................................................20
clear log ........................................................................................................20
clear port mirror ..........................................................................................20
clear port static-vlan ...................................................................................21
clear radius authentication server ............................................................21
clear rmon2 statistics ..................................................................................22
clear screen ..................................................................................................22
clear snmp trap ...........................................................................................22
clear system-log ..........................................................................................23
clear timezone .............................................................................................23
clear vlan ......................................................................................................24
clear vlan (Layer 3) ....................................................................................24
configure ......................................................................................................25
copy l2-config tftp .......................................................................................25
copy running-config startup-config .........................................................25
copy startup-config tftp .............................................................................26
copy tftp EW_archive .................................................................................27
copy tftp l2-config .......................................................................................27
copy tftp startup-config .............................................................................28
copy tftp SW_imageA ................................................................................28
copy tftp SW_imageB .................................................................................29
default-metric ..............................................................................................30
default-metric (OSPF) ................................................................................30
default-metric (RIP) ....................................................................................31
disable interface ..........................................................................................31
enable interface ...........................................................................................32
enable vlan commands ..............................................................................32
erase startup-config ....................................................................................33
fragment chain ............................................................................................33
fragment size ...............................................................................................33
fragment timeout ........................................................................................34
get time .........................................................................................................34
hostname ......................................................................................................34
hostname (Layer 3) .....................................................................................35
interface ........................................................................................................36
ip access-default-action ..............................................................................37
ip access-group ............................................................................................37
ip access-list .................................................................................................38
ip access-list-cookie ....................................................................................39
ip access-list-copy .......................................................................................39
ii Avaya C460 Reference Guide
Contents
ip access-list-dscp name ............................................................................40
ip access-list-dscp operation .....................................................................40
ip access-list-dscp precedence ..................................................................41
ip access-list-dscp trust .............................................................................. 42
ip access-list-name ......................................................................................42
ip access-list-owner ....................................................................................43
ip address ....................................................................................................43
ip admin-state .............................................................................................44
ip bootp-dhcp network ..............................................................................44
ip bootp-dhcp relay ....................................................................................45
ip bootp-dhcp server ..................................................................................46
ip broadcast-address .................................................................................. 46
ip default-gateway .....................................................................................47
ip directed-broadcast ................................................................................. 47
ip icmp-errors ............................................................................................. 48
ip max-arp-entries ......................................................................................48
ip max-route-entries ...................................................................................49
ip netbios-rebroadcast ...............................................................................49
ip netmask-format ...................................................................................... 50
ip ospf authentication-key ........................................................................51
ip ospf cost ...................................................................................................51
ip ospf dead-interval ..................................................................................52
ip ospf hello-interval ..................................................................................52
ip ospf priority ............................................................................................53
ip ospf router-id .......................................................................................... 53
ip proxy-arp ................................................................................................ 54
ip redirects ...................................................................................................54
ip rip authentication key ...........................................................................54
ip rip authentication mode .......................................................................55
ip rip default-route-mode .........................................................................56
ip rip poison-reverse .................................................................................. 56
ip rip rip-version ........................................................................................57
ip rip send-receive-mode ..........................................................................57
ip rip split-horizon .....................................................................................58
ip route .........................................................................................................59
ip routing .....................................................................................................59
ip routing-mode ..........................................................................................60
ip simulate ................................................................................................... 61
ip vlan/ip vlan name ................................................................................. 61
ip vrrp ..........................................................................................................62
ip vrrp address ............................................................................................62
ip vrrp auth-key ..........................................................................................63
ip vrrp override addr owner .....................................................................63
ip vrrp preempt ..........................................................................................64
Avaya C460 Reference Guide iii
Contents
ip vrrp primary ...........................................................................................64
ip vrrp priority ............................................................................................65
ip vrrp timer ................................................................................................66
line .................................................................................................................66
network (RIP) ..............................................................................................67
network (OSPF) ...........................................................................................67
no rmon alarm .............................................................................................68
no rmon event .............................................................................................68
no rmon history ..........................................................................................69
no username ................................................................................................69
nvram initialize ...........................................................................................69
passive-interface .........................................................................................70
ping ...............................................................................................................71
ping (Layer 3) ..............................................................................................71
redistribute (OSPF) .....................................................................................72
redistribute (RIP) ........................................................................................72
reset ...............................................................................................................73
rmon alarm ..................................................................................................75
rmon event ...................................................................................................76
rmon history ................................................................................................76
rmon2 protocol-dir .....................................................................................77
rmon2 protocol-dist ....................................................................................77
router ospf ....................................................................................................78
router rip ......................................................................................................78
router vrrp ...................................................................................................79
session ..........................................................................................................79
set allowed managers .................................................................................80
set allowed managers ip ............................................................................80
set arp-aging-interval .................................................................................81
set arp-tx-interval .......................................................................................81
set boot bank ................................................................................................82
set broadcast storm control .......................................................................82
set broadcast storm control threshold .....................................................83
set device-mode ..........................................................................................83
set device-mode (Layer 3) .........................................................................84
set dot1x max-req ........................................................................................84
set dot1x quiet-period ................................................................................84
set dot1x re-authperiod ..............................................................................85
set dot1x server-timeout ............................................................................85
set dot1x supp-timeout ..............................................................................85
set dot1x system-auth-control disable .....................................................86
set dot1x system-auth-control enable ......................................................86
set dot1x tx-period ......................................................................................87
set icmp-redirect .........................................................................................87
iv Avaya C460 Reference Guide
Contents
set inband vlan ............................................................................................88
set intelligent-multicast .............................................................................88
set intelligent-multicast client port pruning time ..................................88
set intelligent-multicast group-filtering delay time .............................. 89
set intelligent-multicast router port pruning time ................................89
set interface inband ....................................................................................90
set interface outband .................................................................................. 90
set interface ppp ......................................................................................... 91
set interface ppp enable/disable/off/reset ............................................ 91
set ip route ...................................................................................................92
set license .....................................................................................................94
set logout .....................................................................................................94
set mac-aging ..............................................................................................95
set mac-aging-time .....................................................................................95
set outband duplex .....................................................................................96
set outband negotiation ............................................................................. 96
set outband speed .......................................................................................97
set policy type .............................................................................................97
set port auto-negotiation-flowcontrol-advertisement ..........................99
set port channel ...........................................................................................99
set port classification ................................................................................ 100
set port disable ..........................................................................................101
set port dot1x initialize ............................................................................101
set port dot1x max-req .............................................................................102
set port dot1x port-control ......................................................................102
set port dot1x quiet-period .....................................................................103
set port dot1x re-authenticate .................................................................103
set port dot1x re-authentication .............................................................103
set port dot1x re-authperiod ...................................................................104
set port dot1x server-timeout ................................................................. 104
set port dot1x supp-timeout ...................................................................105
set port dot1x tx-period ...........................................................................105
set port duplex .......................................................................................... 106
set port edge admin state ........................................................................106
set port enable ...........................................................................................107
set port flowcontrol .................................................................................. 109
set port level ..............................................................................................110
set port mirror ...........................................................................................110
set port name .............................................................................................111
set port negotiation ..................................................................................111
set port point-to-point admin status ......................................................112
set port powerinline .................................................................................113
set port powerinline priority ..................................................................113
set port redundancy .................................................................................114
Avaya C460 Reference Guide v
Contents
set port redundancy on/off ....................................................................115
set port redundancy-intervals .................................................................115
set port spantree ........................................................................................116
set port spantree cost ................................................................................117
set port spantree force-protocol-migration ...........................................117
set port spantree priority .........................................................................118
set port speed ............................................................................................118
set port static-vlan ....................................................................................119
set port trap ...............................................................................................119
set port vlan ...............................................................................................120
set port vlan-binding-mode ....................................................................121
set power redundancy .............................................................................121
set powerinline budget ............................................................................122
set ppp authentication incoming ............................................................122
set ppp baud-rate ......................................................................................123
set ppp chap-secret ...................................................................................123
set ppp incoming timeout .......................................................................123
qset radius authentication enable/disable ............................................124
set radius authentication retry-number ................................................124
set radius authentication retry-time .......................................................125
set radius authentication secret ..............................................................125
set radius authentication server .............................................................125
set radius authentication udp-port ........................................................126
set slot power admin ................................................................................126
set slot power priority ..............................................................................127
set snmp community ................................................................................128
set snmp retries .........................................................................................128
set snmp timeout ......................................................................................129
set snmp trap .............................................................................................129
set snmp trap auth ....................................................................................130
set spantree default-path-cost .................................................................131
set spantree enable/disable ....................................................................131
set spantree forward-delay ......................................................................132
set spantree hello-time .............................................................................132
set spantree max-age ................................................................................132
set spantree priority .................................................................................133
set spantree tx-hold-count .......................................................................133
set spantree version ..................................................................................134
set system contact .....................................................................................134
set system location ....................................................................................135
set system name ........................................................................................135
set time client .............................................................................................136
set time protocol .......................................................................................136
set time server ...........................................................................................137
vi Avaya C460 Reference Guide
Contents
set timezone ..............................................................................................137
set trunk .....................................................................................................138
set vlan .......................................................................................................138
set vlan (Layer 3) ......................................................................................139
set web aux-files-url .................................................................................139
set welcome message ...............................................................................140
show access lists .......................................................................................140
show allowed managers status ..............................................................141
show allowed managers table ................................................................142
show arp-aging-interval ..........................................................................143
show arp-tx-interval ................................................................................143
show banner login ....................................................................................143
show banner post-login ........................................................................... 144
show boot bank .........................................................................................144
show broadcast storm control ................................................................144
show cam ...................................................................................................145
show cam mac ...........................................................................................147
show cam vlan ..........................................................................................147
show chassis-identity ...............................................................................148
show copy status ......................................................................................148
show cpu load ...........................................................................................149
show cs .......................................................................................................149
show device-mode ...................................................................................150
show dot1x ................................................................................................150
show dot1x statistics ................................................................................150
show dynamic vlans ................................................................................151
show environment fans ...........................................................................151
show environment power .......................................................................152
show erase status ......................................................................................153
show event-log ..........................................................................................153
show event-log (Layer 3) .........................................................................153
show fragment ..........................................................................................153
show icmp-redirect ..................................................................................154
show image version .................................................................................154
show intelligent-multicast .......................................................................154
show interface ...........................................................................................155
show ip access-group ...............................................................................155
show ip access-list-dscp ..........................................................................156
show ip access-lists ..................................................................................156
show ip access-list-summary ..................................................................157
show ip arp ................................................................................................157
show ip icmp .............................................................................................158
show ip interface ......................................................................................159
show ip interface brief ............................................................................. 160
Avaya C460 Reference Guide vii
Contents
show ip ospf ..............................................................................................160
show ip ospf database ..............................................................................161
show ip ospf interface ..............................................................................161
show ip ospf neighbor .............................................................................162
show ip protocols ......................................................................................162
show ip reverse-arp ..................................................................................163
show ip route .............................................................................................163
show ip route (Layer 3) ............................................................................163
show ip route best-match ........................................................................164
show ip route static ..................................................................................164
show ip route summary ...........................................................................165
show ip traffic ............................................................................................165
show ip unicast cache ...............................................................................167
show ip unicast cache networks .............................................................168
show ip unicast cache networks detailed ..............................................169
show ip unicast cache nextHop ..............................................................169
show ip unicast cache summary .............................................................170
show ip vrrp ..............................................................................................170
show ip vrrp detail ...................................................................................171
show l2-config ...........................................................................................173
show license ...............................................................................................183
show logout ...............................................................................................183
show mac-aging ........................................................................................183
show mac-aging-time ...............................................................................184
show module .............................................................................................185
show outband ............................................................................................186
show policy type .......................................................................................186
show port ...................................................................................................187
show port auto-negotiation-flowcontrol-advertisement ....................188
show port channel ....................................................................................188
show port classification ...........................................................................190
show port dot1x ........................................................................................191
show port dot1x statistics ........................................................................193
show port edge state ................................................................................194
show port flowcontrol ..............................................................................194
show port mirror ......................................................................................195
show port point-to-point status ..............................................................196
show port redundancy .............................................................................197
show port trap ...........................................................................................197
show port vlan-binding-mode ................................................................198
show powerinline .....................................................................................198
show powerinline budget ........................................................................199
show ppp authentication .........................................................................200
show ppp baud-rate .................................................................................200
viii Avaya C460 Reference Guide
Contents
show ppp configuration .......................................................................... 201
show ppp incoming timeout ..................................................................201
show ppp session .....................................................................................201
show radius authentication ....................................................................202
show rmon alarm .....................................................................................202
show rmon event ......................................................................................203
show rmon history ...................................................................................204
show rmon statistics ................................................................................204
show rmon2 dscp-stats ............................................................................205
show rmon2 protocol-dir ........................................................................206
show rmon2 protocol-dist ....................................................................... 206
show rmon2 state ..................................................................................... 208
show running-config ................................................................................209
show secure current .................................................................................210
show snmp ................................................................................................211
show snmp retries ....................................................................................212
show snmp timeout .................................................................................212
show spantree ...........................................................................................212
show spv ....................................................................................................214
show startup-config .................................................................................216
show system ..............................................................................................217
show system-log ....................................................................................... 217
show system-log (Layer 3) ......................................................................219
show tftp download software status .....................................................219
show tftp upload status ...........................................................................219
show time ..................................................................................................220
show time parameters ............................................................................. 220
show timezone ..........................................................................................221
show trunk ................................................................................................221
show username .........................................................................................222
show vlan ..................................................................................................222
show vlan (Layer 3) .................................................................................. 223
show web aux-files-url ............................................................................223
sync spv .....................................................................................................224
tech .............................................................................................................224
terminal length ..........................................................................................225
terminal width .......................................................................................... 225
timers basic ................................................................................................ 225
timers ospf .................................................................................................227
traceroute ...................................................................................................228
tree ..............................................................................................................228
username ................................................................................................... 229
validate-group ..........................................................................................230
validate policy-list ....................................................................................231
Avaya C460 Reference Guide ix
Contents
Layer 2 CLI Commands............................................................................................ 233
Layer 3 CLI Commands............................................................................................ 237
Glossary....................................................................................................................... 241
x Avaya C460 Reference Guide
Chapter 1

Using the CLI

This chapter describes the Avaya C460 CLI architecture and conventions, and provides instructions for accessing the Avaya C460 for configuration purposes.
The configuration procedure involves establishing a Telnet session or a serial connection and then using the Avaya C460’s internal CLI. For details on establishing a connection, see the User’s Guide that accompanies the switch.
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 C460 using the C460 Manager with its graphical user interface. For details, see the "Device Manager" chapter in the User’s Guide that accompanies the switch and the Avaya MSNM C460 Device Manager User’s Guide on the Documentation and Utilities CD.

CLI Architecture

The C460 supports both Layer 2 switching and Layer 3 switching. The C460 CLI includes two CLI entities to support this functionality.
The Switch CLI entity is used to manage Layer 2 switching.
The Router CLI entity is used to manage Layer 3 switching.
To switch between the entities, use the session command. For details, see "Avaya C460 Sessions" below.
Configuration of the password commands and community commands in one entity is automatically attributed to the other entity in the switch.
Avaya C460 Reference Guide 1
Chapter 1 Using the CLI

Conventions Used

Mandatory keywords are in the computer bold font.
Information displayed on screen is displayed in computer font.
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 |.
Lists of parameters from which you should choose are enclosed in square brackets [ ] and separated by a vertical bar |.
If you enter an alphanumeric string of two words or more, enclose the string in inverted commas.

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, or
— type "help" followed by the command
Use the Tab key to complete an unambiguous command.

Command Line Prompt

Four factors affect the command line prompt:
Host name of the CLI entity - the host name is used as the prefix of the command prompt.
Module Number - counting from the top and used as part of the prefix. In this document the Module number in the prompt is generic and is represented by “N”.
Security level - used as the suffix of the prompt (Refer to "Security Levels" on page 9.)
Application context - used as body of the prompt, this part is not mandatory.
Example: Host name of the router is London
Router is module number three Application context is OSPF
2 Avaya C460 Reference Guide
Chapter 1 Using the CLI
The command line prompt looks as follows:
London-1(configure router:ospf)#
The command prompt is not hierarchical in structure. If you wish to use several commands, each beginning with the same keyword, you must retype all parts of the command each time. For example, if after you want to set the system contact and the system name you must type both set system contact and set system name. However, you can use command abbreviations.
Avaya C460 Reference Guide 3
Chapter 1 Using the CLI

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
Tab Completes the abbreviated command. Type the
minimum number of characters unique to the command. An exception is the Reset System command which you must type in full.
Enter Executes a single-line command
“ “ If you type a name with quotation marks, the
marks are ignored.

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.
4 Avaya C460 Reference Guide

Universal Commands

Universal commands are commands that can be issued anywhere in the hierarchical tree.

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
Example::
C460-1# set port negotiation 2/4 disable Link negotiation protocol disabled on port 2/4.
C460-1# retstatus Succeeded

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
Output Example:
Chapter 1 Using the CLI
Example:
C460-1# tree terminal width length
Avaya C460 Reference Guide 5
Chapter 1 Using the CLI

terminal width

Use the terminal width command to set the terminal width of the terminal display.
The syntax for this command is:
terminal width [<character>]
character none - Displays the current width in
Example:
C460-1> terminal width 80 terminal width: 80

terminal length

Use the terminal length command to set the length of the terminal display.
characters.
number - Set the new screen width in characters
The syntax for this command is:
terminal length [<screen-length>]
screen-length none - Displays the current length in lines.
number - Set the new screen length in lines.
Example:
C460-1> terminal length 25
6 Avaya C460 Reference Guide

clear screen

Chapter 1 Using the CLI
Use the clear screen command to clear the current terminal display.
The syntax for this command is:
clear screen
Example:
C460-1> clear screen Welcome to C460
SW version 1.0.0 C460-1>
Avaya C460 Reference Guide 7
Chapter 1 Using the CLI

Avaya C460 Sessions

You can use sessions to switch between C460 Supervisor modules or to switch between Layer 2 and Layer 3 commands in the C460 CLI.
To switch between C460 modules use the command: session [<mod_num>] <mode>.
The <mod_num> is the number of the module in the chassis, counting from the top down. The <mode> can be either switch or router. When Module Number is not specified, the command switches between the modes in the local module. Use switch mode to configure layer 2 commands. Use router mode to configure routing commands.
Example:
To configure router parameters in the module that you are currently logged into, type the following command:
session router. L When you use the session command the security level stays the same.
8 Avaya C460 Reference Guide

Security Levels

There are four security access levels (modes) – User, Privileged, Configure and Supervisor.
The User mode is a general access level used to show system parameter values.
The Privileged mode is used by site personnel to access switch configuration options.
The Configure mode is used by site personnel for Layer 3 configuration.
The Supervisor mode 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):
Chapter 1 Using the CLI
Welcome to C460 SW version 1.0.0 Login: root Password:**** Password accepted.
C460-1(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.
Avaya C460 Reference Guide 9
Chapter 1 Using the CLI

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:
C460-1>
The Privileged level prompt is shown below:
C460-1#
The Configure level prompt for Layer 3 configuration is shown below:
C460(configure)#
The Supervisor level prompt is shown below:
C460(super)#

Entering the Technician Level

This level is can only be accessed from the Privileged and Supervisor levels not from the User level.
L This feature is for use by Avaya Technical Support only.

Getting Help

On-line help may be obtained at any time by typing a question mark (?), or the word help on the command line or by pressing the F1 key. To obtain help for a specific command, type the command followed by a space and a question mark.
Example:
C460-1> show ? C460-1> help show

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.
10 Avaya C460 Reference Guide

Router Configuration Contexts

You can either use the general C460 commands available from the Router(configure)# prompt or you can enter one of two router configuration context modes:
Router interface context: This allows you to define parameters individually for each interface. To enter this context, type interface <interface_name> The prompt changes to Router>(config-if:<interface_name>)#
Router protocol context: This allows you to define parameters for a specific routing protocol (RIP, OSPF, and VRRP). To enter this context, type router <protocol_name> The prompt changes to Router>(configure router:protocol_name)#
To exit these context modes, type the command exit.
Chapter 1 Using the CLI
Avaya C460 Reference Guide 11
Chapter 1 Using the CLI
12 Avaya C460 Reference Guide
Chapter 2

Avaya C460 CLI Commands

This chapter describes all the C460 CLI commands and parameters in alphabetical order.

access list

See “ip access-list”

area

User level: read-write, admin.
L You can only access this command in Router-OSPF mode.
Type router ospf at the command prompt to enter Router -OSPF mode if necessary.
Use the area command to configure the area ID of the router.
Use the no area command to delete the area ID of the router (set it to 0) and remove the stub definition.
The default area is 0.0.0.0. L You cannot define a stub area when OSPF is redistributing other protocols or
when the Area ID is 0.0.0.0.
The syntax for this command is:
[no] area <area id> [<stub>]
area id IP address
stub Stub
Example:
Router-1 (configure router:ospf) # area 192.168.49.1 Router-1 (configure router:ospf) # area 192.168.49.1 stub
Avaya C460 Reference Guide 13
Chapter 2 Avaya C460 CLI Commands
arp
User level: read-write, admin.
L If you are at the “read-write” user level, you can only access this command in
Configure mode. Type configure at the command prompt to enter configure mode.
Use the arp command to add a permanent entry to the Address Resolution Protocol (ARP) cache.
Use the no arp command to remove an entry, either static entry or dynamically learned.
The syntax for this command is:
[no] arp <ip-address> <mac-address>
ip-address IP address, in dotted decimal format, of the station
mac-address MAC address of the local data link
Example:
To add a permanent entry for station 192.168.7.8 to the ARP cache:
C460-1(configure)# arp 192.168.7.8 00:40:0d:8c:2a:01
Example:
To remove an entry to the ARP cache for the station 192.168.13.76:
C460-1(configure)# no arp 192.168.13.76

arp timeout

User level: read-write, admin.
L If you are at the “read-write” user level, you can only access this command in
Configure mode. Type configure at the command prompt to enter configure mode.
Use the arp timeout command to set the amount of time that an entry remains in the ARP cache.
Use the no arp timeout command to restore the default value, 14,400.
14 Avaya C460 Reference Guide

banner login

Chapter 2 Avaya C460 CLI Commands
The syntax for this command is:
[no] arp timeout <seconds>
seconds The amount of time, in seconds, that an entry remains
in the arp cache.
Example:
To set the arp timeout to one hour:
C460-1(configure)# arp timeout 3600
To restore the default arp timeout:
C460-1(configure)# no arp timeout
Use the banner login command to enter the login banner configuration mode. Use the no banner login command to set the login banner to the default value.
L Delete the current banner using the no banner login command before
creating a new banner, .
The syntax for this command is:
[no] banner login
Example:
C460-1(super)# banner login
C460-1(super)#

banner login line

See “line”

banner post-login

Use the banner post-login command to enter the post-login configuration mode. Use the no banner post-login command to set the post-login banner to the default value.
L Before creating a new banner, delete the current banner using the no banner
post-login command.
Avaya C460 Reference Guide 15
Chapter 2 Avaya C460 CLI Commands
The syntax for this command is:
[no] banner post-login
Example:
C460-1(super)# banner post-login
C460-1(super)#

banner post-login line

See “line”

clear arp-cache

User level: read-write, admin.
L If you are at the “read-write” user level, you can only access this command in
Configure mode. Type configure at the command prompt to enter configure mode.
Use the clear arp-cache command to delete dynamic entries from the ARP cache and the IP route cache.
The syntax for this command is:
clear arp cache[<vlan>|<ip addr>[<mask>]]
vlan VLAN string (up to 16 characters
ip addr IP address
mask IP mask
Example:
C460-1(configure)# clear arp-cache Flushing all arp entries
Flushed 100 ARP entries Done!
16 Avaya C460 Reference Guide

clear cam

User level: read-write, admin.
Use the clear cam command to delete all entries from the CAM table.
The syntax for this command is:
clear cam
Example:
C460-1# clear cam
CAM table cleared.

clear dot1x config

User level: privileged, 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
Chapter 2 Avaya C460 CLI Commands
Example:
C460-1(super)# clear dot1x config
Original Configuration was Restored

clear dynamic vlans

User level: read-write, admin.
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
Avaya C460 Reference Guide 17
Chapter 2 Avaya C460 CLI Commands
Example:
C460-1# 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 event-log

User level: read-write, admin.
Use the clear event-log command to delete the log file of a Supervisor module.
The syntax for this command is:
clear event-log [<module_number>]

clear fragment

spv_num
Number of Supervisor Module (1 to 2)
(Optional)
Example:
C460-1# clear event-log
*** Clearing the reset file ***
- do you want to continue (Y/N)? y C460-1#
User level: read-write, admin.
Use the clear fragment command to restore fragment action database defaults and free all waiting fragments.
The syntax for this command is:
clear fragment
Example:
Router-1# clear fragment
Done!
18 Avaya C460 Reference Guide
Loading...
+ 238 hidden pages