This chapter describes the Avaya P460 CLI architecture and conventions, and
provides instructions for accessing the Avaya P460 for configuration purposes.
The configuration procedure involves establishing a Telnet session or a serial
connection and then using the Avaya P460’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 P460 using the P460 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 P460 Device Manager User’s Guide
on the Documentation and Utilities CD.
CLI Architecture
The P460 supports both Layer 2 switching and Layer 3 switching.
The P460 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 P460 Sessions" below.
Configuration of the password commands and community commands in one
entity is automatically attributed to the other entity in the switch.
Avaya P460 Reference Guide1
Page 12
Chapter 1Using 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 (refer to hostname command on page 29 for the Switch CLI
entity; refer to hostname command on page 30 for the Router CLI entity).
•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 Level 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
2Avaya P460 Reference Guide
Page 13
Chapter 1Using 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 P460 Reference Guide3
Page 14
Chapter 1Using the CLI
Navigation, Cursor Movement and Shortcuts
The CLI contains a simple text editor with these functions:
Table 1.1Navigation, Cursor Movement and Shortcuts
KeyboardFunctions
BackspaceDeletes the previous character
Up arrow/Down arrowScrolls back and forward through the command
history buffer
Left arrow/Right arrowMoves the cursor left or right
TabCompletes 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.
EnterExecutes 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.
4Avaya P460 Reference Guide
Page 15
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::
P460-1# set port negotiation 2/4 disable
Link negotiation protocol disabled on port 2/4.
P460-1# Router(enable)# 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 1Using the CLI
Example:
P460-1# tree
terminal
width
length
Avaya P460 Reference Guide5
Page 16
Chapter 1Using 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>]
characternone - Displays the current width in
Example:
P460-1> terminal width80
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-lengthnone - Displays the current length in lines.
number - Set the new screen length in lines.
Example:
P460-1> terminal length25
6Avaya P460 Reference Guide
Page 17
clear screen
Chapter 1Using the CLI
Use the clear screen command to clear the current terminal display.
The syntax for this command is:
clear screen
Example:
P460-1> clearscreen
Welcome to P460
SW version 1.0.0
P460-1>
Avaya P460 Reference Guide7
Page 18
Chapter 1Using the CLI
Avaya P460 Sessions
You can use sessions to switch between P460 Supervisor modules or to switch
between Layer 2 and Layer 3 commands in the P460 CLI.
To switch between P460 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.
8Avaya P460 Reference Guide
Page 19
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 1Using the CLI
Welcome to P460
SW version 1.0.0
Login: root
Password:****
Password accepted.
P460-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 P460 Reference Guide9
Page 20
Chapter 1Using 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:
P460 >
The Privileged level prompt is shown below:
P460-1#
The Configure level prompt for Layer 3 configuration is shown below:
P460(configure)#
The Supervisor level prompt is shown below:
P460(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:
P460-1> show ?
P460-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.
10Avaya P460 Reference Guide
Page 21
Router Configuration Contexts
You can either use the general P460 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 1Using the CLI
Avaya P460 Reference Guide11
Page 22
Chapter 1Using the CLI
12Avaya P460 Reference Guide
Page 23
Chapter 2
Avaya P460 CLI Commands
This chapter describes all the P460 CLI commands and parameters in alphabetical
order.
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 deleted the area ID of the router (set it to 0) and
remove the stub definition.
The default area is 0.0.0.0.
Note: You cannot define a stub area when OSPF is redistributing other protocols or
when the Area ID is 0.0.0.0.
To remove an entry to the ARP cache for the station 192.168.13.76:
Router-1(configure)# noarp192.168.13.76
arp timeout
User level: read-write, admin.
L 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.
The syntax for this command is:
[no] arp timeout <seconds>
secondsThe amount of time, in seconds, that an entry remains
in the arp cache.
14Avaya P460 Reference Guide
Page 25
banner login
Chapter 2Avaya P460 CLI Commands
Example:
To set the arp timeout to one hour:
Router-1(configure)# arptimeout3600
To restore the default arp timeout:
Router-1(configure)# noarp 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 Before creating a new banner, delete the current banner using the no banner
login command.
The syntax for this command is:
[no] banner login
Example:
P460-1(super)# bannerlogin
P460-1(super)#
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.
The syntax for this command is:
[no] banner post-login
Example:
P460-1(super)# bannerpost-login
P460-1(super)#
Avaya P460 Reference Guide15
Page 26
Chapter 2Avaya P460 CLI Commands
clear arp-cache
User level: read-write, admin.
L 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.
Use the clear cam command to delete all entries from the CAM table.
The syntax for this command is:
clear cam
Example:
P460-1# clearcam
CAM table cleared.
16Avaya P460 Reference Guide
Page 27
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
Example:
P460-1# cleardynamicvlans
This command will delete all the vlans that were
dynamically learned by the device - do you want to continue
(Y/N)? y
Dynamic vlans were deleted from device tables
clear event-log
User level: read-write, admin.
Use the clear event-log command to delete the log file of a Supervisor module.
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
clear event-log [<module_number>]
spv_num
Number of Supervisor Module (1...2)
(Optional)
Example:
P460-1# clearevent-log
*** Clearing the reset file ***
- do you want to continue (Y/N)? y
P460-1#
clear interface
User level: read-write, admin.
Use the clear interface command to clear the inband or outband interface
from the NVRAM.
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:
P460-1# cleartimezone
Timezone name and offset cleared.
Avaya P460 Reference Guide21
Page 32
Chapter 2Avaya P460 CLI Commands
clear vlan
User level: read-write, admin.
Use the clear vlan command to delete an existing VLAN and return ports from
this VLAN to the default VLAN #1. When you clear a VLAN, all ports assigned to
that VLAN are assigned to the default VLAN #1.
The syntax for this command is:
clear vlan <vlan-id>[name <vlan_name>]
vlan_idVLAN number
vlan_nameVLAN name
If you wish to enter a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
Example:
P460-1# 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 deletion successful
clear vlan (Layer 3)
User level: read-write, admin.
L You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode if
necessary.
Use the clear vlan command to delete a Router layer 2 interface.
The syntax for this command is:
clear vlan [<ifIndex>] | [name <ifname>]
ifIndexInterface Index
ifnameInterface name (used in layer 3 protocols)
Example:
Router-1(configure)# clearvlan2namevlan2
22Avaya P460 Reference Guide
Page 33
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
configure
User level: read-write, admin.
Use the configure command to enter configure mode.
The syntax for this command is:
command
Example:
P460-1(super)# configure
P460-1(configure)#
copy l2-config tftp
User level: read-write, admin.
Use the copy l2-config tftp command to upload the Layer 2 parameters from
the current NVRAM running configuration to a file via TFTP.
L To use this command, you need to have an active tftp server, and to create a file
Chapter 2Avaya P460 CLI Commands
into which to download the data.
If Avaya MultiService Network Manager is running, you do not require an
additional TFTP server.
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
*********************************************************************
* If you are currently running the P460 Device Manager application, *
* it is recommended to exit from it before performing configuration *
* download operations. *
*********************************************************************
copy tftp startup-config
User level: read-write, admin.
Copies the P460 configuration from the saved TFTP file to the Startup Configuration
NVRAM.
Use the copy tftp SW_imageA command to update the software image in Bank
A of all the Supervisor Modules installed in the switch. To use this command, you
need to have an active TFTP server, and to create a file into which to download the
data. If MSNM is running, an additional tftp server is not required.
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
*********************************************************************
* If you are currently running the P460 Device Manager application, *
* it is recommended to exit from it before performing configuration *
* download operations. *
*********************************************************************
copy tftp SW_imageB
User level: read-write, admin.
Use the copy tftp SW_imageB command to updates the software image in Bank
B of all the Supervisor Modules installed in the switch. To use this command, you
need to have an active TFTP server, and to create a file into which to download the
data. If MSNM is running, an additional tftp server is not required.
Beginning download operation ...
This operation may take a few minutes...
Please refrain from any other operation during this time.
*********************************************************************
* If you are currently running the P460 Device Manager application, *
* it is recommended to exit from it before performing configuration *
* download operations. *
*********************************************************************
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the default metric command to set the interface RIP route metric.
Use the no default metric command to restore the default value.
The default metric is 1.
The syntax for this command is:
[no] default-metric <number>
numberThe interface RIP route metric value. The range is 0 to 15.
Use the disable interface command to disables the inband or outband
interface.
Avaya P460 Reference Guide27
Page 38
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
disable interface [outband | inband]
outbandDisables the outband interface
inbandDisables the inband interface
Example:
P460-1# disableinterfaceoutband
You must reset the device in order for the change to take
effect.
enable interface
User level: read-write, admin.
Use the enable interface command to enable the inband and outband
interfaces.
The syntax for this command is:
enable interface {outband | inband}
outbandEnables the outband interface
inbandEnables the inband interface
Example:
P460-1# enableinterfaceinband
This command will RESET the device
*** Reset *** - do you want to continue (Y/N)? Y
Attaching network interface lo0... done.
Welcome to P460
SW version 1.0.1
Login:
28Avaya P460 Reference Guide
Page 39
enable vlan commands
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
L Use the enable vlans commands command before configuring VLAN-
oriented parameters, when there is more than one interface on the same VLAN.
The syntax for this command is:
enable vlan commands
Example:
Router-1(config-if:marketing)#enablevlancommands
get time
Use the get time command to retrieve the time from the network.
The syntax for this command is:
get time
Chapter 2Avaya P460 CLI Commands
Example:
P460-1> gettime
Time is being acquired from server 0.0.0.0
Time has been acquired from the network.
hostname
User level: read-write, admin.
Use the hostname command to change the Command Line Interface (CLI)
prompt. The current module number always appears at the end of the prompt.
Use the no hostname command to return the CLI prompt to its default.
The syntax for this command is:
[no] hostname [<hostname_string>]
hostname_string• none – displays current hostname
• string – the string to be used as the hostname (up to 20
characters).
Avaya P460 Reference Guide29
Page 40
Chapter 2Avaya P460 CLI Commands
Example:
P460-1# hostname
Session hostname is ‘P460’
P460-1# hostname“gregory”
P460-1(super)#
If you wish to enter a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
hostname (Layer 3)
User level: read-write, admin.
Changes the system prompt used for the router. This command does not change the
system prompt of the switch. To change the system prompt of the switch, use the
host name command in the Layer 2 tree.
The syntax for this command is:
[no] hostname [<hostname_string>]
hostname_string
The string to be used as the hostname (up to 20 characters).
If you do not enter a string, the current hostname is
displayed.
Example:
Router-1> hostname Marketing
Marketing-1 #
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
interface
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode if necessary.
Use the interface command to create and enter the Interface Configuration
Mode.
Use the no interface command to delete a specific IP interface.
•You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode.
Use the ip access list command to create a specific policy rule. The access list
contains several of these rules: each rule pertains to the source IP address, the
destination IP address, the protocol, the protocol ports (if relevant), and to the ACK
bit (if relevant).
Use the no ip access list command to delete a specific rule.
•You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode if
Avaya P460 Reference Guide33
Page 44
Chapter 2Avaya P460 CLI Commands
necessary.
Use the ip access-list-copy command to copy a configured source policy list
to a destination policy list.
The syntax for this command is:
ip access-list-copy <source-list> <destination-list>
<source-list>integer (100...199)
<destination-list>integer (100...199)
Example:
Router-1(configure)# ip access-list-copy 100 101
ip access-list-name
User level: read-write, admin.
•You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode if
necessary.
Use the ip access-list-name command to set a name for a policy list.
The syntax for this command is:
ip access-list-name <policy-list-number> <name>
<policy-list-number>integer (100...199)
<name>list name
Example:
Router-1(configure)# ip access-list-name 101morning
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
ip access-list-owner
User level: read-write, admin.
•You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode if
34Avaya P460 Reference Guide
Page 45
ip address
Chapter 2Avaya P460 CLI Commands
necessary.
Use this command to set the owner for a specific policy list.
The syntax for this command is:
ip access-list-owner <policy-list-number> <owner>
<policy-list-number>integer (100...199)
<owner>list owner
Example:
Router-1> ip access-list-owner101admin
Done!
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip address command to assign an IP address and mask to an interface.
The syntax for this command is:
ip address <ip-address> <mask> [<admin-state>]
ip addressThe IP address assigned to the interface.
maskMask for the associated IP subnet
admin-stateThe administration status – either Up or Down
Example:
To assign the IP address 192.168.22.33 with mask 255.255.255.0 to the interface
“marketing”:
Router-1(config-if:marketing)# ip address 192.168.22.33
255.255.255.0
Done!
Avaya P460 Reference Guide35
Page 46
Chapter 2Avaya P460 CLI Commands
ip admin-state
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the admin-state command to set the administrative state of an IP interface.
The default state is up.
The syntax for this command is:
ip admin-state <up/down>
up/downAdministrative state of the interface. The choices are
Example:
Router-1(config-if:marketing)# ip admin-state up
ip bootp-dhcp network
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip bootp-dhcp network command to select the network from which
the bootp/dhcp server shall allocate an address. You only need to run this
command is required only when there are multiple interfaces over the VLAN.
Use the no ip bootp-dhcp network command to restore the default value.
up (active) or down (inactive).
The syntax for this command is:
[no] ip bootp-dhcp network <ip-address>
ip-addressThe IP address of the network.
Example:
To select the network 192.168.169.0 as the network from which an address shall be
36Avaya P460 Reference Guide
Page 47
allocated for bootp/dhcp requests:
Router-1(configure-if:marketing) # ip bootp-dhcp network
192.168.169.0
Done!
ip bootp-dhcp relay
User level: read-write, admin.
L You can only access this command in configure mode.
The ip bootp-dhcp command enables relaying of bootp and dhcp requests to the
bootp/dhcp server.
The no ip bootp-dhcp command disables bootp/dhcp relay.
The default state is disabled.
The syntax for this command is:
[no] ip bootp-dhcp relay
Example:
To enable relaying of BOOTP and DHCP requests:
Chapter 2Avaya P460 CLI Commands
Type configure at the command prompt to enter configure mode if necessary.
Router-1(configure)# ipbootp-dhcprelay
Done!
To disable relaying of bootp and dhcp requests:
Router-1(configure)# noipbootp-dhcprelay
Done!
ip bootp-dhcp server
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip bootp-dhcp server command to add a bootp/dhcp server to
handle bootp/dhcp requests received by this interface.
Use the no ip bootp-dhcp server command to remove the server. A
maximum of two servers can be added to a single interface.
Avaya P460 Reference Guide37
Page 48
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
ip bootp-dhcp server <ip-address>
ip-addressThe IP address of the server.
Example:
To add station 192.168.37.46 as a bootp/dhcp server to handle bootp/dhcp requests
arriving at the interface “marketing”:
Router-1(configure-if:marketing) # ip bootp-dhcp server
192.168.37.46
Done!
ip broadcast-address
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip broadcast command to update the interface broadcast address. The
Broadcast address must be filled in with 0s or 1s.
L You can only access this command in configure mode.
Use the ip default-gateway command to define a default gateway (router).
Use the no ip default gateway command to remove the default gateway.
The syntax for this command is:
[no] ip default-gateway <ip-address>[<cost>][<preference>]
ip-addressThe IP address of the router.
costThe path cost. The default is 1
preferencePreference, either High or Low. Default is Low.
Example:
To define the router at address 192.168.37.1 as the default gateway:
Router-1(configure)# ip default-gateway192.168.37.1
Chapter 2Avaya P460 CLI Commands
Type configure at the command prompt to enter configure mode.
ip directed-broadcast
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip directed-broadcast command to enable net-directed broadcast
forwarding.
Use the no ip directed-broadcast command to disables net-directed
broadcasts on an interface.
The syntax for this command is:
[no] ip directed-broadcast
Example:
Router-1(config-if:marketing)# ip directed broadcast
Avaya P460 Reference Guide39
Page 50
Chapter 2Avaya P460 CLI Commands
ip icmp-errors
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode if necessary.
Use the icmp-error command to turn ICMP error messages on.
Use the no icmp-error form of this command to turn ICMP error messages off.
The syntax for this command is:
[no] ip icmp-errors
Example:
To turn the ICMP error messages on:
Router-1(configure)# ipicmp-errors
Done!
ip max-arp-entries
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode.
Use the ip max-arp-entries command to set the maximum number of ARP
cache entries allowed in the ARP cache.
Use the no ip max-arp-entries command to restore the default value of 4096.
This command takes effect only after start-up.
The syntax for this command is:
[no] ip max-arp-entries <value>
valueThe space available for the IP address table. When you decrease the
number of entries, it may cause the table to be relearned more
frequently. If you do not enter a value, then the current ARP Cache
size is shown.
Example:
To set the maximum number of ARP cache entries to 8000:
Router-1(configure)# ipmax-arp-entries 8000
40Avaya P460 Reference Guide
Page 51
To restore the maximum number of ARP cache entries to its default:
Router-1(configure)# noipmax-arp-entries
ip max-route-entries
User level: read-write, admin.
The ip max-route-entries command exists for compatibility with Avaya™
P550. There is no limitation on the size of the routing table, except for the amount of
available memory.
Use the no ip max-route-entries command to remove the limitation.
The syntax for this command is:
[no] ip max-route-entries <value>
valuenumber of entries
Example:
Router-1(configure)# ip max-route-entries4000
Chapter 2Avaya P460 CLI Commands
ip netbios-rebroadcast
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip netbios-rebroadcast command to set the NETBIOS rebroadcasts
mode on an interface.
Use the no ip netbios-rebroadcast command to disable NETBIOS
rebroadcasts on an interface.
The syntax for this command is:
[no] ip netbios-rebroadcast <mode>
The possible values of mode are:
bothNetbios packets received on the interface
rebroadcasted to other interfaces and netbios packets
received on other interfaces are rebroadcasted into
this interface.
Avaya P460 Reference Guide41
Page 52
Chapter 2Avaya P460 CLI Commands
disableNetbios packets are not rebroadcasted into or out of
this interface.
Example:
To enable rebroadcasting of netbios packets received by and sent from the interface
“marketing”:
Router-1(config-if:marketing)# ip netbios-rebroadcastboth
ip netmask-format
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode.
Use the ip netmask-format command to specify the format of netmasks in the
show command output.
Use the no ip netmask-format command to restores the default format which is
a dotted decimal.
The syntax for this command is:
[no] ip netmask-format <mask-format>
The possible mask formats are:
bitcountAddresses are followed by a slash and the total number of bits
in the netmask. For example 17
decimalThe network masks are in dotted decimal notation. For
example, 255.255.255.0.
hexadecimalThe network masks are in hexadecimal format as indicated by
the leading 0X. For example, 0XFFFFFF00.
Example:
To display netmasks in decimal format:
Router-1(configure)# ip netmask-formatbitcountdecimal
Done!
42Avaya P460 Reference Guide
Page 53
ip ospf authentication-key
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip ospf authentication-key command to configure the interface
authentication password.
Use the no ip ospf authentication-key command to remove the OSPF
password.
The syntax for this command is:
[no] ip ospf authentication-key <key>
keystring (up to 8 characters)
Example:
Router-1(configure-if:marketing) # ip ospf authenticationkey my_pass
Chapter 2Avaya P460 CLI Commands
ip ospf cost
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip ospf command to configure interface metric.
Use the no ip ospf cost command to set the cost to its default. The default is 1.
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 ip ospf router-id command to configure the router identity.
Use the no ip ospf router-id command to return the router identity to its
default (lowest IP interface that exists).
The syntax for this command is:
[no] ip ospf router-id <router id>
router idIP address
Example:
Router-1> ipospfrouter-id 192.168.49.1
Avaya P460 Reference Guide45
Page 56
Chapter 2Avaya P460 CLI Commands
ip proxy-arp
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip proxy-arp command to enables proxy ARP on an interface.
Use the no ip proxy-arp command to disable proxy ARP on an interface.
The syntax for this command is:
[no] ip proxy-arp
Example:
To disable proxy ARP on interface marketing:
Router-1(config-if:marketing)#noipproxyarp
ip redirect
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip redirect command to enables the sending of redirect messages on the
interface.
Use the no ip redirect command to disable the redirect messages. By default,
sending of redirect messages on the interface is enabled.
The syntax for this command is:
[no] ip redirect
Example:
Router-1(config-if:marketing)#ipredirect
ip rip authentication key
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip authentication key command to set the authentication
string used on the interface.
46Avaya P460 Reference Guide
Page 57
Use the no ip rip authentication key command to clear the password.
The syntax for this command is:
[no] ip rip authentication key <password>
passwordThe authentication string for the interface. Up to 16 characters are
Example:
To set the authentication string used on the interface “marketing” to be “hushhush”.
Router-1(configure-if:marketing) # ip rip authentication
key hush-hush
ip rip authentication mode
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip authentication command to specify the type of authentication
used in RIP Version 2 packets.
Use the no ip rip authentication command to restore the default value of
none.
The syntax for this command is: [no] ip rip authentication mode
[simple|none]
Chapter 2Avaya P460 CLI Commands
allowed.
simple|noneThe authentication type used in RIP Version 2 packets:
• simple - clear text authentication.
• none - no authentication.
Example:
To specify simple authentication to be used in RIP Version 2 packets on the interface
“marketing”.
Router-1(configure-if:marketing) # ip rip authentication
mode simple
Avaya P460 Reference Guide47
Page 58
Chapter 2Avaya P460 CLI Commands
ip rip default-route-mode
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip default-route-mode command to enable learning of the
default route received by the RIP protocol. The default state is talk-listen.
The syntax for this command is:
ip rip default-route-mode <mode>
The possible default route modes on an interface are:
talk-listenSet RIP to send and receive default route updates on
talk-onlySet RIP to send but not receive default route updates
Example:
the interface.
on the interface.
Router-1(configure-if:marketing) # ip rip default-routemode talk listen
Done!
ip rip poison-reverse
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip poison-reverse command to enable split-horizon with
poison-reverse on an interface.
Use the no ip poison-reverse command to disable the poison-reverse
mechanism.
The split-horizon technique prevents information about routes from exiting the
router interface through which the information was received. This prevents routing
loops.
Poison reverse updates explicitly indicate that a network or subnet is unreachable
rather than implying they are not reachable. Poison reverse updates are sent to
defeat large routing loops.
48Avaya P460 Reference Guide
Page 59
The syntax for this command is:
[no] ip rip poison-reverse
Example:
ip rip rip-version
User level: read-write, admin.
L You can only access this command in interface mode.
Use the ip rip rip-version command to specify the RIP version running on
the interface basis.
The syntax for this command is:
ip rip rip-version [1][2]
The possible versions of the RIP packets received and sent on an interface are:
Chapter 2Avaya P460 CLI Commands
Router-1(configure-if:marketing) # ip rip poison-reverse
Done!
Type interface [name] at the command prompt to enter interface mode if
necessary.
[1]RIP Version 1 packets
[2]RIP Version 2 packets.
Example:
To specify that RIP version 2 should be running on the basis of the interface
“marketing”:
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip send-receive command to set the RIP Send and Receive mode
on an interface. The default state is talk-listen.
Avaya P460 Reference Guide49
Page 60
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
ip rip send-receive <mode>[<default route metric>]
mode talk-listen - Set RIP to receive and transmit
default route metricInteger value
Example:
To set the RIP Send and Receive mode on the interface “marketing” to be listen-only:
Router-1(configure-if:marketing) # ip rip send-receive talk
listen
Done!
ip rip split-horizon
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode if
necessary.
Use the ip rip split-horizon command to enable split-horizon mechanism.
Use the no ip rip split-horizon command to disable the split-horizon.
By default split-horizon is enabled.
The split-horizon technique prevents information about routes from exiting the
router interface through which the information was received. This prevents routing
loops.
updates on the interface.
talkdefault-listen - Set RIP to receive
updates on the interface and send only a default
route.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode.
Use the ip route command to establish a static route.
Use the no ip route command to remove a static route.
The syntax for this command is:
[no] ip route <ip-address> <mask> <next-hop> [<next-hop>]
[<next-hop>] [<cost>] [<preference>]
ip-addressThe IP address of the network
maskMask of the static route
next-hopThe next hop address in the network
costThe path cost. The default is 1
preferencePreference, either High or Low. Default is Low.
Example:
To define the router 192.168.33.38 as the next hop for the network 192.168.33.0 with
mask 255.255.255.0:
Router-1(configure)# ip route 192.168.33.0 255.255.255.0
10.10.10.10
ip routing
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode.
Avaya P460 Reference Guide51
Page 62
Chapter 2Avaya P460 CLI Commands
Use the ip routing command to enable IP routing.
Use the no ip routing command to disable the IP routing process in the device.
By default, IP routing is enabled.
The syntax for this command is:
[no] ip routing
Example:
Router-1(configure)# ip routing
Done!
ip routing-mode
User level: read-write, admin.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip routing-mode command to set the IP routing mode of the interface. In
RT-MGMT mode, the interface functions as a routing interface. In
RT_PRIMARY_MGMT mode, the interface function as both a routing interface and
the primary management interface.
The IP address used in MSNM is the primary management interface IP address.
Only one interface can be in RT_PRIMARY_MGMT mode. If no interface is
configured to RT_PRIMARY_MGMT, the IP address used in MSNM is selected
randomly.
L You can only access this command in interface mode.
Type interface [name] at the command prompt to enter interface mode.
Use the ip vlan and ip vlan name commands to specify the VLAN on which an
IP interface resides. You can specify either the VLAN ID using the ip vlan
command or the VLAN name using the ip vlan name command.
The no ip vlan or no ip vlan name command to reset the IP interface to the
default VLAN.
The syntax for this command is:
[no] ip vlan <vlan-id>
Avaya P460 Reference Guide53
Page 64
Chapter 2Avaya P460 CLI Commands
or
ip vlan name <vlan-Name>
Example:
To specify VLAN developmental as the VLAN used by interface “products”:
Router-1(config-if:marketing)# ip vlan name development
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
ip vrrp
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp command to create a virtual router on the interface.
Use the no ip vrrp command to delete a virtual router.
The syntax for this command is:
[no] ip vrrp <vr-id>
vr-idVirtual Router ID (1-255)
Example:
Router-1(configure-if:marketing) # ipvrrp 1
Done!
ip vrrp address
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp address command to assign an IP address to the virtual
router.
Use the no ip vrrp address command to remove an IP address from a virtual
router.
54Avaya P460 Reference Guide
Page 65
The syntax for this command is:
[no] ip vrrp <vr-id> address <ip-address>
Example:
To assign address 10.0.1.2 to virtual router 1:
ip vrrp auth-key
User level: read-write, admin.
L You can only access this command in Interface mode.
Use the ip vrrp auth-key command to set the virtual router simple password
authentication for the virtual router ID.
Use the no ip vrrp auth-key command to disable simple password
authentication for the virtual router instance.
Chapter 2Avaya P460 CLI Commands
vr-idVirtual Router ID (1-255)
ip-addressThe IP address to be assigned to the virtual router.
Router-1(configure-if:marketing) # ip vrrp 1 address
10.0.1.2
Done!
Type interface [name] at the command prompt to enter Interface mode if
necessary.
The syntax for this command is:
[no] ip vrrp <vr-id> auth-key <key-string>
vr-idVirtual Router ID (1-255)
key-stringSimple password string.
ip vrrp override addr owner
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp override addr owner command to accept packets
addressed to the IP address(es) associated with the virtual router, such as ICMP,
SNMP, and TELNET (if it is not the IP address owner).
Avaya P460 Reference Guide55
Page 66
Chapter 2Avaya P460 CLI Commands
Use the no ip vrrp override addr owner command to discard these packets.
The syntax for this command is:
[no] ip vrrp <vr-id> override addr owner
vr-idVirtual Router ID (1-255)
Example:
Router-1(configure-if:marketing) # ip vrrp 1 override addr
owner
Done!
ip vrrp preempt
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp preempt command to configure the router to preempt a lower
priority master for the virtual router ID.
Use the no ip vrrp preempt command to disable preemption for the virtual
router instance.
By default, preemption is enabled.
The syntax for this command is:
[no] ip vrrp <vr-id> preempt
vr-idVirtual Router ID (1-255)
Example:
Router-1(configure-if:marketing) # ip vrrp1preempt
Done!
ip vrrp primary
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
56Avaya P460 Reference Guide
Page 67
Chapter 2Avaya P460 CLI Commands
Use the ip vrrp primary command to set the primary address that shall be
used as the source address of VRRP packets for the virtual router ID.
Use the no ip vrrp primary command to return to the default primary address
for the virtual router instance.
By default, the primary address is selected automatically by the device.
The syntax for this command is:
[no] ip vrrp <vr-id> primary <ip-address>
vr-idVirtual Router ID (1-255)
ip-addressPrimary IP address of the virtual router. This address
should be one of the router addresses on the VLAN.
Example:
Router-1(configure-if:marketing) # ip vrrp 1 primary
192.168.66.23
Done!
ip vrrp priority
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp priority command to set the virtual router priority value
used when selecting a master router.
Use the no ip vrrp priority command to restore the default value.
The syntax for this command is:
[no] ip vrrp <vr-id> priority <pri-value>
vr-idVirtual Router ID (1-255)
pri-valueThe priority value. The range is 1-254.
Avaya P460 Reference Guide57
Page 68
Chapter 2Avaya P460 CLI Commands
Example:
To set the priority value for virtual router 1 to 10:
Router-1(configure-if:marketing) # ip vrrp1priority10
Done!
Example:
To set the virtual router simple password for virtual router 1 to abcd:
Router-1(configure-if:marketing) # ip vrrp1auth-keyabcd
Done!
ip vrrp timer
User level: read-write, admin.
L You can only access this command in Interface mode.
Type interface [name] at the command prompt to enter Interface mode if
necessary.
Use the ip vrrp timer command to set the virtual router advertisement timer
value (in seconds) for the virtual router ID.
Use no ip vrrp timer command to restore the default value.
The syntax for this command is: [no] ip vrrp <vr-id> timer <value>
vr-idVirtual Router ID (1-255)
valueThe advertisement transmit time (seconds).
Example:
To set the virtual router advertisement timer value for virtual router 3 to 2:
Use the no rmon history command to delete an existing RMON alarm entry.
The syntax for this command is:
no rmon alarm <Alarm Index>
Alarm IndexHistory index defined using rmon alarm command or P460
Manager.
P460-1# normonalarm1026
60Avaya P460 Reference Guide
Page 71
no rmon event
no rmon history
Chapter 2Avaya P460 CLI Commands
User level: read-write, admin.
Use the no rmon event command to delete an existing RMON event entry.
The syntax for this command is:
no rmon event <Event Index>
Event IndexHistory index defined using rmon event command or P460
Manager.
P460-1# normonevent1054
User level: read-write, admin.
Use the no rmon history command to delete an existing RMON history entry.
The syntax for this command is:
no rmon history <History Index>
History IndexHistory index defined using rmon history command or
RMON management tool
Example:
P460-1# normonhistory1026
no username
User level: admin.
Use the no username command to remove a local user account.
The syntax for this command is:
no username <name>
nameUser name
Avaya P460 Reference Guide61
Page 72
Chapter 2Avaya P460 CLI Commands
Example:
P460-1(super)# nousernamejohn
User account removed.
If you wish to delete a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
L You cannot delete the default user account “root”.
nvram initialize
User level: read-write, admin.
Use the nvram initialize command to reset the configuration parameters to
their factory defaults on the Active and Standby Supervisor modules.
The syntax for this command is:
nvram initialize {switch | all}
switchResets all the switch information (Layer 2 only).
allResets all parameters including routing parameters in the
switch.
Example:
P460-1# nvram initialize
This command will restore factory defaults, and can
disconnect your telnet session
*** Reset *** - do you want to continue (Y/N)? y
Connection closed by foreign host
L The nvram initialize command does not alter the Active/Standby status of the
Supervisor modules.
62Avaya P460 Reference Guide
Page 73
ping
Chapter 2Avaya P460 CLI Commands
User level: read-only, read-write, admin.
Use the ping command to send ICMP echo request packets to another node on the
network.
The syntax for this command is:
ping [host[number]]
hostHost IP address/Internet address of route destination. If missing
then the last host IP is used.
numberNumber of packets to send. If missing, then the last number is used.
If the last number is not available, the default is 4.
Example: to ping the IP number 149.49.48.1 four times:
P460-1> ping149.49.48.1 4
PING 149.49.48.1: 56 data bytes
64 bytes from 149.49.48.1: icmp_seq=0. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=1. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=2. time=0. ms
P460(super)# 64 bytes from 149.49.48.1: icmp_seq=3.
time=0. ms
Use the rmon history command to create an RMON history entry.
The syntax for this command is:
rmon history <history index> [<module>[</port>]] interval
<interval> buckets <number of buckets> owner <owner name>
history_indexThis is the history index number of this entry (it is advisable to
use the same interface number as your history index number).
module/portThe switch number/the port number.
intervalThe interval between 2 samples.
router ospf
number of
The number of buckets defined.
buckets
owner nameThe owner name string.
Example:
P460-1# rmonhistory 1026 1026 3/2 30 buckets 20 owneramir
history 1026 was created successfully
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
User level: read-write, admin.
Use the router ospf command to enable the OSPF protocol on the system.
Use the no router ospf command to disable the OSPF one the system.
The default is disabled.
The syntax for this command is:
[no] router ospf
Example:
Router-1 (super) # router ospf
Done!
Avaya P460 Reference Guide69
Page 80
Chapter 2Avaya P460 CLI Commands
router rip
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter interface mode.
Use the router rip command to configure the Routing Information Protocol
(RIP). Use the no router rip command to disable RIP.
The default state is disabled.
The syntax for this command is:
[no] router rip
Example:
To enable the RIP protocol:
Router-1(configure)# routerrip
Done!
router vrrp
User level: read-write, admin.
L You can only access this command in configure mode.
Type configure at the command prompt to enter configure mode if necessary.
Use the command to enable VRRP routing globally.
Use the no router vrrp command to disable VRRP routing.
The syntax for this command is:
[no] router vrrp
Example:
Router-1(configure)# routervrrp
Done!
session
User level: read-only, read-write, admin.
Displays existing sessions or to opens a session with a specific Supervisor Module in
the chassis.
70Avaya P460 Reference Guide
Page 81
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
session [[module_number>] {switch | router}]
moduleThe Supervisor module number (1...2).
switch|router
(Optional)
Example:
P460-1> sessionrouter
Router-1 (super) #
L The security level stays the same when you use the session command.
set allowed managers
User level: read-write, admin.
Use the set allowed managers command to enables or disable the Allowed
Managers feature.
When this feature is enabled, only those stations whose IP addresses are listed in the
Allowed Managers table can access the device over Telnet, SNMP, or HTTP.
• The entity to which you want to open a
session.
• If you do not specify this parameter, you
will get the default entity of the specific
module:
• switch - Layer 2 entity of the module.
• router - Routing entity
The syntax for this command is:
set allowed managers [enabled|disabled]
Example:
P460-1(super)# setallowedmanagersenabled
Managers are enabled
Avaya P460 Reference Guide71
Page 82
Chapter 2Avaya P460 CLI Commands
set allowed managers ip
User level: read-write, admin.
Use the set allowed manager ip command to add or remove an IP address
from the Allowed Managers table. The Allowed Managers table can contain up to
twenty IP addresses.
The syntax for this command is:
set allowed managers ip [add | delete][IP address]
addAdd specified IP address to the Allowed Managers
deleteDeletes specified IP address from the Allowed
IP addressIP address to be added or remove
Example:
P460-1(super)# setallowed managers ip add 149.49.32.134
Ip was added to the table
table
Managers table
set arp-aging-interval
User level: read-write, admin.
Use the set arp-aging interval command to set the ARP table aging interval
for gateways’ entries in the agent ARP table.
The MAC value for the default gateway of the agent in the ARP table, is deleted at
the end of every aging interval. The default value is 10 minutes.
The syntax for this command is:
set arp-aging-interval <value>
valueThe number representing the interval, from 0-10 minutes.
Example:
P460-1# set arp-aging-interval10
ARP table aging interval for gateways was set to 10
minutes.
72Avaya P460 Reference Guide
Page 83
set arp-tx-interval
User level: read-write, admin.
Sets the keep-alive frames sending interval. Setting the interval to 0 disables the
transmission of the keep-alive frames.
The syntax for this command is:
set arp-tx-interval <inband|outband> <value>
inband|outband• Inband – inband interface
valueThe interval in seconds. (0-3600)
Example:
P460-1# set arp-tx-interval15
ARP tx interval was set to 15 seconds.
set boot bank
User level: read-write, admin.
Use the set boot bank command to set the system boot bank (for the active
Supervisor Module).
Chapter 2Avaya P460 CLI Commands
• Outband – outband interface
The syntax for this command is:
set boot bank {value}
value• bank-a to set the boot bank to A
• bank-b to set the boot bank to B
Example:
P460-1# set boot bankA
boot bank is A
set broadcast storm control
User level: read-write, admin.
Use the set broadcast storm control command to enable or disable
broadcast storm control.
Avaya P460 Reference Guide73
Page 84
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
set broadcast storm control <enable|disable>
enableEnable broadcast storm control
disableDisable broadcast storm control
Example:
P460-1# setbroadcast storm enable
Done!
set broadcast storm control threshold
User level: read-write, admin.
Use the set broadcast storm control threshold command to set the
broadcast storm control threshold.
The syntax for this command is:
set broadcast storm control threshold <threshold>
thresholdIn pps (packets per second) from 10 to 144,000 pps
The default value is 500
Example:
P460-1# setbroadcast storm control threshold 1000
Done!
set device-mode
User level: read-write, admin.
Use the set device-mode command to set the switch mode – Layer 2 or Router
(Layers 2 and 3).
74Avaya P460 Reference Guide
Page 85
The syntax for this command is:
set device-mode <mode>
mode• Router – switch operates at Layers 2 and 3.
Example:
P460-1(super)# set device-mode Router
This command will RESET the switch****
Reset **** do you want to continue (Y/N) ?
Done!
L You need to install the appropriate license before you can set the device mode to
Router.
set device-mode (Layer 3)
User level: read-write, admin.
Use the set device-mode command to change the basic mode of operation of the
P460 switch between Router and Layer 2 modes.
Chapter 2Avaya P460 CLI Commands
• layer2 – switch operates at Layer 2.
The syntax for this command is:
set device-mode <mode>
modeRouter | Layer2
Example:
Router-1> setdevice-mode Layer2
This command will RESET the device
*** Reset *** - do you want to continue (Y/N)? y
Avaya P460 Reference Guide75
Page 86
Chapter 2Avaya P460 CLI Commands
set inband vlan
User level: read-write, admin.
Use the set inband vlan command to set the inband management VLAN.
The syntax for this command is:
set inband vlan <vlan_num>
vlan_numThe number of the VLAN.
Example:
P460-1# set inband vlan 1
Management VLAN number set to 1
set intelligent-multicast
User level: read-write, admin.
Use the set intelligent-multicast command to enable or disable the IPmulticast filtering application.
The syntax for this command is:
set intelligent-multicast {enable|disable}
Example:
P460-1# setintelligent-multicast enable
Done!
set intelligent-multicast client port pruning time
User level: read-write, admin.
Use the set intelligent-multicast client port pruning time
command to set the aging time for client ports.
The syntax for this command is:
set intelligent-multicast client-port-pruning time <time>
secondsThe time in seconds.
76Avaya P460 Reference Guide
Page 87
Example:
P460-1# set intelligent-multicast client-port-pruning-time
40
Done!
set intelligent-multicast group-filtering delay time
User level: read-write, admin.
Use the set intelligent-multicast group-filtering delay time
command to set group filtering time delays.
The syntax for this command is:
set intelligent-multicast group-filtering-delay time <seconds>
secondsThe time in seconds.
Example:
P460-1# set intelligent-multicast group-filtering-delay time
40
Done!
Chapter 2Avaya P460 CLI Commands
set intelligent-multicast router port pruning time
User level: read-write, admin.
Use the set intelligent-multicast router port pruning time
command to set aging time for router ports.
The syntax for this command is:
set intelligent-multicast router-port-pruning time <seconds>
secondsThe time in seconds.
Example:
P460-1# set intelligent-multicast router-port-pruning-time
40
Done!
Avaya P460 Reference Guide77
Page 88
Chapter 2Avaya P460 CLI Commands
set interface inband
User level: read-write, admin.
Use the set interface inband command to configure the inband interface on
the Supervisor Module.
The syntax for this command is:
set interface inband <vlan> <ip_addr> <netmask>
vlanThe number of the VLAN to be assigned to the interface
ip_addrIP address
netmaskSubnet mask
Example:
To configure the inband interface on VLAN 1, IP address 1.1.1.1 and netmask
255.255.255.24:
P460-1# setinterfaceinband11.1.1.1255.255.255.24
This command will RESET the device
*** Reset *** - do you want to continue (Y/N)? y
set interface outband
User level: read-write, admin.
Use the set interface outband command to configure the outband interface
on the supervisor Module.
The syntax for this command is:
set interface outband <ip_addr> <netmask>
ip_addrIP address
netmaskSubnet mask
78Avaya P460 Reference Guide
Page 89
Example:
To configure the inband interface on VLAN 1, IP address 149.49.75.174 and netmask
255.255.255.24
set interface ppp
User level: read-write, admin.
Use the set interface ppp command to configure the P460 Supervisor Module
PPP interface IP parameters, exit modem mode, disconnect the PPP session, or reset
the connected modem.
You must configure an IP address and net-mask for the P460 before you can
establish a PPP connection. The IP address is a dummy address that is shared
between two peers, and must be taken from a subnet that is different from the
agent’s IP sub-net.
The syntax for this command is:
set interface ppp <ip_addr> <net-mask>
Chapter 2Avaya P460 CLI Commands
P460-1# setinterfaceoutband149.49.75.174 24
Interface outband IP address set.
You must reset the device in order for the change to take
effect.
ip_addrIP address used by the P460 Supervisor Module to connect via
its PPP interface
net-maskSubnet mask used by the P460 Supervisor Module to connect
via its PPP interface
Example:
P460-1# setinterfaceppp149.49.34.125 24
Interface ppp ip address set
set interface ppp enable/disable/off/reset
User level: read-write, admin.
You can also use the set interface ppp command to enter modem mode, enter
terminal mode, disconnect the PPP session or to reset the connected modem.
The syntax for this command is:
Avaya P460 Reference Guide79
Page 90
Chapter 2Avaya P460 CLI Commands
set interface ppp {enable|enable-always|disable|off|reset}
enableEnable PPP and enter modem mode.
enable-alwaysEnter modem mode every time that the proprietary modem
cable is plugged into the console port.
disableDisable PPP and enter terminal mode
offDisconnect the active PPP session.
resetReset the connected modem.
Example:
P460-1# setinterfacepppreset
PPP has reset the connected modem.
Example:
P460-1# setinterfacepppenable
Entering the Modem mode within 60 seconds...
Please check that the proprietary modem cable is plugged
into the console port
Example:
P460-1# setinterfacepppdisable
Entering the Terminal mode immediately
80Avaya P460 Reference Guide
Page 91
set ip route
Chapter 2Avaya P460 CLI Commands
User level: read-write, admin.
Use the set ip route command to adds a route to the IP routing table. You can
configure from 1 to 10 default static gateways for a P460 switch.
The syntax for this command is:
set ip route <destination> <netmask> <gateway>
destinationIP address of the network, or specific host to be added
netmaskSubnet mask
gatewayIP address of the router
Example:
This example shows how to add a default route to the IP routing table:
Use the set license command to activate a licensed feature on a specific P460
chassis.
For a full description of the Feature License and the installation procedure please
refer to the Installation Guide provided with the Feature License.
The syntax for this command is:
set license [license] [featureName]
licenseThe license number
featureNameThe name of the feature, currently either smon or routing.
The default feature is smon.
Example:
P460-1# set license 026 9b8 216 908 deaf4d layer-3
Layer-3 Features had been enabled on this chassis.
set logout
User level: read-write, admin.
Use the set logout command to set the time in minutes until the system
automatically disconnects an idle session.
The syntax for this command is:
set logout [timeout in minutes]
timeout in
minutes
Time until the system automatically disconnects an idle
session.
• Setting the value to 0 disables the automatic disconnection
of idle sessions
• The default value is 15 minutes.
82Avaya P460 Reference Guide
Page 93
Example:
To set the time until the system disconnects an idle session automatically to 20
minutes:
P460-1# setlogout20
Sessions will be automatically logged out after 20 minutes
of idle time.
set outband duplex
User level: read-write, admin.
Use the set outband duplex command to configure the duplex type of the
Ethernet Console port.
You can configure the Ethernet Console interface to either full duplex or half
duplex.
The duplex status of a port in auto-negotiation mode is determined by autonegotiation and an error message is generated if you attempt to set the transmission
type of auto-negotiation Fast Ethernet ports to half- or full-duplex mode.
The syntax for this command is:
set outband duplex {full | half}
Chapter 2Avaya P460 CLI Commands
FullSpecifies full-duplex transmission.
HalfSpecifies half-duplex transmission
Example:
P460-1# setoutbandduplexfull
Ethernet Console interface set to full-duplex.
set outband negotiation
User level: read-write, admin.
Use the set outbound negotiation command to enable or disable the link
negotiation protocol on the Ethernet console port.
This command applies to the specific supervisor module where you execute it.
•When negotiation is enabled, the speed and duplex of the outband Ethernet
port is determined by auto-negotiation.
•If negotiation is disabled, you can set the speed and duplex of the outband
Ethernet port.
Avaya P460 Reference Guide83
Page 94
Chapter 2Avaya P460 CLI Commands
The syntax for this command is:
set outband negotiation {enable | disable}
enableEnable link negotiation protocol.
disableDisable link negotiation protocol.
Example:
P460-1# setoutbandnegotiation enable
Auto-negotiation for outband port set successfully
set outband speed
User level: read-write, admin.
Use the set outband speed command to configure the speed of Ethernet
Console port.
In auto negotiation mode, the port's speed is determined by auto negotiation. If you
attempt to set the speed when auto negotiation is enabled, the following message is
displayed “Auto negotiation is Enable, can not set the speed mode.”
The syntax for this command is:
set outband speed <speed>
speed• 10MB
•100MB
Example:
P460-1# setoutbandspeed100MB
Speed for outband port set successfully
84Avaya P460 Reference Guide
Page 95
set port auto-negotiation-flowcontrol-advertisement
User level: read-write, admin.
Use the set port auto-negotiation-flowcontrol-advertisement
command to set the flowcontrol advertisement for a Gigabit port when performing
autonegotiation.
The syntax for this command is:
set port auto-negotiation-flowcontrol-advertisement <module>/
<port> {no-flowcontrol|asym-tx-only|sym-only|sym-and-asym-rx}
moduleNumber of the module (3-6).
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are set.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.
no-flowcontrolThe port will advertise no pause capabilities.
asym-tx-onlyThe port will advertise asymmetric Tx pause capabilities only.
sym-onlyThe port will advertise symmetric pause capabilities only.
Chapter 2Avaya P460 CLI Commands
sym-and-asym-rxThe port will advertise both symmetric and asymmetric Rx
pause capabilities.
Example:
P460-1# set port auto-negotiation-flowcontroladvertisement 2/5 asym-tx-only
Port 2/5 pause capabilities was set
set port channel
User level: read-write, admin.
Enables or disables a Link Aggregation Group (LAG) interface on the switch. LAG
creation requires a LAG name to be specified. There is no default name.
You can also add or remove a port from an existing LAG. All ports in the LAG are
configured with the parameters of the first port that is added to the LAG. These
parameters include port administrative status, speed, duplex, autonegotiation
mode, VLAN ID, tagging mode, binding mode, and priority level. When adding a
port to an existing LAG, the user must type the same LAG-name (or no LAG-name),
otherwise you will get an error message.
Avaya P460 Reference Guide85
Page 96
Chapter 2Avaya P460 CLI Commands
L When adding a port to an existing LAG, type the same LAG name, otherwise
you will create a new LAG.
The syntax for this command is:
set port channel <port_list> {value} [<name>]
port_listA list of ports to be aggregated in the format module/port
valueon or off
name
(Optional)
If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.
Example:
P460-1# setportchannel4/6,18onserver2
Port 4/6 channel mode set to on
Port 4/18 was added to channel
set port classification
User level: read-write, admin.
Use the set port classification command to set the port classification to
either regular or valuable. Any change in the Spanning Tree state from Forwarding
for a valuable port will erase all learnt MAC addresses in the switch.
The syntax for this command is:
set port classification [module/port] {regular | valuable}
module portmodule/port range
Channel name
regular | valuableport classification
Example:
P460-1# setport classification 2/19valuable
Port 2/19 classification has been changed.
86Avaya P460 Reference Guide
Page 97
set port disable
Chapter 2Avaya P460 CLI Commands
User level: read-write, admin.
Use the set port disable command to disable a port or range of ports.
The syntax for this command is:
set port disable <module>/<port>
moduleNumber of the module (3-6). If you do not specify a number,
the ports on all the modules are shown.
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are shown.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.
Example:
P460-1# setportdisable4/1
Port 4/1 disabled.
set port duplex
User level: read-write, admin.
Use the set port duplex command to configure the duplex type of an Ethernet
or Fast Ethernet port or range of ports.You can configure Ethernet and Fast Ethernet
interfaces to either full duplex or half duplex.
The duplex status of a port in auto-negotiation mode is determined by autonegotiation. An error message is generated if you attempt to set the transmission
type of auto negotiation Fast Ethernet ports to half- or full-duplex mode.
The syntax for this command is:
set port duplex <module>/<port> {full|half}
moduleNumber of the module (3-6). If you do not specify a number,
the ports on all the modules are shown.
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are shown.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.
Avaya P460 Reference Guide87
Page 98
Chapter 2Avaya P460 CLI Commands
fullSet full-duplex transmission
halfSet half-duplex transmission
Example:
To set port 1 on module 4 to full duplex:
P460-1# set port duplex 4/1full
Port 4/1 set to full-duplex.
set port enable
User level: read-write, admin.
Use the set port enable command to enable a port or a range of ports.
The syntax for this command is:
set port enable [module/port]
moduleNumber of the module (3-6). If you do not specify a number,
the ports on all the modules are shown.
portNumber of the port on the module. If you do not specify a
number, all the ports on the module are shown.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.
Example:
P460-1# setportenable4/1
Port 4/1 enabled.
set port flowcontrol
User level: read-write, admin.
Use the set port flowcontrol command to set the send/receive mode for
flow-control frames (IEEE 802.3x or proprietary) for a full duplex port. Each
direction (send or receive) can be configured separately.
The syntax for this command is:
set port flowcontrol {receive | send | all} <module/port> {off
88Avaya P460 Reference Guide
Page 99
Chapter 2Avaya P460 CLI Commands
| on | proprietary}
receiveIndicates whether the port can receive administrative status
from a remote device.
Available only for Gigabit Ethernet modules with negotiation set to off.
sendIndicate whether the local port can send administrative status to
a remote device.
Available only for Gigabit Ethernet modules with negotiation set to off.
allSend and receive (symmetric flow control).
moduleNumber of the module.
portNumber of the port on the module.
offUsed with receive to turn off an attached device's ability to send
flow-control packets to a local port. Used with send to turn off
the local port's ability to send administrative status to a remote
device.
onUsed with receive to require that a local port receive
administrative status from a remote device. Used with send, the
local port sends administrative status to a remote device.
Avaya P460 Reference Guide89
Page 100
Chapter 2Avaya P460 CLI Commands
P460-1# set port flowcontrolreceive 5/1 on
Port 5/1 flow control receive administration status set to on
(port will require far end to send flowcontrol)
P460-1# setport flowcontrolsend 5/1 off
Port 5/1 flow control send administration status set to off
(port will send flowcontrol to far end)
FieldDescription
receiveControls the receipt of IEEE802.3x flow-control frames on Gigabit
ports only:
• ON indicates that the local port will act upon flow control
frames received from the far end.
• OFF indicates that the local port will discard flow control
frames received from the far end.
sendControls the sending of IEEE802.3x flow-control frames from
Gigabit ports only:
• ON indicates that the local port is allowed to send flow control
frames to the far end.
• OFF indicates that the local port is not allowed to send flow
control frames to the far end.
allControls the sending and receipt of flow-control frames for any
type of ports:
• ON indicates that the local port will both act upon and send
IEEE802.3x flow control frames.
• OFF indicates that the local port will both discard and not send
flow control frames (of any type).
• PROPRIETARY indicates that the local port will both act upon
and send Avaya proprietary flow control frames.
module/
Switch number/port number
port
90Avaya P460 Reference Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.