Avaya Reference Guide AVAYA P330-ML-ML STACKABLE SWITCH SOFTWARE VERSION 4.
Contents Chapter 1 Using the CLI...................................................................................................... 1 CLI Architecture................................................................................................. 1 Conventions Used.............................................................................................. 2 CLI Help .............................................................................................................. 2 Command Line Prompt ...
Table of Contents copy module-config tftp .......................................................................16 copy running-config scp ......................................................................17 copy running-config startup-config ...................................................18 copy running-config tftp ......................................................................18 copy scp module-config .......................................................................
Table of Contents no rmon history .................................................................................... 46 no snmp-server ..................................................................................... 46 no snmp-server engineID .................................................................... 46 no snmp-server community ................................................................ 47 no snmp-server group ..........................................................................
Table of Contents set interface inband ...............................................................................67 set interface ppp ....................................................................................67 set interface ppp enable/enable-always/disable/off/reset ...........68 set intermodule port redundancy .......................................................69 set intermodule port redundancy off .................................................70 set internal buffering .............
Table of Contents set port negotiation ............................................................................... 94 set port point-to-point admin status .................................................. 95 set port powerline ................................................................................. 96 set port powerline priority .................................................................. 96 set port redundancy ............................................................................
Table of Contents set spantree hello-time .......................................................................117 set spantree max-age ..........................................................................118 set spantree priority ............................................................................118 set spantree tx-hold-count .................................................................119 set spantree version ............................................................................
Table of Contents show ip access lists ............................................................................. 140 show ip access-list-summary ............................................................ 141 show ip route ....................................................................................... 141 show ip ssh .......................................................................................... 142 show l2-module-config ..............................................................
Table of Contents show rmon statistics ...........................................................................177 show secure current ............................................................................178 show secure mac .................................................................................178 show security mode ............................................................................179 show snmp ...................................................................................
Table of Contents Router Configuration Contexts ........................................................ 211 Shortcuts to Commands by Context ................................................ 211 General Commands ....................................................................................... 212 arp ......................................................................................................... 212 arp timeout .................................................................................
Table of Contents ip max-arp-entries ...............................................................................234 ip max-route-entries ...........................................................................235 ip netmask-format ...............................................................................235 ip ospf router-id ..................................................................................236 ip route .............................................................................
Table of Contents show ip route summary ..................................................................... 260 show ip ssh .......................................................................................... 260 show ip srrp ......................................................................................... 260 show ip traffic ..................................................................................... 261 show ip unicast cache .......................................................
Table of Contents ip srrp backup ......................................................................................286 ip vlan/ip vlan name ..........................................................................286 ip vrrp ...................................................................................................287 ip vrrp address ....................................................................................287 ip vrrp auth-key .........................................................
Chapter 1 Using the CLI This chapter describes the Avaya P330 CLI architecture and conventions, and provides instructions for accessing the Avaya P330 for configuration purposes. The configuration procedure involves establishing a Telnet session or a serial connection and then using the Avaya P330’s internal CLI. The CLI is command-line driven and does not have any menus. To activate a configuration option, you must type the desired command at the prompt and press Enter.
Chapter 1 Using the CLI Conventions Used The following conventions are used in this chapter to convey instructions and information: • Mandatory keywords are in boldface. • Variables that you supply are in pointed brackets <>. • Optional keywords are in square brackets []. • Alternative but mandatory keywords are grouped in braces {} and separated by a vertical bar |. • If you enter an alphanumeric string of two words or more, enclose the string in inverted commas.
Chapter 1 Table 1.1 Using the CLI Navigation, Cursor Movement and Shortcuts Keyboard Functions 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.
Chapter 1 Using the CLI Universal Commands Universal commands are commands that can be issued anywhere in the hierarchical tree. Top and Up commands The Up command moves you up to the next highest level in the CLI command hierarchy. The Top command moves you to the highest level. Retstatus command Use the retstatus command to show whether the last CLI command you performed was successful. It displays the return status of the previous command.
Chapter 1 Using the CLI To configure the switch parameters, on module 6, type the command: session 6 switch. Note: When you use the session command the security level stays the same. Note: Use the session command without any parameters to identify the stack master and its slot number. It will list all the modules in the stack and their slot number with the master module marked with an asterisk.
Chapter 1 Using the CLI Security Levels There are four security access levels – User, Privileged, Configure and Supervisor. • The User level is a general access level used to show system parameter values. • The Privileged level is used by site personnel to access stack configuration options. • The Configure level is used by site personnel for Layer 3 configuration. • The Supervisor level is used to define user names, passwords, and access levels of up to 10 local users.
Chapter 1 Using the CLI Entering the CLI To enter the CLI, enter your username and password.
Chapter 1 8 Using the CLI Avaya P330-ML Reference Guide
Chapter 2 Avaya P330-ML Layer 2 CLI Commands This chapter describes all the P330-ML Layer 2 CLI commands and parameters in alphabetical order. clear cam User level: privileged, supervisor. Use the clear cam command to delete all entries from the CAM table. The syntax for this command is: clear cam Example: P330-N# clear cam CAM table cleared. clear dot1x config User level: supervisor Use the clear dot1x config command to disable dot1x on all ports and return values to the default settings..
Chapter 2 Avaya P330-ML Layer 2 CLI Commands clear dynamic vlans User level: privileged, supervisor. L This command is available on the P330-ML-ML only. Use the clear dynamic vlans command to clear dynamically learned VLANs. Only the VLANs learned by the switch from incoming traffic are cleared using this command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>clear logging file Done! clear logging server User level: privileged, supervisor. Use the clear logging server command to delete a Syslog server from the Syslog server table. The syntax for this command is: clear logging server ip-address The IP address of the Syslog server. Example: P330-N# clear logging server 149.49.38.22 Done! clear port mirror User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands clear port static-vlan User level: privileged, supervisor. Use the clear port static-vlan command to delete VLANs statically configured on a port.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# clear rmon statistics cleared device counters clear screen User level: user, privileged, supervisor Use the clear screen command to clear the current terminal display. The syntax for this command is: clear screen clear secure mac User level: user, privileged, supervisor L If this command is to be implemented on a switch other than the stack master, a session should be opened to the relevant switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands clear snmp trap User level: privileged, supervisor. Use the clear snmp trap command to clear an entry from the SNMP trap receiver table. The syntax for this command is: clear snmp trap {|all} rcvr_addr IP address or IP alias of the trap receiver (the SNMP management station) to clear all Keyword that specifies every entry in the SNMP trap receiver table Example: P330-N# clear snmp trap 192.168.173.42 SNMP trap deleted.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: clear utilization cpu modulenumber The module number for which CPU utilization monitoring is disabled. Example: P330-N# clear utilization cpu 1 CPU utilization is cleared on module 1 clear vlan User level: privileged, supervisor. Use the clear vlan command to delete an existing VLAN and return ports from this VLAN to the default VLAN #1.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: copy module-config scp filename The file name (full path) ip The IP address of the SCP server mod-num The switch number Example: P330-N# copy module-config scp c:\config\switch1.cfg 192.168.49.10 5 Username: 330user Password: Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# copy module-config tftp c:\config\switch1.cfg 192.168.49.10 5 Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# copy running-config scp c:\config\switch1.cfg 192.168.49.10 5 Username: 330user Password: Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 ip Avaya P330-ML Layer 2 CLI Commands The ip address of the tftp server. Example (for Windows): P330-N# copy running-config tftp c:\P330-ML\startup.cfg 149.49.100.41 Example: (for Unix): P330-N# copy running-config tftp /folder/P330ML/startup.cfg 149.49.100.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands copy scp module-config User level: supervisor Use the copy scp module-config command to download a module configuration to the device via SCP. L Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: (for Unix): P330-N# copy scp module-config /folder/P330-ML/module.cfg 149.49.100.41 Username: 330user Password: Beginning download operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example (for Windows): P330-N# copy scp stack-config c:\P330-ML\stack.cfg 149.49.100.41 Username: 330user Password: Beginning download operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands copy scp startup-config User level: supervisor Use the copy scp startup-config command to download a startup configuration to the device via SCP. L Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: (for Unix): P330-N# copy scp startup-config /folder/P330-ML/startup.cfg 149.49.100.41 Username: 330user Password: Beginning download operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# copy stack-config scp c:\config\switch1.cfg 192.168.49.10 5 Username: 330user Password: Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands copy startup-config scp User level: supervisor Use the copy startup-config scp command to upload the switch-level startup configuration from the active bank into a file via SCP. The syntax for this command is: copy startup-config scp filename The file name (full path) ip The IP address of the SCP server mod-num The switch number Example: P330-N# copy startup-config scp c:\config\switch1.cfg 192.168.49.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: copy startup-config tftp filename Destination file name in the tftp server (full path). ip The ip address of the tftp server. Example (for Windows): Router-N (super) # copy startup-config tftp c:\P330ML\startup.cfg 149.49.100.41 Example: (for Unix): Router-N (super) # copy startup-config tftp /folder/P330ML/startup.cfg 149.49.100.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands copy tftp module-config User level: supervisor Use the copy tftp module-config command to download the switch-level configuration from a saved file into the current NVRAM running configuration of a switch from a TFTP server. L Only parameters that differ from the factory default settings for the switch are included in the configuration file.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: copy tftp stack-config filename The file name (full path) ip The IP address of the TFTP server Example (for Windows): Router-N# copy tftp stack-config c:\config\switch1.cfg 192.168.49.10 Example (for Unix): Router-N# copy tftp stack-config /folder/switch1.cfg 192.168.49.10 copy tftp startup-config User level: supervisor L This command applies to the P334T-ML only when it is in “Layer2” device mode.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: (for Unix): Router-N (super) # copy tftp startup-config /folder/startup.cfg 149.49.100.41 copy tftp SW_image User level: supervisor Use the copy tftp SW_image command to download a new firmware software version into bank B while either keeping the old version in bank A, or downloading the Embedded Web manager software into bank A.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# copy tftp SW_image /home/P330-ML/viisa EW_archive 1 135.64.103.104 1 Module Source file Destination file Host Running state Failure display Last warning ..... Module Source file Destination file Host Running state Failure display Last warning ............. Module Source file Destination file Host Running state Failure display Last warning ..... : : : : : : : 1 /home/P330-ML/viisa P330-ML 135.64.103.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands copy tftp SW_powerinline_image User level: supervisor L This command applies to P333T-PWR switches only and is used by P330ML-ML switches to control P333T-PWR modules in the stack. Use the copy tftp SW_powerinline_image command to update the inline software application from a TFTP server to the memory of a designated module. You need to be in privilege mode to execute this command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: crypto key generate dsa [key-size ] key-size A keyword specifying that the key lenght is provided by the user. key-length The number of bits in the key. Possible values are: 512 – 2048. The default is 768 bits. Example: P330-ML-2# crypto key generate dsa key-size 768 Generating DSA key, This command may take a few minutes... ......................................
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output Fields: Field Description M# The switch number file There are several files loaded into the switch’s memory: • module-config – file which contains the configuration settings made to this switch • stack-config – file which contains the configuration settings made at the stack level (for example IP address of the stack) • EW_Archive – file which contains the Device Manager (Embedded Web) software • Booter_Image - file containing the booter code execut
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: disconnect ssh session-id The SSH session ID. Use the show ssh command to learn an SSH session ID. Example: P330-ML-2# disconnect ssh 0x508622f0 You are about to close this session - do you want to continue (Y/N)? y Closing session 0x508622f0 get time User level: privileged, supervisor. Use the get time command to retrieve the time from the network.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>help username Username commands: ---------------------------------------------------------Usage: username password access-type {readonly|read-write|admin} hostname User level: privileged, supervisor. Use the hostname command to change the Command Line Interface (CLI) prompt. The current module number always appears at the end of the prompt. Use the no hostname command to return the CLI prompt to its default.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands contains several of these rules: each rule pertains to the source IP address, the destination IP address, the protocol, the protocol ports (if relevant), and to the ACK bit (if relevant). Use the no ip access list command to delete a specific rule.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands L The P334T-ML does not support ‘lt’ and ‘gt’ port operators. ip access-list-cookie User level: supervisor L This command applies to the P334T-ML only when it is in device mode "Layer2". Use the ip access-list-cookie command to set the list cookie for a specific policy list. The syntax for this command is: ip access-list-cookie integer (100...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands ip access-default-action User level: supervisor L This command applies to the P334T-ML only when it is in device mode "Layer2". Use the ip access-default-action command to set the default action for a specific policy list. The syntax for this command is: ip access-default-action integer (100...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands action permit | deny | deny-and-notify | fwd0 | fwd1... fwd7: • permit: do nothing, let the packet pass • deny: drop the packet • deny-and-notify: drop the packet and send an SNMP trap • fwd0, fwd1...fwd7: set the frame COS field to 0...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands ip access-list-name User level: supervisor L This command applies to the P334T-ML only when it is in device mode "Layer2". Use the ip access-list-name command to assign a name to a policy list. The syntax for this command is: ip access-list-name integer (100...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands ip http enable User level: supervisor Use the ip http enable command to enable HTTP access to the device. The syntax for this command is: ip http enable Example: P330-N# ip http enable Done! ip icmp redirect User level: supervisor Use the ip icmp redirect command to enable ICMP redirects via the device.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands source source ip address destination destination ip address protocol ip | tcp | udp | integer (1...255) source port integer (1...65535) destination port integer (1...65535) established value of TCP established bit Example: Router-N(configure)# ip simulate 100 192.67.85.12 193.76.54.25 ip ssh enable User level: supervisor Use the ip ssh command to enable the SSH server.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands ip telnet-client enable User level: supervisor Use the ip telnet-client enable command to enable the device to act as a Telnet client. L This command can only be run from the console port on the device. The syntax for this command is: ip telnet-client enable Example: P330-N# ip telnet-client enable Done! no ip http User level: supervisor Use the no ip http command to disable HTTP access to the device.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands no ip ssh User level: supervisor Use the no ip ssh command to disable the SSH server. The syntax for this command is: no ip ssh Example: P330-N# no ip ssh This will prevent future remote SSH sessions and disconnect all active SSH sessions - do you want to continue (Y/N)? y Shutting down all active sesssions no ip telnet User level: supervisor Use the no ip telnet command to disable Telnet access to the device.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# no ip telnet-client Done! no rmon alarm User level: privileged, supervisor. Use the no rmon alarm command to delete an existing RMON alarm entry. The syntax for this command is: no rmon alarm Alarm Index Alarm index defined using rmon alarm command or P330ML Manager Example: P330-N# no rmon alarm 1026 no rmon event User level: privileged, supervisor. Use the no rmon event command to delete an existing RMON event entry.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands no rmon history User level: privileged, supervisor. Use the no rmon history command to delete an existing RMON history entry. The syntax for this command is: no rmon history History Index History index defined using rmon history command or RMON management tool Example: P330-N# no rmon history 1026 no snmp-server User level: supervisor Use the no snmp-server command to deny SNMP access to the device.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands no snmp-server community User level: supervisor Use the no snmp-server community command to deny access to the device using community strings. The syntax for this command is: no snmp-server community Example: P330-N# no snmp-server community Done! no snmp-server group User level: supervisor Use the no snmp-server group command to remove a specified SNMP group. When a security module is not provided, all instances of the group are removed.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands no snmp-server host User level: supervisor Use the no snmp-server host command to either delete the host from the trap recipients list or, if notifications types are specified in the command, disable the specified notifications for the host. The syntax for this command is: no snmp-server host [] host-addr Specifies the address (or host name) of the notification recipient agent. The maximum length is 32 bytes.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>no snmp-server host 149.49.38.221 Done! no snmp-server notifications User level: supervisor Use the no snmp-server notifications command to disable all available SNMP notifications.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: no snmp-server user {v1 | v2c | v3} username Variable that specifies the name of the SNMP user. The maximum length is 32 bytes. v1, v2c, v3 The security model assigned to the user in user to group association. Example: P330-1(super)# no snmp-server user CharlieBrown v3 Done! no snmp-server view User level: supervisor Use the no snmp-server view command to remove a view or remove OIDs from a view.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: no username name User name Example: P330-1(super)# no username john User account removed. If you wish to delete a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”. L You cannot delete the default user account “root”. nvram initialize User level: privileged, supervisor. Use the nvram initialize command to reset the configuration parameters to their factory defaults.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: ping [host[number]] host Host IP address/Internet address of route destination. If missing, then the host IP address specified in the last ping command is used. number Number of packets to send. If missing, then the number specified in the last ping command is used. If the last number is not available, the default is 4. Example: to ping the IP address 149.49.48.1 three times: P330-N>ping 149.49.48.1 3 PING 149.49.48.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands User level: user, privileged, supervisor Use the reset command to restart the stack or an individual switch. If no switch number is defined or the switch number of the Master is defined, the command resets the entire stack. If the switch number is defined, the command resets the specified switch only.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands reset stack User level: privileged, supervisor. Use the reset stack command to perform a hardware reset of the entire stack. The syntax for this command is: reset stack reset wan User level: user, privileged, supervisor Use the reset wan command to perform a software reset in the X330 WAN Access Router Module.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands rmon alarm User level: privileged, supervisor. Use the rmon alarm command to create a new RMON alarm entry.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands rmon event User level: privileged, supervisor. Use the rmon event command to create an RMON event entry. The syntax for this command is: rmon event description owner event number This is the event index number of this entry. type The type of the event.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands owner name The owner name string. Example: P330-N# rmon history 1026 1026 3/2 30 buckets 20 owner amir history 1026 was created successfully If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”. session User level: user, privileged, supervisor Use the session command to open a session with a specific entity within a switch or the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-1# session 2 P330-2# session P333T (*) In Slot 1 P334T In Slot 2 P330-2# set allowed managers User level: privileged, supervisor. Use the set allowed managers command to enables or disable the Allowed Managers feature. When this feature is enabled, only those stations whose IP addresses are listed in the Allowed Managers table can access the device over Telnet, SNMP, or HTTP.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set allowed managers ip add 149.49.32.134 Ip was added to the table set arp-aging-interval User level: privileged, supervisor. Use the set arp-aging interval command to set the ARP table aging interval for entries in the agent Layer 2 ARP table. The entry is deleted at the end of every aging interval. The default value is 10 minutes.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set autopartition User level: privileged, supervisor. L This command is not relevant to P330-ML-ML switches. It appears in the P330ML-ML CLI for controlling autopartition of other P330-ML switches in the stack. Use the set autopartition command to enable or disable auto-partitioning on P330-ML switches in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set cascading User level: privileged, supervisor. Use the set cascading command to control the generation of fault-traps for unconnected cascading links. This command is useful when cascading cables are not connected intentionally, and therefore no fault-traps are desired for this event.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: P330-N> set dot1x max-req count Number of attempts – 1 to 10 Example: P330-1(super)# set dot1x max-req 3 set dot1x quiet-period User level: supervisor Use the set dot1x quiet-period command to set the minimal time between authentication attempts.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands User level: supervisor Use the set dot1x server-timeout command to set the server retransmission timeout period for all ports. This is the maximum time that the port will wait for a reply from the Authentication Server.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set dot1x system-auth-control enable User level: supervisor Use the set dot1x system-auth-control enable command to globally enable the PBNAC (802.1x) feature.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-1(super)# set dot1x tx-period 90 Done! set inband vlan User level: privileged, supervisor. Use the set inband vlan command to set the inband management VLAN. The syntax for this command is: set inband vlan value Number of the VLAN to be assigned to the management interface. Example: P330-N# set inband vlan 1 Management VLAN number set to 1 set intelligent-multicast User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set intelligent-multicast client-port-pruning time seconds Client port pruning time in seconds Example: P330-N# set intelligent-multicast client-port-pruning-time 40 Done! set intelligent-multicast group-filtering-delay time User level: privileged, supervisor. Use the set intelligent-multicast group-filtering delay time command to set group filtering time delays.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set intelligent-multicast router-port-pruning-time 40 Done! set interface inband User level: privileged, supervisor. Use the set interface inband command to configure the Management inband interface on the Master agent in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set interface ppp ip_addr IP address used by the P330-ML Supervisor Module to connect via its PPP interface net-mask Subnet mask used by the P330-ML Supervisor Module to connect via its PPP interface Example: P330-N# set interface ppp 149.49.34.125 24 Interface ppp ip address set set interface ppp enable/enable-always/disable/off/reset User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set interface ppp enable Entering the Modem mode within 60 seconds... Please check that the proprietary modem cable is plugged into the console port Example: P330-N# set interface ppp disable Entering the Terminal mode immediately set intermodule port redundancy User level: privileged, supervisor. Use the set intermodule port redundancy command to define the stack’s unique intermodule redundancy scheme.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set intermodule port redundancy off Use the set intermodule port redundancy off command to clear the intermodule port redundancy scheme. The syntax for this command is: set intermodule port redundancy off Example: P330-N# set intermodule port redundancy off Intermodule port redundancy entry deleted. set internal buffering User level: privileged, supervisor. L This command is not relevant to P330-ML-ML switches.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set ip route User level: privileged, supervisor. Use the set ip route command to add a route to the IP routing table. You can configure from 1 to 10 default static gateways for a P330-ML switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set license [module] [license] [feature name] module Switch number license License number feature name Name of the feature, either smon or routing Example: P330-N# set license 1 021 1ad bad ca5 8d2 ccd smon set logging file condition User level: privileged, supervisor. Use the set logging file condition command to define a filter rule for logging messages to the logging file.
Chapter 2 74 Avaya P330-ML Layer 2 CLI Commands application The application from which logging messages are logged to the logging file. Possible values are: • BOOT • SYSTEM • ROUTER • CONFIG • FILESYS • FAN • SUPPLY • SECURITY • CASCADE • QOS • SWITCHFABRIC • LAG • VLAN • SNMP • POLICY • CLI • STP • THRESHOLD • CONSOLE none A keyword signifying that logging messages are not logged to the logging file regardless of the severity of the message.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging file condition RIP Debugging Done! set logging file disable User level: privileged, supervisor. Use the set logging file disable command to disable logging messages to a logging file. The syntax for this command is: set logging file disable Example: P330-N# set logging file disable Done! set logging file enable User level: privileged, supervisor. Use the set logging file enable command to enable logging messages to a logging file.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging server 149.49.38.22 Done! set logging server access-level User level: privileged, supervisor. Use the set logging server access-level command to define the access level associated with Syslog server sink. The user cannot specify an access level higher than the level assigned to him. L You need to define a logging server using the set logging server command before you can set the server access level.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set logging server condition { all | } { none | } all A keyword signifying that the specified severity threshold applies to all applications. application The application to which the filter applies.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging server condition LAG Warning 135.64.102.224 Done! set logging server disable User level: privileged, supervisor. Use the set logging server disable command to disable logging messages to a Syslog server. L You need to define a logging server using the set logging server command before you can disable the server. The syntax for this command is: set logging server disable ip-address The IP address of the Syslog server.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging server enable 149.49.35.21 Done! set logging server facility User level: privileged, supervisor. Use the set logging server facility command to update the server facility used for sending messages to Syslog server. Facility settings are done on per Syslog server. L You need to define a logging server using the set logging server command before you can set the server facility.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging server facility news 135.64.102.224 Done! set logging session condition User level: privileged, supervisor. Use the set logging session condition command to define a filter rule for logging messages during the current session. The syntax for this command is: set logging session condition { all | } { none | } 80 all A keyword signifying that the specified severity threshold applies to all applications.
Chapter 2 severity Avaya P330-ML Layer 2 CLI Commands The minimum severity of the logging messages that are logged. Possible values are: • Emergency • Alert • Critical • Error • Warning • Notification • Informational • Debugging Example: P330-N# set logging session condition LAG Error Done! set logging session disable User level: privileged, supervisor. Use the set logging session disable command to disable logging messages in the current CLI session.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set logging session enable Done! set logout User level: privileged, supervisor. Use the set logout command to set the time in minutes before the system automatically disconnects an idle session. The syntax for this command is: set logout [timeout in minutes] timeout in minutes Time until the system automatically disconnects an idle session.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: Set mac-aging status enable / disable Examples: P330-N# set mac-aging enable mac aging is enabled. P330-N# set mac-aging disable mac aging is disabled. set mac-aging-time User level: privileged, supervisor. L This command is available on the P330-ML-ML switches only. Use the set mac-aging-time command to set the MAC aging time in minutes. This is the time after which unused MAC addresses in the MAC table are erased.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands / {no-flowcontrol|asym-tx-only|sym-only|sym-andasym-rx} module Number of the module. port Number of the port on the module. If you do not specify a number, all the ports on the module are set. Alternatively, you can specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on module 4. no-flowcontrol The port will advertise no pause capabilities.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port channel [] [] [] port_list A list of ports to be aggregated in the format module/port value on or off – enables or disables the channel for the specified module ports name Channel name L If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port disable / module Number of the switch in the stack. port Number of the port on the module. If you do not specify a number, all the ports on the module are disabled. You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4. Example: P330-N# set port disable 4/1 Port 4/1 disabled.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port dot1x max-req module/ port Module and port number (or range of ports) count Number of attempts — 1-10 Example: P330-N>set port dot1x max-req 1/2 5 set port dot1x port-control User level: supervisor Use the set port dot1x port-control command to set the dot1x parameter per port.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port dot1x quiet-period module/ port Module and port number (or range of ports) seconds Number of seconds – 0 to 65535 Example: P330-1(super)# set port dot1x quiet-period 4/2 300 set port dot1x re-authenticate User level: supervisor Use the set port dot1x re-authenticate command to set the port to reauthenticate.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-1(super)# set port dot1x re-authentication 1/2 enable port 1/2 re-authenticate was set to enable set port dot1x re-authperiod User level: supervisor Use the set port dot1x re-authperiod command to set the the idle time between re-authentication attempts before the session is terminated.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set port dot1x supp-timeout User level: supervisor Use the set port dot1x supp-timeout command to set the time for the port to wait for a reply from the Authentication Server before the session is terminated.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands 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. L P332G-ML and P332GT-ML ports and P334T-ML ports 51, 52 (Gigabit SFP ports) work in Full duplex mode only. An error message is generated if you attempt to change these ports to half-duplex.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands admin state The port’s admin satte can be set to either edge-port or non-edgeport. Examples: P330-N# set port edge admin state 1/1 edge-port port 1/1 edge admin state is set to edge-port P330-N# set port edge admin state 1/1 non-edge-port port 1/1 edge admin state is set to non-edge-port set port enable User level: privileged, supervisor. Use the set port enable command to enable a port or a range of ports.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands | on | proprietary} receive Indicates whether the port can receive administrative status from a remote device. Available only for Gigabit Ethernet modules with negotiation set to off. send Indicate whether the local port can send administrative status to a remote device. Available only for Gigabit Ethernet modules with negotiation set to off. all Send and receive (symmetric flow control). module Number of the module.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands port Number of the port on the module. You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4. value Priority level (0-7) Example: P330-N# set port level 3/1 5 Port 3/1 level set to 5 set port mirror User level: privileged, supervisor. Use the set port mirror command to define a port mirroring pair in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set port name User level: privileged, supervisor. Use the set port name command to configure a name for a port. If you do not specify a name, the port name remains blank. The syntax for this command is: set port name / [] module Number of the switch. port Number of the port on the switch. name Name (up to 16 characters) Example: P330-N# set port name 4/21 arthur Port 4/21 name set.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port negotiation / {enable|disable} module Number of the switch. If you do not specify a number, the ports on all the switches are shown. port Number of the port on the module. 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.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set port powerline User level: privileged, supervisor. L This command applies to P333T-PWR switches only and is used by P330ML-ML switches to control P333T-PWR modules in the stack. Use the set port powerinline command to enable or disable the load detection process and power delivery for the port.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands priority Critical, High, or Low Example: Router-N# set port powerinline priority 2/3 HighLoad Powering priority on port/s 2/3 was set to High set port redundancy User level: privileged, supervisor. Use the set port redundancy command to globally enables or disable the port redundancy pairs you have defined. Using this command will not delete from NVRAM the existing redundancy entries.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set port redundancy 1/7 2/12 on red1 uplink: Port 2/12 is redundant to port 1/7. Port redundancy is active - entry is effective immediately L If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”. set port redundancy-intervals User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set port security User level: supervisor Use the set port security command to enable MAC security on a port or a range of ports at the module level. The port security is activated only after you enable the secutity mode at the stack level using the set security mode command.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set port spantree disable User level: privileged, supervisor. Use the set port spantree disable command to disable the spanning tree mode for specific switch ports. The syntax for this command is: set port spantree disable [module/port] Module Module number Port Port number Example: P330-N# set port spantree disable 3/1 port 3/1 was disabled on spantree set port spantree enable User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set port spantree force-protocol-migration module/ port Port identifier Example: P330-N>set port spantree force-protocol-migration 1/1 port 1/1 is forced to send a Rapid spanning tree BPDU set port spantree priority User level: privileged, supervisor. Use the set port spantree command to set the Spanning Tree priority level of a port.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands L This command is can not be executed for P332G-ML and P332GT-ML ports and P334T-ML ports 51, 52 (Gigabit SFP ports). An error message is generated if you attempt to perform the set port speed command for these ports that can only work at 1000Mbps speed. L Copper ports in the P332GT-ML can work at 1000Mbps (Full Duplex) only if autonegotiation is enabled on both cable ends and you are using a 4 pair (8wire) Ethernet cable.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set port static-vlan 3/4-6 2 VLAN 2 is bound to port 3/4 VLAN 2 is bound to port 3/5 VLAN 2 is bound to port 3/6 set port trap User level: privileged, supervisor. Use the set port trap command to enable or disable generic SNMP uplink or downlink traps from a port. The syntax for this command is: set port trap / {enable|disable} module Number of the switch. port Number of the port on the switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands module The switch number port Number of the port on the switch. 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: To set VLAN 850 to include ports 4 through 7 on module 3. P330-N# set port vlan 850 3/4-7 VLAN 850 modified. VLAN Mod/Ports ---- ----------------------850 3/4-7 set port vlan-binding-mode User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set powerinline external power User level: privileged, supervisor. L This command applies to P333T-PWR switches only and is used by P330ML-ML switches to control P333T-PWR modules in the stack. Use the set powerinline external power command to set the maximum power available from the external power supply to power DTEs.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set ppp baud-rate User level: privileged, supervisor. Defines the baud rate used in PPP sessions. L The peer baud rate must be set at the same value as the host. The syntax for this command is: set ppp baud-rate <9600|19200|38400> Example: P330-N# set ppp baud-rate 38400 ppp baud rate was set to 38400 set ppp chap-secret User level: supervisor Use the set ppp chap-secret command to configure the “shared secret” used in PPP sessions with CHAP authentication.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set ppp incoming timeout 15 PPP incoming session will automatically disconnect after 15 minutes of idle time set psu type User level: privileged, supervisor. Use the set psu type command to set the main power supply type (AC/DC) of the module. L This command is not applicable to P330-ML-ML switches, which determine the PSU type automatically. This command is used to set the power supply types for other P330-ML switches in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set queuing scheme User level: privileged, supervisor. L This command is applicable to P330-ML-ML switches only. Use the set queuing scheme command to set the queuing scheme to either strict or weighted round robin and to set the weights. The syntax for this command is: set queuing scheme {wrr {H} | strict | default} [module] wrr/strict /default Sets queuing scheme to weighted round robin, strict, or the default. H Ratio between high and low priority queues.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set radius authentication {enable|disable} enable Enable RADIUS authentication disable Disable RADIUS authentication (default) Example: P330-1(super)# set radius authentication enable set radius authentication retry-number User level: privileged, supervisor. Sets the number of times an access request is sent when there is no response.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set radius authentication secret User level: supervisor Use the set radius authentication secret command to enable secret authentication for the P330-ML unit. The syntax for this command is: set radius authentication secret string text password Example: P330-1(super)# set radius authentication secret hush set radius authentication server User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set radius authentication udp-port Example: P330-1(super)# set radius authentication udp-port 300 112 Avaya P330-ML Reference Guide
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set secure mac User level: privileged, supervisor. Use the set secure mac command to add a unicast MAC address into the CAM table of a secured port. The syntax for this command is: set secure mac port / Example: P330-1(super)# set secure mac 00-02-03-04-04-05 port 1/1 Port 1/1 port security enabled with 00-02-03-04-04-05 as the secure mac address set security mode User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set security violaton action {restrict|restrict-and-notify} restrict Keyword specifying that the port drops all packets from insecure hosts but remains enabled. restrict-andnotify Keyword specifying that the port drops all packets and sends an SNMP trap. Example: P330-1(super)# set security violation action restrict Switch security violation action restrict set snmp community User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# set snmp retries 10 SNMP retries is set to 10 set snmp timeout User level: privileged, supervisor. Use the set snmp timeout command to set the SNMP timeout in seconds. This command is only used for access using the P330-ML Embedded Web Manager.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: To enable SNMP ConfigChange traps to a specific manager: P330-N# set snmp trap 192.168.173.42 enable config SNMP config change traps enabled. Example: To enable all traps to a specific manager: P330-N# set snmp trap 192.168.173.42 enable all SNMP all traps enabled. Example: To disable SNMP config traps to a specific manager: P330-N# set snmp trap 192.168.173.42 disable config SNMP config traps disabled.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set spantree default-path-cost User level: privileged, supervisor. Use the set spantree default-path-cost command to set the version of the spanning tree default path costs that are to be used by this bridge. The syntax for this command is: set spantree default-path-cost path-cost common-spanning-tree - compatible with ieee802.1D standard rapid-spanning-tree - compatible with ieee802.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: set spantree enable Example: P330-N# set spantree enable bridge spanning tree enabled. set spantree forward-delay User level: privileged, supervisor. Use the set spantree forward-delay command to set the bridge forward delay time parameter. The syntax for this command is: set spantree forward-delay
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set spantree max-age User level: privileged, supervisor. Use the set spantree max-age command to set the bridge spanning tree max age parameter. The syntax for this command is: set spantree max-age max-age The max age time in seconds to keep message information before it is discarded. Value ranges between 6 to 40; value must be between 2 X (Bridge-Hello-Time + 1) and 2 X (Bridge-Forward-Delay - 1). Recommended value is 20 sec.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set spantree tx-hold-count User level: privileged, supervisor. Use the set spantree tx-hold-count command to limit the maximum number of BPDUs transmitted during a hello-time period. The syntax for this command is: set spantree tx-hold-count rate Value between 1 to 10; recommended value is 3 Example: P330-N# set spantree tx-hold-count 3 tx hold count is set to 3. set spantree version User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set system contact User level: privileged, supervisor. Use the set system contact command to set the mib2 system contact MIB variable. The syntax for this command is: set system contact [string] string • The contact name string should be typed inside inverted commas. • The name is cleared if you leave this field blank.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set system name User level: privileged, supervisor. Use the set system name command to set the mib2 system name MIB variable. The syntax for this command is: set system name [string] string • The system name string should be typed inside inverted commas. • The name is cleared if you leave this field blank.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands L This command can only be run from the console port on the device. The syntax for this command is: set terminal recovery password enable Example: P330-N# set terminal recovery password enable Done! set time client User level: privileged, supervisor. Use the set time client command to enable or disable the periodic network time acquisition by the switch from the network time server (SNTP or TIME protocol).
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>set time protocol sntp-protocol The protocol has been set to SNTP protocol P330-N> set time protocol time-protocol The protocol has been set to TIME protocol set time server User level: privileged, supervisor. Use the set time server command to set the TIME server address. The syntax for this command is: set time server ip address IP address of the TIME server. Example: P330-N# set time server 192.49.53.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set trunk User level: privileged, supervisor. Use the set trunk command to configure the VLAN tagging mode of a port. set trunk {off|dot1q} module Number of the switch. port Number of the port on the switch. You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4. off Forces the port to become a non-tagging port. dot1q Specifies an IEEE 802.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set vlan User level: privileged, supervisor. Use the set vlan command to configure VLANs. The syntax for this command is: set vlan [name ] vlan-id vlan number vlan-name vlan name Example: P330-N# set vlan 3 name gregory VLAN id 3, vlan-name gregory created. L If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands set welcome message User level: privileged, supervisor. Use the set welcome message command to set a welcome message to appear after a reboot or after opening a new session (see session command) in the stack. The syntax for this command is: set welcome message [string] string string - The string to be used as the welcome message. blank - Restores the default string.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show allowed managers status User level: user, privileged, supervisor Use the show allowed managers status command to display the activation status of the Allowed Managers feature. The syntax for this command is: show allowed managers status Example: P330-1(super)# show allowed managers status Managers are disabled.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-1(super)# show allowed managers table 1 ) 149.49.32.134 2 ) Not Used 3 ) Not Used 4 ) Not Used 5 ) Not Used 6 ) Not Used 7 ) Not Used 8 ) Not Used 9 ) Not Used 10) Not Used 11) Not Used 12) Not Used 13) Not Used 14) Not Used 15) Not Used 16) Not Used 17) Not Used 18) Not Used 19) Not Used 20) Not Used show arp-aging-interval User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show arp-tx-interval Example: P330-N>show arp-tx-interval ARP tx interval is set to 5 seconds. show autopartition User level: privileged, supervisor. Use the show autopartition command to display the automatic partition. L Autopartition for the P330-ML-ML switches will always have the value disabled. This command is used to display the autopartition status for the other P330-ML switches in the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show boot bank User level: privileged, supervisor. L This command is not supported by the P333R and P333R-LB switches. Use the show boot bank command to display the software bank from which the switch will boot at the next boot process. You must issue this command separately for each switch in the stack using the session command. L If you wish to run this command on a switch other than the stack master, you need to open a session to the relevant switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: (by Module/Port) P330-N>show cam 1/1 show cam 1/1 Dest MAC/Route Dest Destination Ports ------------------- ----------------00-40-0d-59-03-78 1/1 00-d0-79-0a-0a-da 1/1 00-40-0d-43-1e-e9 1/1 ... 00-40-0d-c6-24-01 1/1 Total Matching CAM Entries Displayed = 178 show cam mac User level: user, privileged, supervisor Use the show cam mac command to display the module and port number where a specific MAC address was learned.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show cam vlan vlan-number The VLAN on which the MAC addresses were learned. Example: P330-N# show cam vlan 1 Please be patient. Gathering and displaying the information might take a while. Dest MAC/Route Dest Destination Ports VLAN ------------------- ----------------- ---08-00-20-c4-c8-51 1/8 1 08-00-20-c6-98-5f 1/8 1 00-01-02-9b-ee-ae 1/8 1 00-01-02-dd-2f-9f 1/8 1 00-02-2d-47-00-6f 1/8 1 ... ... ...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show copy status User level: user, privileged, supervisor Use the show copy status command to show the status of the local configuration copy operation. The syntax for this command is: show copy status Example: Router-N> show copy status Module #1 =========== Module : 1 Source file : .router-startup Destination file : .
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show device-mode User level: user, privileged, supervisor Use the show device-mode command to show the current P330-ML-ML or P333R operating mode. Possible modes are Router, or Layer 2. L This command is not available to the P333T, P334T, P332MF and P333T-PWR switches which do not have Router and to P333R-LB which is always in Load-Balancing mode.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show download status [slot] Example: P330-N>show download status 1 Module #1 =========== Module Source file Destination file Host Running state Failure display Last warning Bytes Downloaded : : : : : : : : 1 c:\session4.txt module-config 149.49.75.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show intelligent-multicast User level: user, privileged, supervisor Use the show intelligent-multicast command to display the intelligent multicast configuration.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show interface User level: user, privileged, supervisor Use the show interface command to display information on network interfaces. The syntax for this command is: show interface Example: P330-N>show interface Interface Name ---------------inband ppp Status -------------disabled disabled VLAN ---1 N/A IP address --------------135.64.200.105 0.0.0.0 Netmask --------------255.255.255.0 0.0.0.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show internal buffering [] mod_num Switch number. If you do not specify a number then the internal buffering for all switches in the stack will be displayed. Example: P330-N>show internal buffering 1 Module Internal Buffer ------ --------------1 med show ip access-group User level: privileged, supervisor. Use the show ip access-group command to display the active policy-list number.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show ip access-list-details policylistnumber A valid id number for a policy list currently defined for the module (100 to 199, 0 is the default list) Example: P330-N>show ip access-list-details 101 Trust configuration is trust-cos DSCP Action Precedence Name ---- -------------------- ---------- -----------0 fwd0 mandatory DSCP#0 1 fwd0 mandatory DSCP#1 2 fwd0 mandatory DSCP#2 3 fwd0 mandatory DSCP#3 4 fwd0
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show ip access-list-dscp 101 Trust configuration is trust-cos DSCP Action Precedence ---- -------------------- ---------0 fwd0 mandatory 1 fwd0 mandatory 2 fwd0 mandatory 3 fwd0 mandatory 4 fwd0 mandatory 5 fwd0 mandatory 6 fwd0 mandatory 7 fwd0 mandatory 8 fwd1 mandatory 9 fwd1 mandatory 10 fwd1 mandatory 11 fwd1 mandatory Name -----------DSCP#0 DSCP#1 DSCP#2 DSCP#3 DSCP#4 DSCP#5 DSCP#6 DSCP#7 DSCP#8 DSCP#9 DSCP#10 DSCP#11 show ip access list
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show ip access-list-summary User level: user, privileged, supervisor L This command applies to the P334T-ML only when it is in device mode "Layer2". Use the show ip access-list-summary command to display a summary of policy lists.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show ip ssh User level: supervisor Use the show ip ssh command to display active SSH connections. The syntax for this command is: show ip ssh Example: P330-N>show ip ssh Ssh Engine: Enable Max Sessions: 2 Key Type: DSA , 768 bit Listen Port: 22 Ciphers List: 3des-cbc Session-Id Version Encryption User 0x508622f0 2 3des-cbc root IP:Port 135.64.100.73:4201 show l2-module-config User level: privileged, supervisor.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show l2-module-config Please be patient. Gathering and displaying the information might take a while. P330-ML-N(super)# !# !# Upload time: Unavailable Unavailable !# System description: Avaya Inc. - P330-ML !# Master position: 2 !# !# Module #: 2 !# Module type, expansion type: P334T-ML-AC !# Module-CS, expansion-CS: 1.0 !# MAC address: 00-40-0d-e5-e0-00 !# Serial #: 4531636 !# SW versions - bank A, B, Boot: 4.0.15 4.2.5 3.11.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands .... ....
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show l2-stack-config User level: privileged, supervisor. Use the show l2-stack-config command to display Layer 2 stack configuration. L If this command is to be implemented on a switch other than the stack master, a session should be opened to the relevant switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: Avaya P330-ML Reference Guide 147
Chapter 2 Avaya P330-ML Layer 2 CLI Commands P330-N>show l2-stack-config P330-ML-N(super)# !# !# Upload time: Unavailable Unavailable !# System description: Avaya Inc. - P330-ML !# IP address, netmask: 149.49.138.157 255.255.255.0 !# Master position: 2 !# Number of modules: 2 !# set spantree priority 4096 set arp-tx-interval 0 set logging server 149.49.38.22 set logging server condition all Informational 149.49.38.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands ... set time client disable set ip route 0.0.0.0 149.49.138.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show license Example: P330-N>show license Mod Application License Key State Feature Flag --- ------------------- ----------------------------- ---------- --------1 smon 0000 0000 0000 0000 0000 0000 licensed 1 show log User level: privileged, supervisor. Use the show log command to display an encrypted device’s reset log. L This command is for Avaya technical support use.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show logging file condition User level: user, privileged, supervisor Use the show logging file condition command to display the condition and filtering of the log file.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show logging file content User level: user, privileged, supervisor Use the show logging file content command to display the contents of the log file. The syntax for this command is: show logging file content [] [{all|}] [] [] 152 severity The minimum severity of the logging messages that are displayed. The severity is represented by an integer.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands application The application to which the filter applies. Possible values are: • BOOT • SYSTEM • ROUTER • CONFIG • FILESYS • FAN • SUPPLY • SECURITY • CASCADE • QOS • SWITCHFABRIC • LAG • VLAN • SNMP • POLICY • CLI • STP • THRESHOLD • CONSOLE number The number of messages to display. If no number is specified, all messages are displayed. module The number of the module from which the displayed messages originated.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show logging server condition User level: user, privileged, supervisor Use the show logging server condition command to display the condition and filtering of logging to the Syslog server. The syntax for this command is: show logging server condition ip-address The IP address of the Syslog server. If no IP address is specified, the condition and filtering of logging to all configured Syslog servers is displayed.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show logging session condition User level: user, privileged, supervisor Use the show logging session condition command to display the condition and filtering of logging in the current CLI session.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Use the show mac-aging command to display the current status of the MAC aging function. The syntax for this command is: show mac-aging Example: P330-N>show mac-aging mac aging application is disabled show mac-aging-time User level: user, privileged, supervisor Use the show mac-aging-time command to display the MAC aging time in minutes. The syntax for this command is: show mac-aging-time Example: P330-N>show mac-aging-time MAC aging time is 5 (min.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show module Mod Type --- -----------------1 P333T X330GT2 P330-MLSTK BUPS 2 P333T-PWR No Expansion P330-MLSTK BUPS C/S S/N ---- -------1.0 4144162 2.0 2.0 3.0 4455428 2.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port User level: user, privileged, supervisor Use the show port command to display port status. The syntax for this command is: show port [[/port_num]] mod_num (Optional) Number of the switch. If you do not specify a number, the ports on all the switches are shown. port_num (Optional) Number of the port on the module (can be a vitrual LAG port number). If you do not specify a number, all the ports on the switch are shown.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port auto-negotiation-flowcontrol-advertisement User level: privileged, supervisor. Use the show port auto-negotiation-flowcontrol-advertisement command to display the flowcontrol advertisement for a Gigabit port used to perform auto-negotiation.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show port channel Port Channel Status Channel Name Channel Id ------ --------------- ---------------- ---------------1/1 on MEIR 1/101 1/2 on MEIR 1/101 1/3 off 1/4 off 1/5 on my-channel 1/102 1/6 on my-channel 1/102 1/7 off 1/8 on my-channel 1/102 P330-N>show port channel 3/3 info Port Speed Duplex Vlan Port Trunk Vlan Priority status Binding ------ ------ ------- ----- --------- -------- -------1/1 10 half 1 0 off static 160 Avaya P330-ML Re
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port classification User level: user, privileged, supervisor Use the show port classification command to display a port’s classification. The syntax for this command is: show port classification [module/[port]] module Number of the switch. If you do not specify a number, the ports on all the switches are shown. port (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port dot1x User level: user, privileged, supervisor Use the show port dot1x command to display all the configurable values associated with the authenticator port access entity (PAE) and backend authenticator. The syntax for this command is: show dot1x [mod]/[port] mod (Optional) Number of the module. port (Optional) Number of the port on the module, or range of ports.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands BEnd Stat The current state od the Backend Authentication state machine. Possible states include: • Request • Response • Success • Fail • Timeout • Idle • Init Port Control Port control type. Valid values include: • force-authorized • force-unauthorized • auto. Port Status The current value of the controlled port status. Possible states include: • Authorized • Unauthorized Re Auth The state of reauthentication on the port.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Max Req The maximum number of times a request for authentication is sent before timing out. show port dot1x statistics User level: user, privileged, supervisor Use the show port dot1x statistics command to display all the port dot1x statistics. The syntax for this command is: show dot1x statistics [mod]/[port] mod (Optional) Number of the module. port (Optional) Number of the port on the module, or range of ports.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port edge state User level: user, privileged, supervisor Use the show port edge state command to show a port’s edge admin and operational RSTP state. L A port can be set to admin state of edge port, but if a BPDU is received on this port the oper state is changed to non-edge state.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output Fields 166 Field Description Port Module and port number SendFlowcontrolAdmin Send flow-control administration. Possible settings: • 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. SendFlowcontrolOper Send flow-control operation mode.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port mirror User level: user, privileged, supervisor Use the show port mirror command to display mirroring information for the stack.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port redundancy User level: user, privileged, supervisor Use the show port redundancy command to display information about the port redundancy schemes defined for the switch. The “status” column displays which of the two redundancy member ports is enabled currently.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show port trap User level: user, privileged, supervisor Use the show port trap command to display information on SNMP generic link up/down traps sent for a specific port. The syntax for this command is: show port trap [[/]] module (Optional) Number of the switches. If you do not specify a number, the ports on all the switches are shown. port (Optional) Number of the port on the switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show port vlan-binding-mode port 2/1 is statically bound port 2/2 is statically bound port 2/3 is statically bound port 2/4 is statically bound port 2/5 is statically bound port 2/6 is statically bound port 2/7 is statically bound port 2/8 is statically bound port 2/9 is statically bound port 2/10 is statically bound Show powerinline User level: user, privileged, supervisor L This command applies to P333T-PWR switches only and is used by P330ML
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-ML-2> show powerinline 3 External power Supply is 400Watts. External power supply is active. Port Inline Operational Status Power Allocated Class Powering Priority ---- ----------- --------- -------- 3/1 on 0 Low 3/2 on 0 Low 3/3 on 0 High 3/4 off 0 High ... Example: P330-ML-2> show powerinline 2/1 External power Supply is 400Watts. External power supply is active.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands image version of P333T-PWR switches in the stack or a specific switch. The syntax of this command is: show powerinline image version [] If you do not specify a number, then the software version for all the P333T-PWR switches is shown. modulenumber Number of the module for which you want to display the current powerline image version Example: P330-ML-2> show powerinline image version Mod Image Version --------------1 1.2.9 4 1.2.9 5 1.2.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show ppp baud-rate User level: user, privileged, supervisor Use the show ppp baud-rate command to display the ppp baud-rate. The syntax for this command is: show ppp baud-rate Example: P330-N>show ppp baud-rate PPP baud rate is 38400 show ppp configuration User level: user, privileged, supervisor Use the show ppp configuration command to display the ppp configuration.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show ppp incoming timeout PPP incoming timeout is 15 minutes show ppp session User level: user, privileged, supervisor Use the show ppp session command to display PPP parameters and statistics of an active PPP session.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show queuing scheme User level: user, privileged, supervisor L This command is available on P330-ML-ML switches only Use the show queuing scheme command to display the current queuing scheme settings. L If this command is to be implemented on a P330-ML-ML switch other than the stack master, a session should be opened to the relevant switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show rmon alarm User level: user, privileged, supervisor Use the show rmon alarm command to display the parameters set for a specific alarm entry that was set using the rmon alarm command on or using the P330-ML Manager. The syntax for this command is: show rmon alarm [] Alarm Index History index defined using rmon alarm command or the P330-ML Manager.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show rmon event User level: user, privileged, supervisor Use the show rmon event command to show the parameters of an Event entry defined by the rmon event command or using the P330-ML Manager.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show rmon history 1026 history Entry 1026 is active, owned by amir Monitors ifEntry.1.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show rmon statistics Statistics for switch is active,owned by Monitor Monitors ifEntry.1.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands port-num Secured port number Example: P330-N# show secure mac port 1/7 Port Secure-Src-Addrs ------ ----------------1/7 00-40-0d-9b-9d-00 00-40-0d-98-61-2e 00-40-0d-8a-a3-23 show security mode User level: user, privileged, supervisor Use the show security mode command to display the status of the MAC security feature.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show snmp Authentication trap enabled Community-Access ---------------read-only read-write trap Community-String ---------------public public meir Trap-Rec-Address ---------------135.64.100.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands SNMP-Rec-Address Model Level Notification Trap/Inform User name ---------------- ----- ------- --------------- ----------- -----------------135.64.100.73 UDP port: 162 v1 noauth 149.64.100.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output fields: Field Description EngineId The SNMP engine ID. EngineBoots The number of times the SNMP engine has been started or reinitialized. show snmp group User level: supervisor Use then show snmp group command to display SNMP groups. The syntax for this command is: show snmp group []] group-name (optional) Avaya P330-ML Reference Guide The name of a group to display. If no group is specified, all groups are displayed.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show snmp group Group Name: initial Security Model: v3 Security Level: noauth Read View: iso Write View: iso Notify View: iso Status: active Group Name: ReadCommG Security Model: v1 Security Level: noauth Read View: snmpv1View Write View: Notify View: snmpv1View Status: active Group Name: ReadCommG Security Model: v2c Security Level: noauth Read View: snmpv1View Write View: Notify View: snmpv1View Status: active ...
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show snmp retries User level: user, privileged, supervisor Use the show snmp retries command to display the number of retries initiated by the P330-ML Embedded Web Manager when it tries to send SNMP messages to the device.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands information for a specific user. The syntax for this command is: show snmp user [] user (Optional) Name of the user. If no user is specified, SNMP information for all users is displayed.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show snmp userToGroup Security Model: v1 Security Name: ReadCommN Group Name: ReadCommG Security Model: v1 Security Name: WriteCommN Group Name: WriteCommG Security Model: v2c Security Name: ReadCommN Group Name: ReadCommG Security Model: v2c Security Name: WriteCommN Group Name: WriteCommG Security Model: v3 Security Name: initial Group Name: initial show snmp view User level: supervisor Use then show snmp view command to display SNMP view
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show snmp view snmpv1View View Name: snmpv1View Subtree Oid: 1 Subtree Mask: View Type: include Storage Type: nonVolatile Status: active View Name: snmpv1View Subtree Oid: 1.3.6.1.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output fields: Field Description View Name The name of the view. Subtree Oid The name of a MIB subtree in OID format or as a textname mapped to a valid OID. Subtree Mask The subtree mask. This can be all ones, all zeros, or a combination of both. View Type Status of whether the MIB subtree is included or excluded. Storage Type The type of storage used to store the view configuration.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show spantree Spanning tree state is enabled Designated Root: 00-40-0d-8c-88-ff Designated Root Priority: 32768 Designated Root Cost: 100 Designated Root Port: 1/7 Root Max Age: 20 Hello Time: 2 Root Forward Delay: 15 Bridge ID MAC ADDR: 00-40-0d-b9-89-ff Bridge ID priority: 32768 Bridge Max Age: 20 Bridge Hello Time: 2 Bridge Forward Delay: 15 Tx Hold Count 3 Spanning Tree Version is rapid spanning tree Spanning Tree Default Path Costs is accor
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output fields: Field Description Spanning tree Status of whether Spanning-Tree Protocol is enabled or disabled Designated Root MAC address of the designated spanning-tree root bridge Designated Root Priority Priority of the designated root bridge Designated Root Cost Total path cost to reach the root Designated Root Port Port through which the root bridge can be reached (shown only on nonroot bridges) Root Max Age Amount of time a BPDU packet shoul
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Spanning Tree Default Path Costs The version of the Spanning Tree default Path Costs that are to be used by this Bridge.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show tftp download software status User level: user, privileged, supervisor Use the show tftp download software status commands to display the status of the current TFTP Device Manager S/W (Embedded Web) download process into the device. The syntax for this command is: show tftp download software status [] Example: P330-N>show tftp download software status Module #1 =========== Module : 1 Source file : p340_4_0_4.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show time 10:32:34 27 JAN 2000 GMT show time parameters User level: user, privileged, supervisor Use the show time parameters command to display the time status and parameters. The syntax for this command is: show time parameters Example: P330-N>show time parameters Client status: Enabled Current time : L:00:57:19 01 JAN 1970 GMT Timezone set to 'GMT', offset from UTC is 0 hours Time-Server : 0.0.0.0 (I.e.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show timezone Example: P330-N>show timezone Timezone set to 'GMT', offset from UTC is 0 hours show trunk User level: user, privileged, supervisor Use the show trunk command to display VLAN tagging information for the switch or a specified module or port. The syntax for this command is: show trunk [[/-]] mod_num (Optional) Number of the switch.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>show trunk 4/1-2 P330-ML-1(super)# show trunk 1/42-44 Port Mode Binding mode Native vlan Vlans allowed on trunk ------ ----- ------------------------- ----------- ---------------------1/42 Port off bound to configured vlans Mode Binding mode 1 1-9,500 Native vlan Vlans allowed on trunk ------ ----- ------------------------- ----------- ---------------------1/43 Port off statically bound Mode Binding mode 1 1,7-8 Native vlan
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show upload status [] mod_num (Optional) Number of the module. If you do not specify a number, upload statuses for all modules in the stack are shown. Example: Router-N> show upload status 1 Module : 1 Source file : stack-config Destination file : c:\conf.cfg Host : 149.49.36.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: show utilization module-number The module for which to display utilization statistics. If no module is specified, utilization statistics for all modules is displayed. Example: P330-1(super)# show utilization Mod --1 198 CPU CPU 5sec 60sec ---------Appl.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands show vlan User level: user, privileged, supervisor Use the show vlan command to display the VLANs configured in the stack or switch or the ports bound to a specified VLAN. The syntax for this command is: show vlan { | } vlan-number The VLAN ID for which to display bound ports. vlan-name The VLAN name for which to display bound ports.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Output Fields: Field Description VLAN ID The VLAN ID. Vlan-name The VLAN name. Switch Ports currently bound to this vlan Switch ports that have this VLAN as their PVID, are statically bound to this VLAN, or configured as bind-to-all or bind-to-configure. Switch Ports statically bound to this vlan Switch ports that are statically bound to this VLAN.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands snmp-server enable User level: supervisor Use the snmp-server command to enable SNMP Access to the switch. The syntax for this command is: snmp-server enable [volatile] volatile (Optional) By default the activation of the snmp-server command is permanent and automatically stored in the non-volatile memory. The SNMP server is automatically launched after all restarts.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: snmp-server engineID engineID A 5 - 32 byte string represented as hexadecimal numbers separated by the colon character. For example, 00:00:00:81:0a:fe:ff:12:97:33:45:12. Example: P330-N>snmp-server engineID 1a:e9:00:00:01:95:31:8a:9d P330-N>EngineID changed P330-N>Done! snmp-server group User level: supervisor Use the snmp-server group command to configure SNMPv3 groups.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands notify Keyword that specifies a view for SNMP notifications. If this keyword is not included in the command, the group has no associated notify view. notifyview The name of the view for SNMP notifications.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands udp-port (Optional) Keyword that specifies that a specific UDP port on the target host should be used when sending notifications to the host. The default UDP port is 162. port The UDP port on the target host to which notifications are sent. notification -type-list (Optional) List of notification types. Each types combines related notifications. You can enable or disable notification generations on a per group basis.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: snmp-server informs retries timeout retries-num Maximum number of times to resend an inform request. seconds Number of seconds to wait for an acknowledgment before resending. The default is 3.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands priv des56 (Optional) A keyword signifying that a privacy password is required. authpassword The authentication password. Valid lengths are 8 - 64 characters. Example: P330-N>snmp-server remote-user charles 22:00:00:01:6e:4a:32:22:01 2L2NotifyG3 Done! snmp-server user User level: supervisor Use the snmp-server user command to configure a new SNMP user.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N>snmp-server user jimmyd v3AdminViewG v3 auth md5 Ar43*ffr2O priv des56 asdf$sWE4522 Done! snmp-server view User level: supervisor Use the snmp-server view command to configure an SNMP MIB view. Use multiple iterations of the command to add or remove OIDs from the view. The syntax for this command is: snmp-server view {included | excluded} view-name Name of the view. oid-tree Object identifier (OID) of the ASN.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands L The stack is reset once the command has been executed. L You should not load the stack with traffic during this test. L Please follow the instruction shown on the CLI screen, during the various stages of this test. The syntax for this command is: stack health Example: P330-N>stack health TThis operation will eventually result in a Stack reset. - do you want to continue (Y/N)? y Start testing stack health....
Chapter 2 Avaya P330-ML Layer 2 CLI Commands The syntax for this command is: telnet [] ip-address The IP address of the remote host. port-number The port number over which to open the Telnet connection. Example: P330-N>telnet 149.22.38.127 terminal User level: user, privileged, supervisor Use the terminal width and terminal length commands to set the width and length of the terminal display in characters.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-1(super)# username john password johnny access-type read-write User account added. P330-1(super)# username root password secret access-type read-write ERROR: User account root has always an administrator access type. P330-1(super)# username root password secret access-type admin User account modified. L If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.
Chapter 2 Avaya P330-ML Layer 2 CLI Commands Example: P330-N# validate-group 101 List 101 is valid-in-progress P330-N# validate-group 101 List 101 is valid L The validation process may take some time to complete.
Chapter 2 212 Avaya P330-ML Layer 2 CLI Commands Avaya P330-ML Reference Guide
Chapter 3 Avaya P330-ML Layer 3 CLI Commands This chapter provides all the Layer 3 CLI (Command Line Interface) commands, parameters, and their default values. How the Layer 3 CLI is Organized The commands that make up the Layer 3 CLI are organized alphabetically and according to context.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands General Commands arp User level: privileged, supervisor. L If you are at the “privileged” 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The syntax for this command is: [no] arp timeout seconds The amount of time, in seconds, that an entry remains in the arp cache. Example: To set the arp timeout to one hour: Router-N(configure)# arp timeout 3600 To restore the default arp timeout: Router-N(configure)# no arp timeout clear arp-cache User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands clear fragment User level: privileged, supervisor. 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-N# clear fragment Done! clear ip route User level: privileged, supervisor. Use the clear ip route command to delete one or all of the dynamic routing entries from the Routing Table (RIP only).
Chapter 3 Avaya P330-ML Layer 3 CLI Commands clear ip traffic User level: privileged, supervisor. L This command does not apply to the P333R-LB. Use the clear ip traffic command to clear the ip traffic statistics counters. The syntax for this command is: clear ip traffic Example: Router-N# clear ip traffic clear screen User level: user, privileged, supervisor Use the clear screen command to clear the screen. The syntax for this command is: clear screen clear vlan User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands configure User level: privileged, supervisor. Use the configure command to enter configure mode. The syntax for this command is: configure Example: P330-1(super)# configure Router-N(configure)# copy module-config scp Use the copy module-config scp command to upload the switch-level parameters from the current NVRAM running configuration into a file via SCP.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands copy module-config tftp Use the copy module-config tftp command to upload the switch-level parameters from the current NVRAM running configuration into a file via TFTP. The syntax for this command is: copy module-config tftp filename The file name (full path) ip The IP address of the TFTP server mod-num The switch number Example: P330-N# copy module-config tftp c:\config\switch1.cfg 192.168.49.10 5 Beginning upload operation ...
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: P330-N# copy running-config scp c:\config\switch1.cfg 192.168.49.10 5 Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(super)# copy running-config tftp c:\P330ML\startup.cfg 149.49.100.41 Example: (for Unix): Router-N(super)# copy running-config tftp /folder/P330-ML/ startup.cfg 149.49.100.41 copy scp module-config User level: privileged, supervisor. Use the copy scp module-config command to download a module configuration to the device via SCP.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands copy scp startup-config User level: privileged, supervisor. Use the copy scp startup-config command to download a startup configuration to the device via SCP. L Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the NVRAM to the factory default settings before downloading configuration files to the switch.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: P330-N# copy startup-config scp c:\config\switch1.cfg 192.168.49.10 5 Beginning upload operation ... This operation may take a few minutes... Please refrain from any other operation during this time.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands included in the configuration file. Therefore, it is important to reinitialize the NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command. The syntax for this command is: copy tftp startup-config filename file name (full path) ip The ip address of the host Example: Router-N> copy tftp startup-config c:\P330-ML\router1.cfg 192.168.49.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure)# erase startup-config event log Use the event log command to display a list of the event messages. L The event messages shown are encrypted and are reserved for Avaya use only. The syntax for this command is: event log [] num Number of event messages to display (max=30) Example: Router-N(configure)# event log The following message is for internal use only!!! Z,o(9?+.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure router:rip)# exit Router-N(configure)# fragment chain Use the fragment chain command to set the maximum number of fragments that can comprise a single IP packet destined to the router. Use the no form of this command to set the fragment chain to the default value (64). L The router does not perform reassembly of packets in transit.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N# fragment size 150 fragment timeout Use the fragment timeout command to set the maximum number of seconds to reassemble a fragmented IP packet destined to the router. Use the no form of this command to set the fragment timeout to the default value (10). L The router does not perform reassembly of packets in transit.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> help arp Arp commands: ------------------------------------------------------------------------Syntax : [no] arp - IP address - MAC address Examples: arp 137.22.33.44 00:11:22:33:44:55 no arp 137.22.33.55 arp timeout Set the ARP timeout hostname User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The syntax for this command is: icmp in-echo-limit size The rate of echo requests per second. Value range = 1 to 1000. Default = 50. Example: Router-N# icmp in-echo-limit 100 Done! interface User level: privileged, supervisor. Use the interface command to create and enter the Interface Configuration Mode. Use the no interface command to delete a specific IP interface.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands action> integer (100 - 149) permit|deny Example: Router-N(configure)# ip access-default-action 101 defaultaction-deny Done! ip access-group User level: privileged, supervisor. Use the ip access group command to activate a specific policy list.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands }[ [ |any |host }[ []][established] [precedence] access-list-number integer (100 - 149) access-list-index integer (1 - 9999) command permit | deny | deny-and-notify | fwd0-7 protocol ip | tcp | udp | integer (1 - 255) source-ip ip network source-wildcard ip network wildcard operator eq | lt | gt | range port integer (1 - 65535) destin
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N# ip access-list-cookie 101 12345 ip access-list-copy User level: privileged, supervisor. Use the ip access-list-copy command to copy a configured source policy list to a destination policy list.
Chapter 3 action Avaya P330-ML Layer 3 CLI Commands = permit | deny | deny-and-notify | fwd0 | fwd1 - fwd7 • permit: do nothing, let the packet pass: • deny: drop the packet • deny-and-notify: drop the packet and send an SNMP trap • fwd0, fwd1fwd7: Set the frame COS field to 0,7 Example: Router-N(configure)# ip access-list-dscp operation 101 0-63 permit Router-N(configure)# ip access-list-dscp operation 101 62 fwd5 ip access-list-dscp trust User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure)# ip access-list-dscp trust 100 trustdscp Done! ip access-list-name User level: privileged, supervisor. Use the ip access-list-name command to set a name for a policy list.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure)# ip access-list-owner 101 admin Done! ip bootp-dhcp relay User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter configure mode if necessary. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip default-gateway User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: To set the maximum number of ARP cache entries to 8000: Router-N(configure)# ip max-arp-entries 8000 To restore the maximum number of ARP cache entries to its default: Router-N(configure)# no ip max-arp-entries ip max-route-entries User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter configure mode.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands a dotted decimal. The syntax for this command is: [no] ip netmask-format The possible mask formats are: bitcount Addresses are followed by a slash and the total number of bits in the netmask. For example 17 decimal The network masks are in dotted decimal notation. For example, 255.255.255.0. hexadecimal The network masks are in hexadecimal format as indicated by the leading 0X. For example, 0XFFFFFF00.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure router:ospf)# ip ospf router-id 192.168.49.1 ip route User level: privileged, supervisor. L If you are at the ”privileged” level, 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.
Chapter 3 Avaya P330-ML Layer 3 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-N(configure)# ip routing Router-N(configure)# ip simulate User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure)# ip simulate 100 192.67.85.12 193.76.54.25 ping User level: user, privileged, supervisor Use the ping command to send ICMP echo request packets to another node on the network. L You can use this command via the master switch only. L The command is executed until you The syntax for this command is: ping [ [ [ [
Chapter 3 Avaya P330-ML Layer 3 CLI Commands User level: privileged, supervisor. Use the CLI prompt length command to set the length of the command prompt that is displayed. The syntax for this command is: prompt-length full return the CLI prompt to its full length prompt-size size of the CLI prompt in characters Example: Router-N> prompt-length 3 ~N> reset User level: user, privileged, supervisor Use the reset command to restart an individual switch.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The default is disabled. The syntax for this command is: [no] router ospf Example: Router-N(configure)# router ospf Done! Router-N(configure router:ospf)# router rip User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter interface mode.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: To enable the srrp: Router-N(configure)# router srrp Done! Router-N(configure router:srrp)# router vrrp User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter configure mode if necessary. Use the router vrrp command to enable VRRP router redundancy globally. Use the no router vrrp command to disable VRRP router redundancy.
Chapter 3 switch|router|atm|mgp|wan Avaya P330-ML Layer 3 CLI Commands (optional) The entity to which you want to open a session. If you do not specify this parameter, you will get the default entity of the specific module: switch - Layer 2 entity of the switch (see Note below). router - Routing entity. atm - ATM entity. mgp - Media Gateway Processor. wan - WAN access router entity. L When you use the session command the security level stays the same.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands set policy type User level: privileged, supervisor. L This command is available on the P334T-ML switch in device mode “Router” only. Use the set policy type command to set whether the P334T-ML module enforces the active policy-list on all packets or only on routed packets (for modules in 'device-mode router').
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N# set qos policy-source local Done! set system contact User level: user, privileged, supervisor Use the set system contact command to set the system contact MIB variable.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands set system name User level: privileged, supervisor. Use the set system name command to set the mib2 system name MIB variable. The syntax for this command is: set system name [string] string • The system name string should be typed inside inverted commas. • The name is cleared if you leave this field blank.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands set vlan User level: privileged, supervisor. L If you are at the ”privileged” level, you can only access this command in Configure mode. Type configure at the command prompt to enter Configure mode if necessary. Use the set vlan command to create a router Layer 2 interface.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show device-mode User level: user, privileged, supervisor L This command does not apply to the P333R-LB which is always in “Load Balancing” mode. Use the show device-mode command to show the current switch operating mode. Possible modes are Router or Switch.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands configuration operation. The syntax for this command is: show erase status show fragment User level: user, privileged, supervisor Use the show fragment command to display information regarding fragmented IP packets that are destined to the router. L The router does not perform reassambly of packets in transit.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip access-group User level: user, privileged, supervisor Use the show ip access-group command to see information about the configured active access list. L This command is available on P330-ML-ML switches only.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip access-list-dscp User level: user, privileged, supervisor Use the show ip access-list-dscp command to display the DSCP to CoS map of a policy-list.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip access-list-summary The policy lists summary: default List (0) show ip arp User level: user, privileged, supervisor Use the show ip arp command to display the Address Resolution Protocol (ARP) cache.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip icmp User level: user, privileged, supervisor Use the show icmp ip command to display the status of ICMP error messages. The syntax for this command is: show ip icmp Example: Router-N> show ip icmp ICMP error messages status is ENABLE show ip interface User level: user, privileged, supervisor Use the show ip interface command to display information for an IP interface.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip interface Showing 2 Interfaces mgmt is administratively up On vlan Default Internet address is 10.49.54.14 , subnet mask is 255.255.255.0 Broadcast address is 10.49.54.255 Directed broadcast forwarding is disabled Proxy ARP is disabled baba is administratively down On vlan v2 Internet address is 192.168.0.14 , subnet mask is 255.255.0.0 Broadcast address is 192.168.255.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip interface brief Showing 1 Interfaces Interface Address Mask Status -------------------- --------------- --------------- -------------------net 149.49.54.56 255.255.255.0 up show ip ospf User level: user, privileged, supervisor Use the show ip opsf command to displays general information about OSPF routing. The syntax for this command is: show ip ospf Example: Router-N> show ip ospf Routing Process OSPF with ID 149.49.75.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands network Displays information only about the network LSAa. Optional. network-summary Displays information only about the network LSAa summary. Optional external Displays information only about the external LSAa. Optional. show ip ospf interface User level: user, privileged, supervisor Use the show ip ospf interface command to display OSPF-related interface information.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip ospf neighbor There are no ospf neighbors L If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”. show ip protocols User level: user, privileged, supervisor Use the show ip protocols command to display the IP routing protocol process parameters and statistics. The syntax for this command is: show ip protocols [] protocol (Optional) RIP | OSPF.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip reverse-arp User level: user, privileged, supervisor Use the show ip reverse-arp command to display the IP address of a host, based on a known MAC address.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip route best-match User level: user, privileged, supervisor Use the show ip route best-match command to display a routing table for a destination address. The syntax for this command is: show ip route best-match dst addr IP address Example: Router-N> show ip route best-match 199.93.0.0 Searching for: 199.93.0.0 Showing 1 rows Network Mask Interface Next-Hop Cost TTL --------------- -----------------------------------------------199.93.0.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show ip route summary User level: user, privileged, supervisor Use the show ip route summary command to display the number of routes known to the switch. The syntax for this command is: show ip route summary Example: Router-N> sh ip route summary Route Source Networks ---------------- ---------------Local 0 Static 0 Total 0 Subnets ---------------1 1 2 show ip ssh User level: supervisor Use the show ip ssh command to display active SSH connections.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The syntax for this command is: show ip srrp Example: Router-N> sh ip srrp Admin status Oper State --------------------ENABLE INACTIVE Poll interval ------------1 Timeout ------12 Showing 1 rows Intf IP addr --------------149.49.54.58 Main router addr Status ---------------- -----0.0.0.0 show ip traffic User level: user, privileged, supervisor L This command does not apply to the P333R-LB.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip traffic IP statistics: Received: 1365359 total, 45659 local destination 0 bad hop count, 0 packet header errors 0 unknown protocol, 136786 address errors 1182914 discarded Fragments: 0 reassembled, 0 timeouts 0 couldn't reassemble, 0 fragmented Sent: 19442 generated, 0 forwarded 0 no route, 0 discarded ICMP statistics: Received: 881 total, 3 ICMP errors 0 unreachables, 0 time exceeded 0 parameter, 0 quench 861 echo, 17 echo reply 0 ti
Chapter 3 Avaya P330-ML Layer 3 CLI Commands OSPF statistics: Received: 25783 total, 0 checksum errors 0 hello, 0 database desc 0 link state req, 0 link state updates 0 link state acks Sent: 0 total ARP statistics: --type q to quit or space key to continue-Received: 2191321 requests, 778439 replies Sent: 443 requests, 340 replies (0 proxy) DHCP statistics: Requests: 0 , Replies: 0 BOOTP statistics: Requests: 0 , Replies: 0 show ip unicast cache User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip unicast cache Showing 6 Sessions. Source IP Destination IP =============== ============= 192.168.1.1 29.2.1.1 192.168.2.1 29.2.2.1 192.168.2.2 29.2.2.2 192.168.2.3 29.2.2.3 192.168.2.4 29.2.2.4 192.168.2.5 29.2.2.5 Next Hop IP NH MAC Vlan ================ ============= ==== 28.2.0.2 00.00.28.02.00.02 5 28.2.0.2 00.00.28.02.00.02 5 28.2.0.2 00.00.28.02.00.02 5 28.2.0.2 00.00.28.02.00.02 5 28.2.0.2 00.00.28.02.00.02 5 28.2.0.2 00.00.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip unicast cache networks Showing 7 rows (5 networks) Network Mask Next Hop(s) Total Hosts =============== ==== =============== =========== 10.0.0.0 16 10.2.0.2 996 71.0.0.0 16 0.0.0.0 1 130.0.0.0 8 192.168.0.130 1124 190.0.0.0 24 10.2.0.2 250 192.168.0.130 191.0.0.0 24 10.2.0.2 250 192.168.0.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show 192.168.6.0 24 Showing 3 rows NetworkMask ============ 192.168.6.0 ip unicast cache networks detailed IP Address =================== 24 192.168.6.40 192.168.6.53 192.168.6.64 show ip unicast cache nextHop User level: privileged, supervisor. Use the show ip unicast cache nextHop command to list the routers that are used as next-hop routers.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip unicast cache summary Cache Summary =============== Sessions : 11056 Hosts : 2621 Networks : 5 Next-Hops : 4 show ip vrrp User level: user, privileged, supervisor Use the show vrrp command to display VRRP information. The syntax for this command is: show ip vrrp [ [router-id ]][detail] vlan Filter by VLAN. router-id Filter by virtual router ID (1-255) vr-id The virtual router ID.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N> show ip vrrp detail VRRP is globally enabled Virtual Router on VLAN: Router-id: State: Priority: Advertisement Interval: Last State Change: Override Address Ownership Rule: No Authentication Type: Authentication Key: Master IP Address Has 1 IP addresses IP addresses: 192.168.66.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Use the show policy type command to show whether the module enforces the active policy-list on all packets or only on routed packets (for modules in 'devicemode router').
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show startup-config User level: user, privileged, supervisor Use the show startup-config command to show configuration loaded at startup. The syntax for this command is: show startup-config Example: Router-N> show startup-config ! Avaya Inc. P333R Switch - Router configuration ! version 4.0.5 hostname "R1-Backup" interface "net" ip vlan name "Default" ip address 149.49.54.56 255.255.255.0 ip default-gateway 149.49.54.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands show upload status User level: user, privileged, supervisor Use the show upload status commands to display the status of the current configuration file copy process from the device. The syntax for this command is: show upload status [] mod_num (Optional) Number of the module. If you do not specify a number, upload statuses for all modules in the stack are shown.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The syntax for this command is: terminal {width|length} [] Example: Router-N> terminal width 80 terminal width: 80 traceroute User level: user, privileged, supervisor Use the traceroute command to initiate a traceroute to a remote host. The syntax for this command is: traceroute host IP address. Example: Router-N> traceroute 192.168.50.13 validate-group User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands L The validation process may take some time to complete.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Interface Context L You can only access these commands in the “interface” context. Type interface [name] at the command prompt to enter the “interface” context if necessary. default-metric User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip address User level: privileged, supervisor. 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 The IP address assigned to the interface. mask Mask for the associated IP subnet admin-state The administration status – either Up or Down Example: To assign the IP address 192.168.22.33 with mask 255.255.255.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip bootp-dhcp network User level: privileged, supervisor. Use the ip bootp-dhcp network command to configure the network from which the BOOTP/DHCP server shall allocate an address. Use the no ip bootp-dhcp network command to remove a network. L Multiple networks can be configured and relayed per VLAN, by repeating the ip bootp-dhcp network commnd. If more than one network is configured, then the address allocation is based on a round-robin algorithm.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: To add station 192.168.37.46 as a bootp/dhcp server to handle bootp/dhcp requests arriving at the interface “marketing”: Router-N(configure-if:marketing) # ip bootp-dhcp server 192.168.37.46 Done! ip broadcast-address User level: privileged, supervisor. Use the ip broadcast command to update the interface broadcast address. The Broadcast address must be filled in with 0s (zeros) or 1s (ones).
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip netbios-rebroadcast User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip ospf cost User level: privileged, supervisor. 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. The syntax for this command is: [no] ip ospf cost cost integer Example: Router-N(configure-if:marketing) # ip ospf cost 10 Done! ip ospf dead-interval User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The syntax for this command is: [no] ip ospf hello-interval seconds integer Example: Router-N(configure-if:marketing) # ip ospf hello-interval 5 Done! ip ospf priority User level: privileged, supervisor. Use the ip ospf priority command to configure interface priority used in DR election. Use the no ip ospf priority to set the OSPF priority to its default value. The default is 1.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip redirects User level: privileged, supervisor. Use the ip redirects 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-N(config-if:marketing)#ip redirects ip rip authentication key User level: privileged, supervisor.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip rip authentication mode User level: privileged, supervisor. 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] simple|none The authentication type used in RIP Version 2 packets: • simple - clear text authentication. • none - no authentication.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure-if:marketing) # ip rip default-routemode talk listen Done! ip rip poison-reverse User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands The possible versions of the RIP packets received and sent on an interface are: 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”: Router-N(configure-if:marketing) # ip rip rip-version 2 Done! ip rip send-receive-mode User level: privileged, supervisor. Use the ip rip send-receive command to set the RIP Send and Receive mode on an interface.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip rip split-horizon User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip srrp backup User level: privileged, supervisor. Use the ip srrp backup command to backup an additional interface of the main router using the SRRP application. If the main router fails, the switch takes over its activities on all configured interfaces. The syntax for this command is: ip srrp backup main router addr IP address of the main router interface Example: Router-N(config-if:marketing)#ip srrp backup 192.168.50.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip vrrp User level: privileged, supervisor. 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 Virtual Router ID (1-255) Example: Router-N(configure-if:marketing) # ip vrrp 1 Done! ip vrrp address User level: privileged, supervisor. Use the ip vrrp address command to assign an IP address to the virtual router.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip vrrp auth-key User level: privileged, supervisor. 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. The syntax for this command is: [no] ip vrrp auth-key vr-id Virtual Router ID (1-255) key-string Simple password string.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip vrrp preempt User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands ip vrrp priority User level: privileged, supervisor. 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 priority vr-id Virtual Router ID (1-255) pri-value The priority value. The range is 1-254.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Router RIP Context L You can only access these commands in the “Router-RIP” context. Type router rip at the command prompt to enter the “Router-RIP” context if necessary. network User level: privileged, supervisor. Use the network command to specify a list of networks on which the RIP is running. Use the no network command to remove an entry.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure router:rip)# redistribute ospf Done! timers basic User level: privileged, supervisor. Use the timers basic command to configure the route timer. Use the no timers basic command to restore the timers to their default values.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Router OSPF Context L You can only access these command in the “Router-OSPF” context. Type router ospf at the command prompt to enter the “Router -OSPF” context if necessary. area User level: privileged, supervisor. 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.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands area id Area ID. This parameter exists for compatibility with P550. Example: Router-N(configure router:ospf)# network 192.168.0.0 Router-N(configure router:ospf)# area 192.168.0.0 0.0.255.255 area 0.0.0.0 passive-interface User level: privileged, supervisor. Use the passive interface command to allow interfaces to be flooded into the OSPF domain as OSPF routes and not external routes.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Example: Router-N(configure router:ospf)# redistribute static timers spf User level: privileged, supervisor. Use the timers spf command to configure the delay between runs of OSPF’s SPF calculation. Use the no form of this command to restore the default (3 seconds). The syntax for this command is: [no] timers spf spf-holdtime The time in seconds of the delay between runs of OSPF’s SPF calculation.
Chapter 3 Avaya P330-ML Layer 3 CLI Commands Router SRRP Context L You can only access these commands in the “Router-SRRP” context. Type router srrp at the command prompt to enter the “Router -SRRP” context if necessary. poll-interval User level: user, privileged, supervisor Use the poll-interval command to configure the polling interval in seconds used by SRRP. Use the no poll-interval command to return to the default polling interval of 1 second.
Index of Layer 2 CLI Commands C clear cam 9 clear dynamic vlans 10 clear event-log 10 clear interface 11, 214 clear ip route 11, 214 clear logging file 10 clear logging server 11 clear port mirror 11 clear port static-vlan 12 clear power history 12 clear radius authentication server 12 clear rmon statistics 12 clear screen 13, 134 clear snmp trap 14 clear timezone 14 clear utilization cpu 14 clear vlan 15 configure 16, 216 copy 15, 17, 23, 25, 216, 217, 220 copy module-config scp 15 copy module-config tftp
Index of Layer 2 CLI Commands rmon alarm 55 rmon event 56 rmon history 56 S session 57, 242 set allowed managers 58 set allowed managers ip 58 set arp-aging-interval 59 set arp-tx-interval 59 set autopartition 60 set boot bank 199 set cascading 61 set device-mode 61 set inband vlan 65 set intelligent-multicast 65 set intelligent-multicast client port pruning time 65 set intelligent-multicast group filtering delay time 66 set intelligent-multicast router port pruning time 66 set interface inband 67 set inte
Index of Layer 2 CLI Commands set terminal recovery password disable 121 set terminal recovery password enable 121 set time client 122 set time protocol 122 set time server 123 set timezone 123 set trunk 124 set utilization cpu 124 set vlan 125 set web aux-files-url 125 show timezone 194 show allowed managers status 127 show arp-aging-interval 127, 128 show arp-tx-interval 128 show autopartition 129 show boot bank 199 show cam 130 show cam mac 131, 132 show cam vlan 131 show cascading fault-monitoring 132
Index of Layer 2 CLI Commands snmp-server enable notifications 200 snmp-server engineID 200 snmp-server group 201 snmp-server host 202 snmp-server informs 203 snmp-server remote-user 204 snmp-server user 205 snmp-server view 206 sync time 207 T tech 207 telnet 207 terminal 9 U username 208 300 Avaya P330-ML Reference Guide
Index of Layer 3 CLI Commands area 309 arp 212 arp timeout 212 clear arp-cache 213 clear fragment 214 clear ip route 214 clear ip traffic 215 clear screen 215 clear vlan 215 configure 216 copy module-config scp 216 copy module-config tftp 217 copy running-config scp 218 copy running-config startup-config 219 copy running-config tftp 219 copy scp module-config 220 copy scp startup-config 221 copy startup-config scp 221 copy startup-config tftp 222 copy tftp startup-config 223 default-metric 290 enable vlan c
Index of Layer 3 CLI Commands ip simulate 240 ip srrp backup 302 ip unicast cache aging 241 ip unicast cache aging timeout 241 ip unicast cache high-limit 242 ip unicast cache update-timeout 242 ip vlan/ip vlan name 302 ip vrrp 303 ip vrrp address 303 ip vrrp auth-key 304 ip vrrp override addr owner 304 ip vrrp preempt 305 ip vrrp primary 305 ip vrrp priority 306 ip vrrp timer 306 network 307 network 309 passive-interface 310 ping 243 poll-interval 312 prompt-length 244 redistribute 307 redistribute 310 re
Index of Layer 3 CLI Commands show rmon2 matrix 282 show rmon2 matrix-top-n 284 show rmon2 protocol-dist 280 show rmon2 protocol-dist-top-n 285 show rmon2 state 280 show rmon2 subnets 282 show rmon2 subnet-top-n 285 show startup-config 286 show system 286 Avaya P330-ML Reference Guide show upload status 287 show vlan 287 terminal 287 timeout 312 timers basic 308 timers spf 311 traceroute 288 validate-group 288 303
Index of Layer 3 CLI Commands 304 Avaya P330-ML Reference Guide