Reference Guide for the Avaya C360 Converged

Reference Guide for the Avaya C360 Converged

Reference Guide for the Avaya

C360 Converged Stackable Switch

Software Version 4.5

10-300506

Issue 1

June 2005

Copyright 2005, Avaya Inc.

All Rights Reserved

Notice

Every effort was made to ensure that the information in this document was complete and accurate at the time of printing. However, information is subject to change.

Warranty

Avaya Inc. provides a limited warranty on this product. Refer to your sales agreement to establish the terms of the limited warranty. In addition, Avaya’s standard warranty language as well as information regarding support for this product, while under warranty, is available through the following Web site: http://support.avaya.com

.

Disclaimer

Avaya is not responsible for any modifications, additions or deletions to the original published version of this documentation unless such modifications, additions or deletions were performed by Avaya. Customer and/or End User agree to indemnify and hold harmless Avaya, Avaya's agents, servants and employees against all claims, lawsuits, demands and judgments arising out of, or in connection with, subsequent modifications, additions or deletions to this documentation to the extent made by the Customer or End User.

How to Get Help

For additional support telephone numbers, go to the Avaya support Web site: http://support.avaya.com

. If you are:

Within the United States, click the Escalation Management link. Then click the appropriate link for the type of support you need.

Outside the United States, click the Escalation Management link. Then click the International Services link that includes telephone numbers for the international Centers of

Excellence.

Standards Compliance

Avaya Inc. is not responsible for any radio or television interference caused by unauthorized modifications of this equipment or the substitution or attachment of connecting cables and equipment other than those specified by Avaya Inc. The correction of interference caused by such unauthorized modifications, substitution or attachment will be the responsibility of the user. Pursuant to Part 15 of the Federal

Communications Commission (FCC) Rules, the user is cautioned that changes or modifications not expressly approved by Avaya Inc. could void the user’s authority to operate this equipment.

Product Safety Standards

This product complies with and conforms to the following international

Product Safety standards as applicable:

Safety of Information Technology Equipment, IEC 60950, 3rd Edition, or

IEC 60950-1, 1st Edition, including all relevant national deviations as listed in Compliance with IEC for Electrical Equipment (IECEE) CB-96A.

Safety of Information Technology Equipment, CAN/CSA-C22.2

No. 60950-00 / UL 60950, 3rd Edition, or CAN/CSA-C22.2 No.

60950-1-03 / UL 60950-1.

One or more of the following Mexican national standards, as applicable:

NOM 001 SCFI 1993, NOM SCFI 016 1993, NOM 019 SCFI 1998.

The equipment described in this document may contain Class 1 LASER

Device(s). These devices comply with the following standards:

EN 60825-1, Edition 1.1, 1998-01

21 CFR 1040.10 and CFR 1040.11.

The LASER devices used in Avaya equipment typically operate within the following parameters:

Typical Center Wavelength Maximum Output Power

830 nm - 860 nm -1.5 dBm

1270 nm - 1360 nm

1540 nm - 1570 nm

-3.0 dBm

5.0 dBm

Luokan 1 Laserlaite

Klass 1 Laser Apparat

Use of controls or adjustments or performance of procedures other than those specified herein may result in hazardous radiation exposures.

Contact your Avaya representative for more laser product information.

Electromagnetic Compatibility (EMC) Standards

This product complies with and conforms to the following international

EMC standards and all relevant national deviations:

Limits and Methods of Measurement of Radio Interference of Information

Technology Equipment, CISPR 22:1997 and EN55022:1998.

Information Technology Equipment – Immunity Characteristics – Limits and Methods of Measurement, CISPR 24:1997 and EN55024:1998, including:

Electrostatic Discharge (ESD) IEC 61000-4-2

Radiated Immunity IEC 61000-4-3

Electrical Fast Transient IEC 61000-4-4

Lightning Effects IEC 61000-4-5

Conducted Immunity IEC 61000-4-6

Mains Frequency Magnetic Field IEC 61000-4-8

Voltage Dips and Variations IEC 61000-4-11

Power Line Emissions, IEC 61000-3-2: Electromagnetic compatibility

(EMC) – Part 3-2: Limits – Limits for harmonic current emissions.

Power Line Emissions, IEC 61000-3-3: Electromagnetic compatibility

(EMC) – Part 3-3: Limits – Limitation of voltage changes, voltage fluctuations and flicker in public low-voltage supply systems.

Federal Communications Commission Statement

Part 15:

Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC

Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.

Canadian Department of Communications (DOC) Interference

Information

This Class A digital apparatus complies with Canadian ICES-003.

Cet appareil numérique de la classe A est conforme à la norme

NMB-003 du Canada.

European Union Declarations of Conformity

Avaya Inc. declares that the equipment specified in this document bearing the “CE” (Conformité Europeénne) mark conforms to the

European Union Electromagnetic Compatibility Directive (89/336/EEC) and Low Voltage Directive (73/23/EEC).

Copies of these Declarations of Conformity (DoCs) can be obtained by contacting your local sales representative and are available on the following Web site: http://support.avaya.com

.

Japan

This is a Class A product based on the standard of the Voluntary Control

Council for Interference by Information Technology Equipment (VCCI). If this equipment is used in a domestic environment, radio disturbance may occur, in which case, the user may be required to take corrective actions.

To order copies of this and other documents:

Call: Avaya Publications Center

Voice 1.800.457.1235 or 1.207.866.6701

FAX 1.800.457.1764 or 1.207.626.7269

Write: Globalware Solutions

200 Ward Hill Avenue

Haverhill, MA 01835 USA

Attention: Avaya Account Management

E-mail: [email protected]

For the most current versions of documentation, go to the Avaya support

Web site: http://support.avaya.com

.

Contents

Chapter 1: Using the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . 17

CLI Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Conventions Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

CLI Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Command Line Prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Navigation, Cursor Movement and Shortcuts . . . . . . . . . . . . . . . . . . . . 19

Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Command Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Universal Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Top and Up commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Retstatus command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Tree command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

C360 Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Security Levels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Entering the Supervisor Level . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Defining new users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Exiting the Supervisor Level . . . . . . . . . . . . . . . . . . . . . . . . . 22

Entering the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Entering the Technician Level . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Avaya Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Chapter 2: Avaya C360 Layer 2 CLI Commands. . . . . . . . . . . . . . 25 clear cam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 clear dot1x config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

clear dynamic vlans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 clear ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

clear log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 clear logging file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 clear logging server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

clear port mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 clear port static-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

clear radius authentication server . . . . . . . . . . . . . . . . . . . . . . . . 29 clear rmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

clear screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 clear secure mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 clear snmp trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

clear ssh-client known-hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Issue 1 June 2005 3

Contents

clear timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

clear utilization cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 clear vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 copy module-config scp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

copy module-config tftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

copy scp module-config. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

copy scp stack-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

copy stack-config scp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 copy stack-config tftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

copy tftp EW_Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

copy tftp module-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 copy tftp stack-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

copy tftp SW_image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

copy tftp SW_powerinline_image. . . . . . . . . . . . . . . . . . . . . . . . . 43

crypto key generate DSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

disconnect ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

get time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 ip http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

ip icmp redirect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

ip snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 ip telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 ip telnet-client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

no hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no ip http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no ip icmp redirect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no ip telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no ip telnet-client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 no rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

no rmon event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 no rmon history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 no username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 nvram initialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

prompt-length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

4 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

reset mgp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 reset module-and-powerinline . . . . . . . . . . . . . . . . . . . . . . . . . . 55

reset stack-and-powerinline . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 reset wan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

retstatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

rmon event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

rmon history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

set allowed managers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 set allowed managers ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

set arp-aging-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 set arp-tx-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

set autopartition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 set boot bank. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

set cascading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 set device-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

set dot1x max-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 set dot1x quiet-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

set dot1x re-authperiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 set dot1x server-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

set dot1x supp-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 set dot1x system-auth-control disable . . . . . . . . . . . . . . . . . . . . . . 67 set dot1x system-auth-control enable . . . . . . . . . . . . . . . . . . . . . . 67

set dot1x tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 set inband vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

set intelligent-multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 set intelligent-multicast client-port-pruning time . . . . . . . . . . . . . . . . 69

set intelligent-multicast group-filtering-delay time . . . . . . . . . . . . . . . 70 set intelligent-multicast router-port-pruning time . . . . . . . . . . . . . . . . 70

set interface inband . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 set interface ppp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

set interface ppp enable/enable-always/disable/off/reset . . . . . . . . . . . . 72

set intermodule port redundancy . . . . . . . . . . . . . . . . . . . . . . . . . 73

set intermodule port redundancy off . . . . . . . . . . . . . . . . . . . . . . . 74 set internal buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

set ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 set leaky-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

set license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

set lldp re-init-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 set lldp system-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

Issue 1 June 2005 5

Contents

set lldp tx-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 set lldp tx-hold-multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

set lldp tx-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

set logging file condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

set logging file disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

set logging file enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 set logging server access level . . . . . . . . . . . . . . . . . . . . . . . . . . 82

set logging server condition . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

set logging server disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 set logging server enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

set logging server facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

set logging session condition . . . . . . . . . . . . . . . . . . . . . . . . . . 86

set logging session disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

set logging session enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 set logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

set mac-aging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 set mac-aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

set port auto-negotiation-flowcontrol-advertisement . . . . . . . . . . . . . . 90 set port channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

set port classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

set port disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 set port dot1x initialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

set port dot1x max-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 set port dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

set port dot1x quiet-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 set port dot1x re-authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . 94

set port dot1x re-authentication . . . . . . . . . . . . . . . . . . . . . . . . . 95 set port dot1x re-authperiod . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

set port dot1x server-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 set port dot1x supp-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

set port dot1x tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 set port duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

set port edge admin state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

set port enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 set port flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

set port level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

set port lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 set port lldp tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

set port mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

set port name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 set port negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

6 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

set port point-to-point admin status . . . . . . . . . . . . . . . . . . . . . . . 105

set port powerinline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 set port powerinline priority . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

set port powerinline type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 set port redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

set port redundancy on/off . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 set port redundancy-intervals . . . . . . . . . . . . . . . . . . . . . . . . . . 108

set port security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

set port spantree cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 set port spantree disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

set port spantree enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 set port spantree force-protocol-migration . . . . . . . . . . . . . . . . . . . 111

set port spantree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 set port speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

set port static-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

set port trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 set port vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114

set port vlan-binding-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

set powerinline trap disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 set powerinline trap enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116

set ppp authentication incoming . . . . . . . . . . . . . . . . . . . . . . . . . 117 set ppp baud-rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

set ppp chap-secret . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 set ppp incoming timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

set psu type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 set queuing scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119

set radius authentication enable/disable. . . . . . . . . . . . . . . . . . . . . 120

set radius authentication retry-number . . . . . . . . . . . . . . . . . . . . . 121 set radius authentication retry-time . . . . . . . . . . . . . . . . . . . . . . . 121

set radius authentication secret . . . . . . . . . . . . . . . . . . . . . . . . . 122 set radius authentication server . . . . . . . . . . . . . . . . . . . . . . . . . 122

set radius authentication udp-port . . . . . . . . . . . . . . . . . . . . . . . . 123 set secure mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123

set security mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 set security violation action. . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 set snmp community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

set snmp retries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 set snmp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125

set snmp trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

set snmp trap auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 set spantree default-path-cost . . . . . . . . . . . . . . . . . . . . . . . . . . 127

Issue 1 June 2005 7

Contents

set spantree disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 set spantree enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

set spantree forward-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 set spantree hello-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129

set spantree max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 set spantree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130

set spantree tx-hold-count . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 set spantree version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131

set system contact. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 set system location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

set system name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

set terminal recovery password disable . . . . . . . . . . . . . . . . . . . . . 134 set terminal recovery password . . . . . . . . . . . . . . . . . . . . . . . . . 134

set time client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 set time protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135

set time server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 set timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136

set trunk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 set utilization cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137

set vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 set web aux-files-url . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

set welcome message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 show allowed managers status . . . . . . . . . . . . . . . . . . . . . . . . . . 139

show allowed managers table . . . . . . . . . . . . . . . . . . . . . . . . . . 140 show arp-aging-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

show arp-tx-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 show autopartition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

show boot bank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 show cam. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142

show cam mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

show cam vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 show cascading fault-monitoring. . . . . . . . . . . . . . . . . . . . . . . . . 144

show dev log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 show device-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 show dot1x statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

show download status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 show image version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

show intelligent-multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 show intelligent-multicast hardware-support . . . . . . . . . . . . . . . . . . 148

show interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

8 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

show intermodule port redundancy . . . . . . . . . . . . . . . . . . . . . . . 149

show internal buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 show ip route. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

show ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151

show l2-module-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

show l2-stack-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153

show leaky-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

show license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 show lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

show lldp config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157

show log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 show logging file condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158

show logging file content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159

show logging server condition . . . . . . . . . . . . . . . . . . . . . . . . . . 161

show logging session condition . . . . . . . . . . . . . . . . . . . . . . . . . 162 show logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162

show mac-aging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 show mac-aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 show module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163

show module-identity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164

show port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

show port auto-negotiation-flowcontrol-advertisement. . . . . . . . . . . . . 166 show port channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166

show port classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167

show port dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168

show port dot1x statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 show port edge state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171

show port flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172

show port lldp config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

show port lldp vlan-name config . . . . . . . . . . . . . . . . . . . . . . . . . 174

show port mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 show port point-to-point status . . . . . . . . . . . . . . . . . . . . . . . . . . 175

show port redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 show port security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176

show port trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 show port vlan-binding-mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 177

show powerinline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179

show ppp authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 show ppp baud-rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

show ppp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 show ppp incoming timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . 181

Issue 1 June 2005 9

Contents

show ppp session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 show protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182

show queuing scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 show radius authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

show rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 show rmon event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184

show rmon history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

show rmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186

show secure current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 show secure mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 show security mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187

show serial-number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 show snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188

show snmp engineID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 show snmp group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190

show snmp retries

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191

show snmp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192

show snmp userToGroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193

show snmp view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194

show spantree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196

show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

show tftp download software status . . . . . . . . . . . . . . . . . . . . . . . 199 show time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199

show time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 show timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

show timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 show trunk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201

show upload status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203

show username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 show utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204

show vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

show web aux-files-url . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 snmp-server engineID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206

snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207

snmp-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

snmp-server informs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 snmp-server remote-user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210

snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211

snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212

stack health . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

sync time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

10 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

tech . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

terminal length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 terminal width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

Chapter 3: Avaya C360 Layer 3 CLI Commands. . . . . . . . . . . . . . 219 area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219

arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 arp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220

clear arp-cache. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

clear fragment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 clear ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 clear ip traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222

clear screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 clear vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223

configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 copy running-config scp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224

copy running-config startup-config . . . . . . . . . . . . . . . . . . . . . . . 225 copy running-config tftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

copy scp startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 copy startup-config scp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226

copy startup-config tftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227

copy tftp startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 default-metric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228

disconnect ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 enable vlan commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

erase startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 event log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230

exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 fragment chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

fragment size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 fragment timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232

help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233

icmp in-echo-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 ip access-default-action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236

Issue 1 June 2005 11

Contents

ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236

ip access-list-cookie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237

ip access-list-copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 ip access-list-dscp name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238

ip access-list-dscp operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 239

ip access-list-dscp trust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240

ip access-list-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 ip access-list-owner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241

ip address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 ip admin-state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242

ip bootp-dhcp network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

ip bootp-dhcp relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 ip bootp-dhcp server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244

ip broadcast-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

ip default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 ip directed-broadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

ip icmp-errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 ip max-arp-entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247

ip max-route-entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248

ip netbios-rebroadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 ip netmask-format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249

ip ospf authentication-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

ip ospf cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 ip ospf dead-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251

ip ospf hello-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 ip ospf priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252

ip ospf router-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 ip proxy-arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

ip redirects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 ip rip authentication key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254

ip rip authentication mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 ip rip default-route-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255

ip rip poison-reverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256

ip rip rip-version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 ip rip send-receive-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257

ip rip split-horizon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258

ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 ip routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259

ip routing-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 ip simulate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260

ip vlan/ip vlan name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261

12 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

ip vrrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262

ip vrrp address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 ip vrrp auth-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263

ip vrrp override addr owner . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 ip vrrp preempt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264

ip vrrp primary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265

ip vrrp priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266

ip vrrp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 network (OSPF context) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267

network (RIP context) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268

no arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no arp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no fragment chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no fragment size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no fragment timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no icmp in-echo-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 no interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269

no ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip bootp-dhcp relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip icmp-errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip max-arp-entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip max-route-entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 no ip netmask-format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270

no ip ospf router-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 no ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 no ip routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 no router ospf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 no router rip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 no router vrrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 passive-interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271

ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272

prompt-length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273 redistribute (OSPF context) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273

redistribute (RIP context) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274

router ospf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 router rip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275

router vrrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276

Issue 1 June 2005 13

Contents

session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276

set device-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277

set logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 set system contact. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278

set system location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 set system name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279

set vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280

show copy status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 show device-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 show download status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

show erase status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 show fragment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282

show ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283

show ip access-list-dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 show ip access-list-summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 284

show ip arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285

show ip icmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286 show ip interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286

show ip interface brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

show ip ospf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 show ip ospf database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288

show ip ospf interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 show ip ospf neighbor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289

show ip protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290

show ip reverse-arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 show ip route. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291

show ip route best-match . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 show ip route static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292

show ip route summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 show ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293

show ip traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294

show ip unicast cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296

show ip unicast cache networks . . . . . . . . . . . . . . . . . . . . . . . . . 297

show ip unicast cache networks detailed . . . . . . . . . . . . . . . . . . . . 298

show ip unicast cache nextHop . . . . . . . . . . . . . . . . . . . . . . . . . 299 show ip unicast cache summary . . . . . . . . . . . . . . . . . . . . . . . . . 299 show ip vrrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299

show ip vrrp detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300

show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302

show startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303

14 C360 Converged Stackable Switch Reference Guide, Software V4.5

Contents

show upload status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 show vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

tech . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 terminal length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 terminal width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305

timers basic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306

timers spf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 traceroute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

validate-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308

Chapter 4: Avaya C360 Layer 3 CLI Commands. . . . . . . . . . . . . . 311 interface context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311

ospf context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 rip context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312

Issue 1 June 2005 15

Contents

16 C360 Converged Stackable Switch Reference Guide, Software V4.5

Chapter 1: Using the CLI

This chapter describes the C360 CLI architecture and conventions, and provides instructions for accessing the C360 for configuration purposes.

The configuration procedure involves establishing a Telnet session or a serial connection and then using the C360’s internal CLI.

The CLI is command-line driven and does not have any menus. To activate a configuration option, you must type the desired command at the prompt and press Enter.

You can also configure your Avaya C360 using the C360 Device Manager with its graphical user interface. For details, see the Installation and Configuration Guide for the Avaya C360,

10-300503 and the Avaya C360 Device Manager User’s Guide on the Avaya C360

Documentation and Utilities CD.

CLI Architecture

The C360 supports both Layer 2 switching and Layer 3 routing (Layer 3 functionality depends on the module type).

The C360 CLI includes two CLI entities to support this functionality.

The Switch CLI entity is used to manage Layer 2 switching of the entire stack. The Switch

CLI entity is identical to the CLI of a C360 Layer 2 modules.

CLI commands for managing Layer 2 switching are described in

Chapter 2: Avaya C360

Layer 2 CLI Commands .

The Router CLI entity is used to manage Layer 3 routing of a single module. The Router

CLI entity exists only in the C360-ML. CLI commands for managing Layer 3 routing are

described in Chapter 3: Avaya C360 Layer 3 CLI Commands .

If the Layer 3 module is the Stack Master, then the Switch CLI entity and the Router CLI entity co-exist on the same module.

To switch between the entities, use the session command.

Configuration of the password commands and community commands in one entity is automatically attributed to the other entity in the stack.

Initial access to the stack can be established via a serial connection or a Telnet connection to any one of the entities.

Issue 1 June 2005 17

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, e.g., “new york”.

Information displayed on screen is displayed in text font.

CLI Help

The CLI has its own Help utility. Use the following key sequences to operate the CLI Help:

To display all commands available in a context type a question mark.

Example: Router> show ?

To display all commands starting with a certain string, type the first few letters followed by a question mark.

To get help containing all commands parameters with their legal values as well as its syntax and an example, type a question mark at the end of command or at the stage where it is unique.

Use the Tab key to complete an unambiguous command.

Command Line Prompt

Host name of the CLI entity - the host name is used as the prefix of the command prompt.

Module Number - counting from the bottom up used as part of the prefix. In this document the Module number in the prompt is generic and is represented by “N”.

Security level - used as the suffix of the prompt (Refer to Security Levels on page 21.)

18 C360 Converged Stackable Switch Reference Guide, Software V4.5

Navigation, Cursor Movement and Shortcuts

Application context - used as body of the prompt, this part is not mandatory.

Example:

Host name of the router is NewYork

Router is module number three

Application context is OSPF

The command line prompt looks as follows:

NewYork-3(configure router:ospf)#

Navigation, Cursor Movement and Shortcuts

The CLI contains a simple text editor with these functions:

Table 1: Navigation, Cursor Movement and Shortcuts

Keyboard

Backspace

Up arrow/Down arrow

Left arrow/Right arrow

Tab

Enter

“ ”

Functions

Deletes the previous character

Scrolls back and forward through the command history buffer

Moves the cursor left or right

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.

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.

Issue 1 June 2005 19

Using the CLI

Command Abbreviations

All commands and parameters in the CLI can be truncated to an abbreviation of any length, as long as the abbreviation is not ambiguous. For example, version can be abbreviated ver.

For ambiguous commands, type the beginning letters on the command line and then use the

Tab key to toggle through all the possible commands beginning with these letters.

Universal Commands

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

Top and Up commands

The Up command moves you up to the next highest level in the CLI command hierarchy. The

Top

command moves you to the highest level.

Retstatus command

Use the retstatus command to show whether the last CLI command you performed was successful. It displays the return status of the previous command.

The syntax for this command is: retstatus

Output Example:

C360 # set port negotiation 2/4 disable

Link negotiation protocol disabled on port 2/4.

Router(enable)# retstatus

Succeeded

Tree command

The tree command displays the commands that are available at your current location in the

CLI hierarchy.

The syntax for this command is: tree

20 C360 Converged Stackable Switch Reference Guide, Software V4.5

C360 Sessions

C360 Sessions

Tip:

Tip:

You can use sessions to switch between the CLI of C360 modules or other stack entities or to switch between Layer 2 and Layer 3 commands.

To switch between C360 modules use the command: session [<mod_num>] <mode>

.

The <mod_num> is the number of the module in the stack, counting from the bottom up.

The <mode> can be either switch, router, wan, atm, or mgp.

Use switch mode to configure layer 2 commands.

Use router mode to configure routing commands.

Examples:

To configure router parameters in the module that you are currently logged into, type the following command:

session router

.

To configure the switch parameters, on module 6, type the command:

session 6 switch

.

Tip:

When you use the session command the security level stays the same.

Tip:

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.

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 ten local users.

Issue 1 June 2005 21

Using the CLI

A login name and password are always required to access the CLI and the commands. The login names and passwords, and security levels are established using the username command.

Switching between the entities, does not effect the security level since security levels are established specifically for each user. For example, if the operator with a privileged security level in the Switch entity switches to the Router entity the privileged security level is retained.

Entering the Supervisor Level

The Supervisor level is the level in which you first enter the CLI and establish user names for up to 10 local users. When you enter the Supervisor level, you are asked for a Login name. Type root as the Login name and the default password root (in lowercase letters):

Welcome to C360

Login: root

Password:****

Password accepted.

C360-N(super)#

Defining new users

Define new users and access levels using the username command in Supervisor Level.

Exiting the Supervisor Level

To exit the Supervisor level, type the command exit.

Entering the CLI

To enter the CLI, enter your username and password. Your access level is indicated in the prompt as follows:

The User level prompt is shown below:

C360-N>

The Privileged level prompt is shown below:

C360-N#

The Configure level prompt for Layer 3 configuration is shown below:

C360-N(configure)#

22 C360 Converged Stackable Switch Reference Guide, Software V4.5

Warranty

The Supervisor level prompt is shown below:

C360-N(super)#

Entering the Technician Level

This level is can only be accessed from the Privileged and Supervisor levels not from the User level.

This feature is not documented and is for use by Avaya Technical Support only.

Warranty

Avaya Inc. provides a limited warranty on this product. Refer to your sales agreement or other applicable documentation to establish the terms of the limited warranty. In addition, Avaya’s standard warranty language as well as information regarding support for this product, while under warranty, is available through the following website: http://support.avaya.com

Notice

Every effort was made to ensure that the information in this document was complete and accurate at the time of printing. However, information is subject to change.

Avaya Support

Avaya provides a telephone number for you to use to report problems or to ask questions about your contact center. The support telephone number is 1-800-242-2121 in the United States. For additional support telephone numbers, see the Avaya Web site: http://support.avaya.com

Issue 1 June 2005 23

Using the CLI

24 C360 Converged Stackable Switch Reference Guide, Software V4.5

Chapter 2: Avaya C360 Layer 2 CLI Commands

This chapter describes all the C360 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:

C360-N# clear cam

CAM table cleared.

clear dot1x config

User level: supervisor

Use the clear dot1x config command to disable dot1x on all ports and return values to the default settings.

The syntax for this command is: clear dot1x config

Example:

C360-N# clear dot1x config

Original Configuration was Restored

Issue 1 June 2005 25

Avaya C360 Layer 2 CLI Commands

clear dynamic vlans

User level: privileged, supervisor.

Use the clear dynamic vlans command to clear dynamically learned VLANs. Only the

VLANs learned by the switch from incoming traffic are cleared using this command.

The syntax for this command is: clear dynamic vlans

Example:

C360-N# clear dynamic vlans

This command will delete all the vlans that were dynamically learned by the device - do you want to continue (Y/N)? y

Dynamic vlans were deleted from device tables

clear ip route

User level: privileged, supervisor.

Use the clear ip route command to delete the IP routing table entries.

The syntax for this command is: clear ip route <destination> <gateway> destination gateway

IP address of the network, or specific host to be removed

IP address of the gateway

Example:

C360-N# clear ip route 134.12.3.0 255.255.255.0

Route deleted.

26 C360 Converged Stackable Switch Reference Guide, Software V4.5

clear log

User level: privileged, supervisor.

Use the clear log command to delete the log file of a switch.

The syntax for this command is: clear log [<module>] module

(Optional)

Number of switch (1 to 10)

Example:

C360-N# clear log 1

Cleared logfile of module 1.

clear logging file

User level: privileged, supervisor.

Use the clear logging file command to delete the log file and open an empty one.

The syntax for this command is: clear logging file

Example:

C360-N> clear logging file

Done!

clear logging server

User level: privileged, supervisor.

Use the clear logging server command to delete a Syslog server from the Syslog server table.

The syntax for this command is: clear logging server <ip-address> ip-address The IP address of the Syslog server.

Issue 1 June 2005 27

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# clear logging server 149.49.38.22

Done!

clear port mirror

User level: privileged, supervisor.

Use the clear port mirror command to cancel port mirroring.

The syntax for this command is: clear port mirror [<source module>/<source port>/<dest module>/<dest port>] source module source port dest module dest port

Source module number (optional)

Source port number (optional)

Destination module number (optional)

Destination port number (optional)

Example:

C360-N# clear port mirror this command will delete the port mirror entry

- do you want to continue (Y/N)? y

Mirroring packets from port 1/2 to port 1/4 is cleared

clear port static-vlan

User level: privileged, supervisor.

Use the clear port static-vlan command to delete VLANs statically configured on a port.

The syntax for this command is: clear port static-vlan [module/port range][vlan num] module/port range vlan num

Port range

The VLAN to unbind from the port

28 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# clear port static-vlan 3/10 5

VLAN 5 is unbound from port 3/10

clear radius authentication server

User level: supervisor

Removes a primary or secondary RADIUS authentication server.

The syntax for this command is: clear radius authentication server[{primary|secondary}] primary secondary

Remove primary RADIUS server

Remove secondary RADIUS server

Example:

C360-1(super)# clear radius authentication server

secondary

clear rmon statistics

User level: privileged, supervisor.

Use the clear rmon statistics command to clear the RMON statistics counter.

The syntax for this command is: clear rmon statistics

Example:

C360-N# clear rmon statistics cleared device counters

Issue 1 June 2005 29

Avaya C360 Layer 2 CLI Commands

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: privileged, supervisor.

Use the clear secure mac command to remove a MAC address from the CAM table of a secured port.

The syntax for this command is: clear secure mac <mac-address> port <mod-num>/<port-num> mac-address MAC address to be cleared mod-num port-num

Module where the secured port is located

Secured port number

Example:

C360-N# clear secure mac 01-02-03-04-05-06 port 1/17 secure mac 01-02-03-04-05-06 port 1/17 was removed

clear snmp trap

User level: privileged, supervisor.

Use the clear snmp trap command to clear an entry from the SNMP trap receiver table.

30 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: clear snmp trap {<rcvr_addr>|all} rcvr_addr IP address or IP alias of the trap receiver (the SNMP management station) to clear all Keyword that specifies every entry in the SNMP trap receiver table

Example:

C360-N# clear snmp trap 192.168.173.42

SNMP trap deleted.

clear ssh-client known-hosts

User level: privileged, supervisor.

Use the clear ssh-client known-hosts command to clear the known-hosts file used for scp authentication. It allows scp authentication after scp server public key has been changed.

SECURITY ALERT:

!

SECURITY ALERT:

Using this command can cause exposure to the “man-in the middle” attack.

.The syntax for this command is: clear ssh-client known-hosts

Example:

C360-N# clear ssh-client known-hosts

Done!

clear timezone

User level: privileged, supervisor.

Use the clear timezone command to reset the time zone to its default value UTC

(Coordinated Universal Time)

The syntax for this command is: clear timezone

Issue 1 June 2005 31

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# clear timezone

Timezone name and offset cleared.

clear utilization cpu

User level: privileged, supervisor.

Use the clear utilization cpu command to disable CPU utilization monitoring on the specified module.

The syntax for this command is: clear utilization cpu <module-number> module-number The module number for which CPU utilization monitoring is disabled.

Example:

C360-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. When you clear a VLAN, all ports assigned to that VLAN are assigned to the default VLAN #1.

The syntax for this command is: clear vlan [<vlan-id>|name <vlan_name>] vlan_id vlan_name

VLAN number

VLAN name

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

32 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# clear vlan 100

This command will assign all ports on vlan 100 to their default in the entire management domain - do you want to continue (Y/N)? y

VLAN 100 was deleted successfully

configure

User level: privileged, supervisor.

Use the configure command to enter configure mode.

The syntax for this command is: configure

Example:

C360-N# configure

C360-N(configure)#

copy module-config scp

User level: supervisor

Use the copy module-config scp command to upload the switch-level parameters from the current NVRAM running configuration into a file via SCP.

The syntax for this command is: copy module-config scp <filename> <ip> <mod_num> filename ip mod-num

The file name (full path)

The IP address of the SCP server

The switch number

Issue 1 June 2005 33

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# copy module-config scp c:\config\switch1.cfg 192.168.49.10 5

Username: 360user

Password:

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show upload status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

copy module-config tftp

User level: supervisor

Use the copy module-config tftp command to upload the switch-level parameters from the current NVRAM running configuration into a file via TFTP.

The syntax for this command is: copy module-config tftp <filename> <ip> <mod_num>

Tip: filename ip mod-num

The file name (full path)

The IP address of the TFTP server

The switch number

Tip:

The following file name convention is recommended:

Take the last two digits of the IP address, prefixed by the upload type (module) and the number of the module remote file name : <t><m><i>

<t> - module type (m)

<m> - module number 1 to 9 and 0 for 10

<i> - last 2 numbers of the IP address

34 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# copy module-config tftp C:\m5134153.cfg 149.49.134.153 5

Username: 360user

Password:

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show upload status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

copy scp module-config

User level: supervisor

Use the copy scp module-config command to download a module configuration to the device via SCP.

Tip:

Tip:

Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the

NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.

The syntax for this command is: copy scp module-config <filename> <ip> filename Source file name on the SCP server (full path).

ip The ip address of the SCP server.

Issue 1 June 2005 35

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# copy scp module-config c:\C360\module.cfg 149.49.100.41

Username: 360user

Password:

Beginning download operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show download status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

Example: (for Unix):

C360-N# copy scp module-config /folder/C360/module.cfg 149.49.100.41

Username: 360user

Password:

Beginning download operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show download status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

copy scp stack-config

User level: supervisor

Use the copy scp stack-config command to download a stack configuration to the device via SCP.

Note:

Note:

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.

36 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: copy scp stack-config <filename> <ip> filename Source file name on the SCP server (full path).

ip The ip address of the SCP server.

Example: (for Windows)

C360-N# copy scp stack-config c:\C360\stack.cfg 149.49.100.41

Username: 360user

Password:

Beginning download operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show download status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

Example: (for Unix):

C360-N# copy scp stack-config /folder/C360/stack.cfg 149.49.100.41

Username: 360user

Password:

Beginning download operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show download status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

Issue 1 June 2005 37

Avaya C360 Layer 2 CLI Commands

copy stack-config scp

User level: supervisor

Use the copy stack-config scp command to upload the switch-level parameters from the active bank into a file via SCP.

The syntax for this command is: copy stack-config scp <filename> <ip> filename ip

The file name (full path)

The IP address of the SCP server

Example:

C360-N# copy stack-config scp c:\config\switch1.cfg 192.168.49.10

Username: 360user

Password:

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show upload status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

copy stack-config tftp

User level: supervisor

Use the copy stack-config tftp command to upload the stack-level parameters from the current NVRAM running configuration into a file via TFTP.

Note:

Note:

Create the file into which you wish to upload the stack-level parameters prior to executing this command.

38 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: copy stack-config tftp <filename> <ip> filename ip

The file name (full path)

The IP address of the TFTP server

Example:

C360-N# copy stack-config tftp c:\conf.cfg 192.168.49.10

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'upload status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

copy tftp EW_Archive

Tip:

User level: privileged, supervisor.

Use the copy tftp EW-Archive command to download the C360 Device Manager application into the switch via TFTP.

Tip:

To use this command, you need to have an active TFTP server and to create a file into which to download the data.

Tip:

Tip:

If Avaya Integrated Manager is running, you do not require an additional TFTP server..

The syntax for this command is: copy tftp EW_archive <filename> <ip> filename ip

C360 Device Manager image file name (full path)

The IP address of the host

Issue 1 June 2005 39

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# copy tftp EW-archive c:\C360\switch1.cfg 192.168.49.10

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.

Note:

Note:

Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the

NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.

The syntax for this command is: copy tftp module-config <filename> <ip> filename ip

The file name (full path)

The ip address of the TFTP server

Example: (for Windows)

C360-N# copy tftp module-config c:\config\switch1.cfg 192.168.49.10

Example: (for Unix):

C360-N# copy tftp module-config /folder/startup.cfg 192.168.49.10

copy tftp stack-config

User level: supervisor

Use the copy tftp stack-config command to download the stack-level configuration from a saved file into the current NVRAM running configuration from a TFTP server.

Note:

Note:

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.

40 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: copy tftp stack-config <filename> <ip> filename ip

The file name (full path)

The IP address of the TFTP server

Example: (for Windows)

C360-1(super)# copy tftp stack-config c:\config\switch1.cfg

192.168.49.10

Example: (for Unix):

C360-1(super)# copy tftp stack-config /folder/switch1.cfg 192.168.49.10

copy tftp SW_image

User level: supervisor

Use the copy tftp SW_image command to download a new firmware version into bank B while either keeping the old version in bank A, or downloading the Device Manager software into bank A.

The syntax for this command is: copy tftp SW_image <sw_image_file> EW_archive <EmWeb_file> <IP_addr>

<mod_num> sw_image_file

EmWeb_file

IP_addr mod_num

Firmware image file name (full path)

Device Manager image file name (full path) -

Optional, can be a dummy name

The ip address of the TFTP server

Target switch module number

Example: (for Windows)

C360-1(super)# copy tftp SW_image c:\versions\C360\p333t EW_image x

149.49.138.170 1

Issue 1 June 2005 41

Avaya C360 Layer 2 CLI Commands

Example: (for Unix):

C360-1(super)# copy tftp SW_image /folder/versions/C360/p333t EW_image x

149.49.138.170 1

Tip:

Example:

Tip:

If file "x" does not exist, the Embedded web image will not be downloaded and bank A will retain the previous SW version image.

C360-N# copy tftp SW_image /home/C360/viisa EW_archive 1 135.64.103.104 1

Module : 1

Source file : /home/C360/viisa

Destination file : C360

Host : 135.64.103.104

Running state : Download Process Started

Failure display : no-error

Last warning : -

.....

Module : 1

Source file : /home/C360/viisa

Destination file : C360

Host : 135.64.103.104

Running state : Testing ...

Failure display : no-error

Last warning : -

.............

Module : 1

Source file : /home/C360/viisa

Destination file : C360

Host : 135.64.103.104

Running state : Erasing FLASH

Failure display : no-error

Last warning : -

.....

Module : 1

Source file : /home/C360/viisa

Destination file : C360

Host : 135.64.103.104

Running state : Downloading ...

Failure display : no-error

Last warning : -

...

Module : 1

Source file : /home/C360/viisa

Destination file : C360

Host : 135.64.103.104

Running state : Download Ok

Failure display : no-error

Last warning : -

42 C360 Converged Stackable Switch Reference Guide, Software V4.5

copy tftp SW_powerinline_image

User level: supervisor

Note:

Note:

This command applies to P333T-PWR switches only and is used by C360 switches to control P333T-PWR modules in the stack.

Use the copy tftp SW_powerinline_image command to update the inline software application from a TFTP server to the memory of a designated module. You need to be in privilege mode to execute this command.

The syntax for this command is: copy tftp SW_powerinline_image <image-file> <ip-addr> <mod-num> image_file ip_addr mod_num

Common name for the file that contain the

Power over Ethernet (PoE) Software image and the Embedded Web archive (full path)

IP address of the TFTP host

Target module number

Example:

C360-1# copy tftp SW_powerinline_image c:\c360\p333T_203

192.168.49.10 5

Module: 5

Source file:c:\p333t\p333t_203

Destination file:Powerinline

Host:192.168.49.10

Running state:Downloading

Failure Display:Access Violation

Last warning:

Download completed

Note:

Note:

Before executing the download, the following checks will be performed by embedded SW, on the TFTP server file:

Ensure that the file size is within its allocated space.

Check that the file contains embedded web SW for this application

Verify file validity by calculating the checksum.

Issue 1 June 2005 43

Avaya C360 Layer 2 CLI Commands

crypto key generate DSA

User level: supervisor

Use the crypto key generate DSA command to create a new SSH server DSA public key.

The syntax for this command is: crypto key generate DSA [key-size <key-length>] key-size key-length

A keyword specifying that the key length is provided by the user.

The number of bits in the key.

Possible values are: 512 – 2048. The default is

768 bits.

Example:

C360-1(super)# crypto key generate dsa key-size 768

Generating DSA key, This command may take a few minutes...

......................................

Key was created!

Key version: SSH2, DSA

Key Fingerprint: a5:f8:4a:5d:c5:b5:9c:b5:26:51:2b:36:02:c0:18:a4

dir

User level: user, privileged, supervisor

Use the dir command to show the file types that have been downloaded to the switch.

The syntax for this command is: dir [module_number]

44 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> dir

M# file ver num file type file location file description

-- ---- -------- ---------- ------------- ----------------

1 Booter_Image 3.5.17 SW BootImage Nv-Ram Booter Image

1 module-config N/A Running Conf Ram Module Configuration

1 stack-config N/A Running Conf Ram Stack Configuration

1 EW_Archive N/A SW Web Image Nv-Ram Web Download

2 Booter_Image 3.2.5 SW BootImage Nv-Ram Booter Image

2 module-config N/A Running Conf Ram Module Configuration

2 EW_Archive N/A SW Web Image Nv-Ram Web Download

Output Fields:

Field

M# file ver num

Description

The switch number

There are several files loaded into the switch’s memory:

● module-config – file which contains the configuration settings made to this switch

● stack-config – file which contains the configuration settings made at the stack level (for example IP address of the stack)

EW_Archive – file which contains the Device

Manager (Embedded Web) software

Booter_Image - file containing the booter code executed after reset. This file can’t be replaced by the user.

● startup-config - file which contains the startup

(saved in NVRAM) configuration for policy and routing in the C360

● running-config - file which contains the running

(currently active) configuration for policy and routing in the C360

S/W Version number – relevant only for Device Manager and Booter image.

Issue 1 June 2005 45

Avaya C360 Layer 2 CLI Commands

Tip: file type file location file description

There are several file types:

Running Conf – the configuration currently in use.

Startup-config - startup configuration for policy and routing in the C360

SW boot image - Booter file

SW Web Image – Device Manager S/W archive file

Type of internal memory into which the file is loaded

Description of the file

Tip:

If N/A is displayed for the EW_Archive file, this means that the Device Manager software is not loaded correctly. Download the Device Manager software again.

disconnect ssh

User level: supervisor

Use the disconnect ssh command to disconnect an SSH session.

The syntax for this command is: disconnect ssh <session-id> session-id The SSH session ID.

Example:

C360-1(super)# disconnect ssh 0x508622f0

You are about to close this session - do you want to continue

(Y/N)? y

Closing session 0x508622f0

46 C360 Converged Stackable Switch Reference Guide, Software V4.5

get time

User level: privileged, supervisor.

Use the get time command to retrieve the time from the network.

The syntax for this command is: get time

Example:

C360-N> get time

Time is being acquired from server 0.0.0.0

Time has been acquired from the network.

help

User level: user, privileged, supervisor

Use the help command to print a list of all possible commands at the current level. If a command is specified and has no further sub-command(s), the help for that command is printed. If the command has a further sub-command, a brief description of the sub-command is printed.

The syntax for this command is: help [<command> [<subcommand>...]]

Example:

C360-N> help hostname

Hostname commands:

--------------------------------------------------------------

-------------

Usage: hostname [<hostname_string>]

<hostname_string> : none - displays current hostname

<hostname_string> : string - string to be used as the hostname (up to 20 characters)

Example: hostname

hostname M_MLS_LAB

hostname #$

Issue 1 June 2005 47

Avaya C360 Layer 2 CLI Commands

hostname

User level: privileged, supervisor.

Use the hostname command to change the Command Line Interface (CLI) prompt. The current module number always appears at the end of the prompt.

Use the no hostname command to return the CLI prompt to its default.

The syntax for this command is:

[no] hostname [<hostname_string>] hostname_string

● none – displays current hostname

● string – the string to be used as the hostname

(up to 20 characters).

Example:

C360-N# hostname

Session hostname is ‘C360’

Tip:

C360-N# hostname “gregory” gregory-N# gregory-N# no hostname

C360-N#

Tip:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

ip http

User level: supervisor

Use the ip http enable command to enable HTTP access to the device.

Use the no ip http command to disable HTTP access to the device.

The syntax for this command is:

[no] ip http

48 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-1(super)# ip http

Done!

ip icmp redirect

User level: supervisor

Use the ip icmp redirect command to enable ICMP redirects via the device.

Use the no ip icmp redirect command to disable ICMP redirects via the device.

The syntax for this command is:

[no] ip icmp redirect

Example:

C360-1(super)# ip icmp redirect

Done!

ip ssh

User level: supervisor

Use the ip ssh command to enable the SSH server.

Use the no ip ssh command to disable the SSH server.

The syntax for this command is:

[no] ip ssh enable

Example:

C360-1(super)# ip ssh enable

Done!

Issue 1 June 2005 49

Avaya C360 Layer 2 CLI Commands

ip snmp

User level: supervisor.

Use the ipsnmp command to enable SNMP access to the switch.

Use the no ipsnmp command to disable SNMP access to the switch.

The syntax for this command is:

[no] ip snmp Example:

C360-N# ip snmp

Done!

ip telnet

User level: supervisor

Use the ip telnet command to enable Telnet access to the device.

Use the no ip telnet command to disable Telnet access to the device.

The syntax for this command is:

[no] ip telnet

Example:

C360-1(super)# ip telnet

Done!

ip telnet-client

User level: supervisor

Use the ip telnet-client enable command to enable the device to act as a Telnet client.

Tip:

Tip:

This command can only be run from the console port on the device.

The syntax for this command is: ip telnet-client

50 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-1(super)# ip telnet-client

Done!

no hostname

See

hostname on page 48

no ip http

See

ip http on page 48.

no ip icmp redirect

See

ip icmp redirect on page 49.

no ip ssh

See

ip ssh on page 49.

no ip telnet

See

ip telnet on page 50.

no ip telnet-client

See

ip telnet-client on page 50.

no rmon alarm

See

rmon alarm on page 57.

Issue 1 June 2005 51

Avaya C360 Layer 2 CLI Commands

no rmon event

See

rmon event on page 58.

no rmon history

See

rmon history on page 59.

no username

See

username on page 217.

nvram initialize

User level: privileged, supervisor.

Use the nvram initialize command to reset the configuration parameters to their factory defaults.

The syntax for this command is: nvram initialize {switch | all} switch all

Resets all the switching parameters (Layer 2 only) throughout the stack

Resets all parameters including licenses and routing parameters of the Layer 3 switches present in the stack

Example:

C360-N# nvram initialize

This command will restore factory defaults, and can disconnect your telnet session

*** Reset *** - do you want to continue (Y/N)? y

Connection closed by foreign host

52 C360 Converged Stackable Switch Reference Guide, Software V4.5

ping

User level: user, privileged, supervisor

Use the ping command to send ICMP echo request packets to another node on the network.

Tip:

Tip:

You can use this command via the master switch only.

The syntax for this command is: ping [host[number]] host Host IP address/Internet address of route destination.

If you do not specify thse host IP address, then the host IP address specified in the last ping command is used.

number Number of packets to send.

If you do not specify the number, then the number specified in the last ping command is used.

The default is 5.

Example: to ping the IP address 149.49.48.1 three times:

C360-N> ping 149.49.48.1 3

PING 149.49.48.1: 56 data bytes

64 bytes from 149.49.48.1: icmp_seq=0. time=0. ms

64 bytes from 149.49.48.1: icmp_seq=1. time=0. ms

64 bytes from 149.49.48.1: icmp_seq=2. time=0. ms

----149.49.48.1 PING Statistics----

3 packets transmitted, 3 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0

Issue 1 June 2005 53

Avaya C360 Layer 2 CLI Commands

prompt-length

User level: supervisor

Use the prompt-length command to specify the length of the default CLI prompt.

The syntax for this command is: prompt-length <full|<prompt-size>> full prompt-s ize

Display the full length of the prompt

Set the length in characters of the prompt to display

Example:

C360-1(super)# prompt-length 4

~r)#

reset

User level: user, privileged, supervisor

Use the reset command to restart the stack or an individual switch. If no switch number is defined or the switch number of the Master is defined, the command resets the entire stack. If the switch number is defined, the command resets the specified switch only.

The syntax for this command is: reset {module number}

Example:

To reset the Master agent and force the entire stack to reset:

C360-N# reset

This command will force a switch-over to the master module and disconnect your telnet session.

Do you want to continue (y/n) [n]? y

Connection closed by foreign host.

54 C360 Converged Stackable Switch Reference Guide, Software V4.5

To reset switch 4:

C360-N# reset 4

This command will reset module 4 and may disconnect your telnet session.

Do you want to continue (y/n) [n]? y

Resetting module 4...

reset mgp

User level: privileged, supervisor.

Use the reset mgp command to perform a software reset in the G700 Media Gateway

Processor.

The syntax for this command is: reset mgp [module] module Number of the MGP in the stack

Example:

C360-N# reset mgp 1

reset module-and-powerinline

User level: privileged, supervisor.

Use the reset mgp command to perform a hardware reset of the switch and the PoE circuitry.

The syntax for this command is: reset module-and-powerinline [module] module Number of the switch

Example:

C360-N# reset module-and-powerinline

This command will reset module 1 and its PoE circuitry and may disconnect your telnet session.

*** Powerinline module reset*** - do you want to continue (Y/N)?

Issue 1 June 2005 55

Avaya C360 Layer 2 CLI Commands

reset stack-and-powerinline

User level: privileged, supervisor.

Use the reset stack command to perform a hardware reset of the entire stack and the PoE circuitry.

The syntax for this command is: reset stack-and-powerlinline

Example:

C360-N# reset stack-and-powerinline

This command will force a reset to all modules and PoE circuitry in the stack and will disconnect opened telnet sessions

*** Stack Reset *** - do you want to continue (Y/N)?

reset wan

User level: user, privileged, supervisor

Use the reset wan command to perform a software reset in the X330 WAN Access Router

Module.

The syntax for this command is: reset wan [module][bank-a] module bank-a

Optional - the module number where the WAN module to be reset resides.

Optional - boot the WAN module from bank-a after reset.

Example:

C360-N# reset wan 2

This command will force a switch-over to the wan device and disconnect your telnet session

*** Reset *** - do you want to continue (Y/N)? y

56 C360 Converged Stackable Switch Reference Guide, Software V4.5

retstatus

User level: supervisor

Use the retstatus to display the return status of the previously executed command.

The syntax for this command is: retstatus

Example:

C360-N# retstatus

Succeeded

rmon alarm

User level: privileged, supervisor.

Use the rmon alarm command to create a new RMON alarm entry.

The syntax for this command is: rmon alarm <Alarm Number> <variable> <interval> <sample type> rising-threshold <rising threshold> <rising event> falling-threshold

<falling threshold> <falling event> <startup alarm> <owner>

Use the no rmon alarm command <Alarm Number> to delete an RMON alarm

Alarm Number This is the alarm index number of this entry (it is advisable to use the same interface number as your alarm index number.) variable interval sample type

The instance of an RMON statistic.

The interval between 2 samples.

This can be set to either delta (the difference between 2 samples) or an absolute value.

This sets the upper threshold for the alarm entry.

rising threshold rising event falling threshold

The RMON event entry that will be notified if the upper threshold is passed.

This sets the lower threshold for the alarm entry.

Issue 1 June 2005 57

Avaya C360 Layer 2 CLI Commands

falling event The RMON event entry that will be notified if the lower threshold is passed.

startup alarm The instances in which the alarm will be activated. The possible parameters are: Rising, Falling,

risingOrfalling.

owner Owner name string.

Example:

C360-N# rmon alarm 1026 1.3.6.1.2.1.16.1.1.1.5.1026 60

delta rising-threshold 10000 1054 falling-threshold 10

1054 risingOrFalling gregory

alarm 1026 was created successfully

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 <Event Number> <type> description <description> owner

<owner>

Use the no rmon event command to delete an existing RMON event entry.

The syntax for this command is: no rmon event [event number] event number type description owner

This is the event index number of this entry.

The type of the event. The possible parameters are:

● trap

● log

● logAndTrap

● none

A user description of this event

Owner name string

58 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# rmon event 1054 logAndTrap description "event

for monitoring gregory's computer" owner gregory

event 1054 was created successfully

rmon history

User level: privileged, supervisor.

Use the rmon history command to create an RMON history entry.

The syntax for this command is: rmon history <history index> [<module>[</port>]] interval <interval> buckets <number of buckets> owner <owner name>

Use the no rmon history command to delete an existing RMON history entry.

The syntax for this command is: no rmon history <history_index>

Tip: history_index History index number of this entry (it is advisable to use the same interface number as your history index number).

module/port The switch number/the port number.

interval number of buckets owner name

The interval between 2 samples.

The number of buckets defined.

The owner name string.

Example:

C360-N# rmon history 1026 1026 3/2 30 buckets 20 owner

gregory

history 1026 was created successfully

Tip:

If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

Issue 1 June 2005 59

Avaya C360 Layer 2 CLI Commands

session

User level: user, privileged, supervisor

Use the session command to open a session with a specific entity within a switch or the stack. For example, you can open a session with the Routing entity of a C360 switch in the stack.

Note:

Note:

Layer 2 commands are only available if you open a switch session with the

Master switch.

Note:

Note:

The security level stays the same when you use the session command .

The syntax for this command is: session {module_number} {switch|router|atm|mgp|wan} module_number switch|router|atm|mgp|wan

(optional) The switch number.

If you do not specify this parameter, you will get the list of modules within the stack.

(optional) The entity to which you want to open a session. If you do not specify this parameter, you will get the default entity of the specific module: switch - Layer 2 entity of the switch (see

Note below).

router - Routing entity.

atm - ATM entity.

mgp - Media Gateway Processor.

wan - WAN access router entity.

Use the session command without any parameters to identify the stack master and its slot number. It will list all the modules in the stack and their slot number with the master module marked with an asterisk.

Example:

C360-1# session 2

C360-2# session

C363T (*) In Slot 1

C364T-PWR In Slot 2

C360-2#

60 C360 Converged Stackable Switch Reference Guide, Software V4.5

set allowed managers

User level: privileged, supervisor.

Use the set allowed managers command to enables or disable the Allowed Managers feature.

When this feature is enabled, only those stations whose IP addresses are listed in the Allowed

Managers table can access the device over Telnet, SNMP, or HTTP.

The syntax for this command is: set allowed managers [enabled|disabled]

Example:

C360-1(super)# set allowed managers enabled

Managers are enabled

set allowed managers ip

User level: privileged, supervisor.

Use the set allowed manager ip command to add or remove an IP address from the

Allowed Managers table. The Allowed Managers table can contain up to twenty IP addresses.

The syntax for this command is: set allowed managers ip [add | delete][IP address] add delete

IP address

Adds specified IP address to the Allowed Managers table

Deletes specified IP address from the Allowed

Managers table

IP address to be added or removed

Example:

C360-N# set allowed managers ip add 149.49.32.134

Ip was added to the table

Issue 1 June 2005 61

Avaya C360 Layer 2 CLI Commands

set arp-aging-interval

User level: privileged, supervisor.

Use the set arp-aging interval command to set the ARP table aging interval for entries in the agent Layer 2 ARP table.

The entry is deleted at the end of every aging interval. The default value is 10 minutes.

The syntax for this command is: set arp-aging-interval <value> value The number representing the interval, from 0 to 10 minutes.

0 - arp-aging interval is 20 minutes.

Example:

C360-N# set arp-aging-interval 10

ARP table aging interval was set to 10 minutes.

set arp-tx-interval

User level: privileged, supervisor.

Use the set arp-tx-interval command to set the keep-alive frames sending interval. The keep-alive frames in ARP packets for the C360 agent are used to ensure connectivity with the

C360 agent is always achieved.

The syntax for this command is: set arp-tx-interval <value> value The interval in seconds. (0-3600)

0 disables the transmission of the keep-alive frames.

Example:

C360-N# set arp-tx-interval 15

ARP tx interval was set to 15 seconds.

62 C360 Converged Stackable Switch Reference Guide, Software V4.5

set autopartition

User level: privileged, supervisor.

Note:

Note:

This command is not relevant to C360 switches. It appears in the C360 CLI for controlling autopartition of P330 switches in the stack.

Use the set autopartition command to enable or disable auto-partitioning on P330 switches in the stack.

The syntax for this command is: set autopartition <value>[module] value module enable/disable module slot number

Example:

C360-N# set autopartition enable 3

Auto-partition is enabled in module 3.

set boot bank

User level: privileged, supervisor.

Use the set boot bank command to configure the firmware bank from which the switch will boot at the next boot process. This command should be issued separately for each switch in the stack using the session command first.

Note:

Note:

If you wish to execute this command on a switch other than the stack master, you must open a session the relevant switch.

The syntax for this command is: set boot bank <value> value {bank-a | bank-b}

Example:

C360-N# set boot bank bank-a

Boot bank is set to bank-a

Issue 1 June 2005 63

Avaya C360 Layer 2 CLI Commands

set cascading

User level: privileged, supervisor.

Use the set cascading command to control the generation of fault-traps for unconnected cascading links. This command is useful when cascading cables are not connected intentionally, and therefore no fault-traps are desired for this event.

The syntax for this command is: set cascading {up|down} fault-monitoring {enable|disable} <mod-num> module Number of the C360 switch in the stack

Example:

C360-N# set cascading down fault-monitoring enable 1

Module 1 cascading-down fault monitoring enabled

set device-mode

User level: privileged, supervisor.

Use the set device-mode command to select the module’s operating mode — Layer 2 or

Router .

Note:

Note:

This command is available on C360 switches with Layer 3 only.

The syntax for this command is: set device-mode <mode> mode

Router – switch operates at Layers 2 and 3.

Layer2 – switch operates at Layer 2.

Example:

C360-N# set device-mode Router

This command will RESET the switch****

Reset **** do you want to continue (Y/N) ?

Done!

64 C360 Converged Stackable Switch Reference Guide, Software V4.5

set dot1x max-req

User level: supervisor

Use the set dot1x max-req command to set maximum number of times the port tries to retransmit requests to the Authenticated Station before the session is terminated.

The syntax for this command is: set dot1x max-req <count> count Number of attempts – 1 to 10

Example:

C360-1(super)# set dot1x max-req 3

set dot1x quiet-period

User level: supervisor

Use the set dot1x quiet-period command to set the minimal time between authentication attempts.

The syntax for this command is: set dot1x quiet-period <Seconds>

Seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set dot1x quiet-period 90

Done!

Issue 1 June 2005 65

Avaya C360 Layer 2 CLI Commands

set dot1x re-authperiod

User level: supervisor

Use the set dot1x re-authperiod command to set the idle time between re-authentication attempts.

The syntax for this command is: set dot1x re-authperiod <Seconds>

Seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set dot1x re-authperiod 90

Done!

set dot1x server-timeout

User level: supervisor

Use the set dot1x server-timeout command to set the server retransmission timeout period for all ports. This is the maximum time that the port will wait for a reply from the

Authentication Server.

The syntax for this command is: set dot1x server-timeout <Seconds>

Seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set dot1x server-timeout 90

C360-1(super)#

66 C360 Converged Stackable Switch Reference Guide, Software V4.5

set dot1x supp-timeout

User level: supervisor

Use the set dot1x supp-timeout command to set the maximum time that the switch will wait for a reply from the Authenticated Station before the session is terminated.

The syntax for this command is: set dot1x supp-timeout <Seconds>

Seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set dot1x supp-timeout 90

C360-1(super)#

set dot1x system-auth-control disable

User level: supervisor

Use the set dot1x system-auth-control disable command to globally disable the

PBNAC (802.1x) feature.

The syntax for this command is: set dot1x system-auth-control disable

Example:

C360-1(super)# set dot1x system-auth-control disable dot1x system-auth-control disabled

set dot1x system-auth-control enable

User level: supervisor

Use the set dot1x system-auth-control enable command to globally enable the

PBNAC (802.1x) feature.

The syntax for this command is: set dot1x system-auth-control enable

Issue 1 June 2005 67

Avaya C360 Layer 2 CLI Commands

Example:

When a RADIUS server is defined:

C360-1(super)# set dot1x system-auth-control enable dot1x system-auth-control enabled

When a RADIUS server is not defined:

C360-1(super)# set dot1x system-auth-control enable

*** Warning : Authentication server ( RADIUS ) is disabled/not-exist and so,

*** no authentication can be made dot1x system-auth-control enabled

set dot1x tx-period

User level: supervisor

Use the set dot1x tx-period command to set the time interval between attempts to access the Authenticated Station.

The syntax for this command is: set dot1x tx-period <Seconds>

Seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set dot1x tx-period 90

Done!

set inband vlan

User level: privileged, supervisor.

Use the set inband vlan command to set the inband management VLAN.

The syntax for this command is: set inband vlan <value> value Number of the VLAN to be assigned to the management interface.

68 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# set inband vlan 1

Management VLAN number set to 1

set intelligent-multicast

User level: privileged, supervisor.

Use the set intelligent-multicast command to enable or disable the IP-multicast filtering application.

The syntax for this command is: set intelligent-multicast {enable|disable}

Example:

C360-N# set intelligent-multicast enable

Done!

set intelligent-multicast client-port-pruning time

User level: privileged, supervisor.

Use the set intelligent-multicast client port pruning time command to set the aging time for client ports. This is the time after the C360 switch reset during which the filtering information is learned by the switch but not configured on the ports.

The syntax for this command is: set intelligent-multicast client-port-pruning time <seconds> seconds Client port pruning time in seconds

Example:

C360-N# set intelligent-multicast

client-port-pruning-time 40

Done!

Issue 1 June 2005 69

Avaya C360 Layer 2 CLI Commands

set intelligent-multicast group-filtering-delay time

User level: privileged, supervisor.

Use the set intelligent-multicast group-filtering delay time command to set group filtering time delays. This is the time that the switch waits between becoming aware of a

Multicast group on a certain VLAN and starting to filter traffic for this group.

The syntax for this command is: set intelligent-multicast group-filtering-delay time <seconds> seconds Group filtering time in seconds.

Example:

C360-N# set intelligent-multicast

group-filtering-delay time 40

Done!

set intelligent-multicast router-port-pruning time

User level: privileged, supervisor.

Use the set intelligent-multicast router-port-pruning time command to set the aging time for router ports. This is a timer that ages out Router port information if IGMP queries are not received within the configured time.

The syntax for this command is: set intelligent-multicast router-port-pruning time <seconds> seconds Router port pruning time in seconds.

Example:

C360-N# set intelligent-multicast

router-port-pruning-time 40

Done!

70 C360 Converged Stackable Switch Reference Guide, Software V4.5

set interface inband

User level: privileged, supervisor.

Use the set interface inband command to configure the Management inband interface on the Master agent in the stack.

The syntax for this command is: set interface inband <vlan> <ip_addr> <netmask> vlan ip_addr netmask

The number of the VLAN to be assigned to the interface

IP address of the inband interface

Subnet mask

Example:

To configure the inband interface on VLAN 1, IP address 1.1.1.1 and netmask 255.255.255.224:

C360-N# set interface inband 1 1.1.1.1 255.255.255.224

Interface inband IP address set.

You must reset the device in order for the change to take effect.

set interface ppp

User level: privileged, supervisor.

Use the set interface ppp command to configure the Master agent PPP interface IP parameters, exit modem mode, disconnect the PPP session, or reset the connected modem.

You must configure an IP address and net-mask for the C360 before you can establish a PPP connection. The IP address is a dummy address that is shared between two peers, and must be taken from a subnet that is different from the agent’s inband IP subnet.

The syntax for this command is: set interface ppp <ip_addr> <net-mask> ip_addr net-mask

IP address used by the C360 Supervisor Module to connect via its PPP interface

Subnet mask used by the C360 Supervisor Module to connect via its PPP interface

Issue 1 June 2005 71

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# set interface ppp 149.49.34.125 24

Interface ppp ip address set

set interface ppp enable/enable-always/disable/off/reset

User level: privileged, supervisor.

Use the set interface ppp command to enter modem mode, enter terminal mode, disconnect the PPP session or to reset the connected modem.

The syntax for this command is: set interface ppp {enable|enable-always|disable|off|reset} enable enable-alway s disable off reset

Enable PPP and enter modem mode.

Enter modem mode every time that the proprietary modem cable is plugged into the console port.

Disable PPP and enter terminal mode

Disconnect the active PPP session.

Reset the connected modem.

Example:

C360-N# set interface ppp reset

PPP has reset the connected modem.

Example:

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

C360-N# set interface ppp disable

Entering the Terminal mode immediately

72 C360 Converged Stackable Switch Reference Guide, Software V4.5

set intermodule port redundancy

User level: privileged, supervisor.

Use the set intermodule port redundancy command to define the stack’s unique intermodule redundancy scheme. The defined scheme can be cleared using the set intermodule port redundancy off command.

Note:

Note:

You must disable Spanning Tree before you can enable intermodule port redundancy.

The syntax for this command is: set intermodule port redundancy <module/prim-port> <module/ second-port> {on [<name>]} module/prim-port module/second-port on name

Primary port number

Secondary port number

Set the intermodule redundancy

Name of the fast redundancy (default is

'intermodule')

Example:

C360-N# set intermodule port redundancy 1/7 2/12 on

backbone

backbone: port 2/12 is intermodule redundant to port

1/7

Note:

Note:

If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, e.g., "new york".

Issue 1 June 2005 73

Avaya C360 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:

C360-N# set intermodule port redundancy off

Intermodule port redundancy entry deleted.

set internal buffering

User level: privileged, supervisor.

Note:

Note:

This command is not relevant to C360 switches. It appears in the C360 CLI for controlling internal buffering of P330 switches in the stack.

The set internal buffering command allows you to set the size (Maximum, Medium, and Minimum) of the Receive (Rx) buffer allocated to each port of the specified switch. This command is meaningless when any port of the switch is operating with flow control ON.

The syntax for this command is: set internal buffering <module> {value} module Number of P330 switch in the stack value max - sets the internal receive buffer to its maximum size med - sets the internal receive buffer capacity dynamically min - sets the internal receive buffer to its minimum size

Default is min

Example:

C360-N# set internal buffering 1 max

Done.

74 C360 Converged Stackable Switch Reference Guide, Software V4.5

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 C360 switch.

The syntax for this command is: set ip route <destination> <gateway> destination gateway

IP address of the network, or specific host to be added

IP address of the router

Example:

This example shows how to add a default route to the IP routing table:

C360-N# set ip route 0.0.0.0 192.168.1.1 destination = 0.0.0.0 gateway = 192.168.1.1

ROUTE NET TABLE destination gateway flags Refcnt Use Interface

------------------------------------------------------------------------

0.0.0.0 192.168.1.1 1 1 3199 se0

127.1.1.0 127.1.1.1 1 8 7606 se1

------------------------------------------------------------------------

ROUTE HOST TABLE destination gateway flags Refcnt Use Interface

------------------------------------------------------------------------

127.0.0.1 127.0.0.1 5 2 131 lo0

10.10.10.10 192.168.1.1 7 0 0 se0

------------------------------------------------------------------------

set leaky-vlan

User level: privileged, supervisor.

Note:

Note:

This command is not relevant to C360 switches. It appears in the C360 CLI for controlling internal buffering of P330 switches in the stack.

Use the set leaky-vlan command to define the P330 leaky VLAN mode. In this mode,

VLAN test is done only on broadcast/multicast/unknown frames, and not on unicast frames.

Issue 1 June 2005 75

Avaya C360 Layer 2 CLI Commands

The syntax for this command is set leaky-vlan <enable|disable>

Example:

C360-N# set leaky-vlan enable

Leaky VLAN mode enabled

Note: The leaky vlan feature is activated only on boards

(module,plug-in,cascade) that their CS is 2.x and above

set license

User level: privileged, supervisor.

Use the set license command to activate the SMON and Routing capabilities of the Avaya

C360 stack. An Avaya C360 stack can include several Avaya C360 switches. One SMON license is required per Avaya C360 stack; a routing license is required for each C360 switch in the stack.

For a full description of the SMON or Routing License and the installation procedure please refer to the Installation Guide provided with the SMON/Routing License.

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:

C360-N# set license 1 026a 9b8f 3216 9c08 adea 5f4d smon

The setting of a new smon license has been done!

Please reset the device in order for the feature to be updated!

76 C360 Converged Stackable Switch Reference Guide, Software V4.5

set lldp re-init-delay

User level: privileged, supervisor.

Use the lldp re-init-delay command to set the reinitDelay. This sets the delay from when a port is set to LLDP “disable” until re-initialization is attempted.

The syntax for this command is: set lldp re-init-delay <value> value The delay in seconds from when a port is set to

LLDP "disable" until re-initialization will be attempted

Example

C360-N# set lldp re-init-delay 5

Done!

set lldp system-control

User level: privileged, supervisor.

Use the set lldp system-control command to enable or disable the LLDP application globally (per stack).

The syntax for this command is: set lldp system-control enable|disable enable disable

Enable the LLDP application

Disable the LLDP application

Example:

C360-N# set lldp system-control enable

Done!

Issue 1 June 2005 77

Avaya C360 Layer 2 CLI Commands

set lldp tx-delay

User level: privileged, supervisor.

Use the set lldp tx-delay command to set the TxDelay. The TxDelay sets the minimal delay in seconds between successive LLDP frame transmissions, on each port.

The tx delay should be in the range 1 <= TxDelay <= (0.25 * TxInterval)

This transmission rate limiting applies only to situations caused by asynchronous transmission or shutdown when the LLDP application is stopped on a port or system in an Avaya device.

The syntax for this command is: set lldp tx-delay <value>

Parameters value Minimum delay in seconds between successive

LLDP frame transmissions (1 to 8,192)

Example:

C360-N# set lldp tx-delay 5

Done!

set lldp tx-hold-multiplier

User level: privileged, supervisor.

Use the set lldp tx-hold-multiplier command to set the TxHoldMultiplier. This parameter is a multiplier on the TxInterval that determines the actual TTL value sent in an LLDP frame. The time-to-live value transmitted in TTL TLV by the device is expressed by the following formula:

TTL = min(65535, TxInterval * TxHoldMultiplier)

The syntax for this command is: set lldp tx-hold-multiplier <number> number The multiplier (2 to 10)

Example

C360-N# set lldp tx-hold-multiplier 4

Done!

78 C360 Converged Stackable Switch Reference Guide, Software V4.5

set lldp tx-interval

User level: privileged, supervisor.

Use the set lldp tx-interval command to configure the interval at which the device transmits LLDP frames.

The syntax for this command is: set lldp tx-interval <seconds> seconds The interval at which the device transmits LLDP frames in seconds (5 to 32768)

Example

C360-N# set lldp tx-interval 5000

Done!

Issue 1 June 2005 79

Avaya C360 Layer 2 CLI Commands

set logging file condition

User level: privileged, supervisor.

Use the set logging file condition command to define a filter rule for logging messages to the logging file.

The syntax for this command is: set logging file condition { all | <application> } { none | <severity>

} all application

A keyword signifying that messages from all applications are displayed.

The application from which logging messages are logged to the logging file. Possible values are:

Boot

System

ROUTER

CONFIG

TEMP

FILESYS

FAN

SUPPLY

SECURITY

CASCADE

QOS

SWITCHFABRIC

LAG

VLAN

OSPF

RIP

SNMP

POLICY

CLI

STP

ATM

80 C360 Converged Stackable Switch Reference Guide, Software V4.5

none severity

WAN

THRESHOLD

A keyword signifying that logging messages are not logged to the logging file regardless of the severity of the message.

The minimum severity of the logging messages that are logged to the logging file. Possible values are:

Emergency

Alert

Critical

Error

Warning

Notification

Informational

Debugging

Example:

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

C360-N# set logging file disable

Done!

Issue 1 June 2005 81

Avaya C360 Layer 2 CLI Commands

set logging file enable

User level: privileged, supervisor.

Use the set logging file enable command to enable logging messages to a logging file.

The syntax for this command is: set logging file enable

Example:

C360-N# set logging file enable

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.

The syntax for this command is: set logging server access-level < admission-level > <ip-address> admission-lev el ip-address

The access level associated with the Syslog server sink.

Possible values are:

● read-only

● read-write

● admin

The IP address of the Syslog server.

Example:

C360-N# set logging server access-level read-only

149.49.38.22

Done!

82 C360 Converged Stackable Switch Reference Guide, Software V4.5

set logging server condition

User level: privileged, supervisor.

Use the set logging server condition command to define a filter rule for logging messages to the Syslog server.

The syntax for this command is: set logging server condition { all | <application> } { none |

<severity> } <ip-address> all application none severity ip-address

A keyword signifying that the specified severity threshold applies to all applications.

The application to which the filter applies.

A keyword signifying that logging messages are not logged to the Syslog server regardless of the severity of the message.

The minimum severity of the logging messages that are logged to the Syslog server. Possible values are:

Emergency

Alert

Critical

Error

Warning

Notification

Informational

Debugging

The IP address of the Syslog server.

Example:

C360-N# set logging server condition LAG Warning

135.64.102.224

Done!

Issue 1 June 2005 83

Avaya C360 Layer 2 CLI Commands

set logging server disable

User level: privileged, supervisor.

Use the set logging server disable command to disable logging messages to a Syslog server.

The syntax for this command is:

set logging server disable <ip-address> ip-address The IP address of the Syslog server.

Example:

C360-N# set logging server disable 149.49.35.21

Done!

set logging server enable

User level: privileged, supervisor.

Use the set logging server enable command to enable logging messages to a Syslog server.

The syntax for this command is:

set logging server enable <ip-address> ip-address The IP address of the Syslog server.

Example:

C360-N# set logging server enable 149.49.35.21

Done!

84 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

The syntax for this command is:

set logging server facility <server-facility> <ip-address> server-facility The facility used for sending messages to the Syslog server.

Possible values are:

kern – Kernel

user – User processes

mail – Electronic mail

daemon – Background system processes

auth – Authorization

syslog – System logger

lpr – Printer

news – Usenet news

uucp – Unix-to-Unix copy program

clkd – Clock daemon

sec – Security

ftpd – FTP daemon

ntp – NTP subsystem

audi – Log audit

alert – Log alert

clkd2 – Clock daemon

local0-local7 – Available for user defined facilities ip-address The IP address of the Syslog server.

Example:

C360-N# set logging server facility news

135.64.102.224

Done!

Issue 1 June 2005 85

Avaya C360 Layer 2 CLI Commands

set logging session condition

User level: privileged, supervisor.

Use the set logging session condition command to define a filter rule for logging messages during the current session.

The syntax for this command is: set logging session condition { all | <application> } { none |

<severity> } all application

A keyword signifying that the specified severity threshold applies to all applications.

The application to which the filter applies. Possible values are:

System

ROUTER

CONFIG

FILESYS

FAN

SUPPLY

SECURITY

CASCADE

QOS

SWITCHFABRIC

LAG

VLAN

SNMP

POLICY

CLI

STP

THRESHOLD

86 C360 Converged Stackable Switch Reference Guide, Software V4.5

none severity

A keyword signifying that messages are not logged regardless of their severity.

The minimum severity of the logging messages that are logged. Possible values are:

Emergency

Alert

Critical

Error

Warning

Notification

Informational

Debugging

Example:

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

The syntax for this command is: set logging session disable

Example:

C360-N# set logging session disable

Done!

Issue 1 June 2005 87

Avaya C360 Layer 2 CLI Commands

set logging session enable

User level: privileged, supervisor.

Use the set logging session enable command to enable logging messages in the current CLI session.

The syntax for this command is: set logging session enable

Example:

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

Setting the value to 0 disables the automatic disconnection of idle sessions

Default value is 15 minutes

Example:

To set the time until the system disconnects an idle session automatically to 20 minutes:

C360-N# set logout 20

Sessions will be automatically logged out after 20 minutes of idle time.

To disable the automatic disconnection of idle sessions:

C360-N# set logout 0

Sessions will not be automatically logged out.

88 C360 Converged Stackable Switch Reference Guide, Software V4.5

set mac-aging

User level: privileged, supervisor.

Use the set mac-aging command to enable or disable the MAC aging function.

The syntax for this command is:

Set mac-aging <status> status enable / disable

Example:

C360-N# set mac-aging enable mac aging is enabled.

C360-N# set mac-aging disable mac aging is disabled

.

set mac-aging-time

User level: privileged, supervisor.

Use the set mac-aging-time command to set the MAC aging time in minutes. This is the time after which unused MAC addresses in the MAC table are erased.

The syntax for this command is:

Set mac-aging-time <aging-time> aging-ti me

Aging time in minutes (1-3600; default =5).

Example:

C360-N# set mac-aging-time 5 mac aging time is set to 5 minutes.

Tip:

Tip:

The entered value is the aging time lower limit. The actual aging time might be up to three minutes longer.

Issue 1 June 2005 89

Avaya C360 Layer 2 CLI Commands

set port auto-negotiation-flowcontrol-advertisement

User level: privileged, supervisor.

Use the set port auto-negotiation-flowcontrol-advertisement command to set the flowcontrol advertisement for a Gigabit port when performing autonegotiation.

The syntax for this command is: set port auto-negotiation-flowcontrol-advertisement <module>/<port>

{no-flowcontrol|asym-tx-only|sym-only|sym-and-asym-rx} module port no-flowcontrol asym-tx-only sym-only sym-and-asym-r x

Number of the module.

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.

The port will advertise no pause capabilities.

The port will advertise asymmetric Tx pause capabilities only.

The port will advertise symmetric pause capabilities only.

The port will advertise both symmetric and asymmetric Rx pause capabilities.

Example:

C360-N# set port

auto-negotiation-flowcontrol-advertisement 1/5 asym-tx-only

Port 1/5 pause capabilities was set

set port channel

User level: privileged, supervisor.

Use the set port channel command to enable or disable a Link Aggregation Group (LAG) interface on the switch. LAG creation requires a LAG name to be specified. There is no default name.

You can also add or remove a port from an existing LAG. When adding or removing a port to an existing LAG, type the same LAG-name. All ports in the LAG are configured with the parameters of the first port that is added to the LAG. These parameters include port administrative status, speed, duplex, autonegociation mode, VLAN ID, tagging mode, binding mode, and priority level.

90 C360 Converged Stackable Switch Reference Guide, Software V4.5

The ports added to a LAG must belong to the same LAG group - refer to the “LAG” marking on device’s front panel.

Note:

Note:

When adding a port to an existing LAG, type the same LAG name, otherwise you will create a new LAG.

The syntax for this command is: set port channel [<port_list>] [<value>] [<name>] port_list value name

A list of ports to be aggregated in the format module/port on or off – enables or disables the channel for the specified module ports

Channel name

Tip:

Example:s

Tip:

If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

C360-N# set port channel 1/5-6,8 on my-channel

Port 1/5 channel mode set to on 1/102

Port 1/6 was added to channel 1/102

Port 1/8 was added to channel 1/102

set port classification

User level: privileged, supervisor.

Use the set port classification command to set the port classification to either regular or valuable. Any change in the Spanning Tree state from Forwarding for a valuable port will erase all learnt MAC addresses in the stack.

The syntax for this command is: set port classification [module/port] {regular|valuable} module port regular | valuable module/port range port classification

Example:

C360-N# set port classification 2/19 valuable

Port 2/19 classification has been changed.

Issue 1 June 2005 91

Avaya C360 Layer 2 CLI Commands

set port disable

User level: privileged, supervisor.

Use the set port disable command to disable a port or range of ports.

The syntax for this command is: set port disable <mod_num>/<port_num> module port

Number of the switch in the stack.

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:

C360-N# set port disable 4/1

Port 4/1 disabled.

set port dot1x initialize

User level: supervisor

Use the set port dot1x initialize command to initialize port dot1x.

The syntax for this command is: set port dot1x initialize <module/port> module/ port

Module and port number

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4.

Example:

C360-1(super)# set port dot1x initialize 2/3 port 1/2 dot1x was initialized

92 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port dot1x max-req

User level: supervisor

Use the set port dot1x max-req command to set the maximal number of times the port tries to retransmit requests to the Authenticated Station before the session is terminated.

The syntax for this command is: set port dot1x max-req

<module/port> <count> module/ port

Module and port number (or range of ports) count Number of attempts — 1-10

Example:

C360-1(super)# 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.

The syntax for this command is: set port dot1x port-control <module/port> <mode>

Module and port number (or range of ports) module/ port mode force-unauthorize - the port is always is blocking state auto - forwarding/blocking depends on authorization outcome force-authorize - the port is always in forwarding state

Example:

C360-1(super)# set port dot1x port-control 2/3

force-authorize

port 1/2 control was set to force-authorize

Issue 1 June 2005 93

Avaya C360 Layer 2 CLI Commands

set port dot1x quiet-period

User level: supervisor

Use the set port dot1x quiet-period command to set the 802.1x quiet period per port.

The syntax for this command is: set port dot1x quiet-period <module/port> <seconds> module/ port

Module and port number (or range of ports) seconds Number of seconds – 1 to 65535

Example:

C360-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 re-authenticate.

The syntax for this command is: set port dot1x re-authenticate <module/port> module/ port

Module and port number (or range of ports)

Example:

C360-1(super)# set port dot1x re-authenticate 1/2 port 1/2 is not in authenticating process

94 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port dot1x re-authentication

User level: supervisor

Use the set port dot1x re-authentication command to set the re-authentication mode per port.

The syntax for this command is: set port dot1x re-authentication <module/port> <mode>

Module and port number (or range of ports) module/ port mode enable | disable

Example:

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

The syntax for this command is: set port dot1x re-authperiod <module/port> <seconds> module/ port

Module and port number (or range of ports) seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set port dot1x re-authperiod 1/2 400

Issue 1 June 2005 95

Avaya C360 Layer 2 CLI Commands

set port dot1x server-timeout

User level: supervisor

Use the set port dot1x server-timeout command to set the time to wait for a reply from the Authentication Server before the session is terminated.

The syntax for this command is: set port dot1x server-timeout <module/port> <seconds> module/ port

Module and port number (or range of ports) seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set port dot1x server timeout 1/2 400

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.

The syntax for this command is: set port dot1x supp-timeout<module/port> <seconds> module/ port

Module and port number (or range of ports) seconds Number of seconds – 1 to 65535

Example:

C360-1(super)# set port dot1x supp-timeout 1/2 400

96 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port dot1x tx-period

User level: supervisor

Use the set port dot1x tx-period command to set the time interval between attempts to access the Authenticated Station.

The syntax for this command is: set port dot1x tx-period <module/port> <seconds> module/ port

Module and port number (or range of ports) seconds Number of seconds — 1 to 65535

Example:

C360-1(super)# set port dot1x quiet-period 1/2 5000

set port duplex

User level: privileged, supervisor.

Use the set port duplex command to configure the duplex type of an Ethernet or Fast

Ethernet port or range of ports. You can configure Ethernet and Fast Ethernet interfaces to either full-duplex or half-duplex.

The duplex status of a port in auto-negotiation mode is determined by auto-negotiation. 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.

Note:

Note:

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.

The syntax for this command is: set port duplex <module>/<port> {full|half} module port

Number of the switch in the stack. If you do not specify a number, the ports on all the switches are shown.

Number of the port on the module. If you do not specify a number, all the ports on the module are shown.

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4.

Issue 1 June 2005 97

Avaya C360 Layer 2 CLI Commands

full half

Set full-duplex transmission

Set half-duplex transmission

Example:

To set port 1 on module 4 to full duplex:

C360-N# set port duplex 4/1 full

Port 4/1 set to full-duplex.

set port edge admin state

User level: privileged, supervisor.

Use the set port edge admin state command to set the port as an RSTP edge-port or non-edge-port.

Note:

Note:

You must manually configure uplink and backbone ports (including LAG logical ports) to be “non-edge” ports, using the CLI command set port edge admin state.

The syntax for this command is: set port edge admin state <module/port> <admin state> module/ port admin state

Port identifier

The port’s admin satte can be set to either edge-port or non-edge-port.

Example:

C360-N# set port edge admin state 1/1 edge-port port 1/1 edge admin state is set to edge-port

C360-N# set port edge admin state 1/1 non-edge-port port 1/1 edge admin state is set to non-edge-port

98 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port enable

User level: privileged, supervisor.

Use the set port enable command to enable a port or a range of ports.

The syntax for this command is: set port enable [mod_num/port_num] module port

Number of the switch.

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.

Example:

C360-N# set port enable 4/1

Port 4/1 enabled.

set port flowcontrol

User level: privileged, supervisor.

Use the set port flowcontrol command to set the send/receive mode for flow-control frames (IEEE 802.3x or proprietary) for a full duplex port. Each direction (send or receive) can be configured separately.

The syntax for this command is: set port flowcontrol {receive | send | all} <module/port> {off | on | proprietary} receive send all module

Indicates whether the port can receive administrative status from a remote device.

Available only for Gigabit Ethernet modules with negotiation set to off.

Indicate whether the local port can send administrative status to a remote device.

Available only for Gigabit Ethernet modules with negotiation set to off.

Send and receive (symmetric flow control).

Number of the module.

Issue 1 June 2005 99

Avaya C360 Layer 2 CLI Commands

port off on

Number of the port on the module.

Used with receive to turn off an attached device's ability to send flow-control packets to a local port. Used with send to turn off the local port's ability to send administrative status to a remote device.

Used with receive to require that a local port receive administrative status from a remote device. Used with send, the local port sends administrative status to a remote device.

Example:

C360-N# set port flowcontrol receive 5/1 on

Port 5/1 flow control receive administration status set to on

set port level

User level: privileged, supervisor.

Use the set port level command to set the priority level of a port or range of ports on the switching bus. Packets traveling through a port set at normal priority should be served only after packets traveling through a port set at high priority are served.

The syntax for this command is: set port level <module>/<port> [value] module port value

Number of the switch.

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.

Priority level (0 to 7)

Example:

C360-N# set port level 3/1 5

Port 3/1 level set to 5

100 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port lldp

User level: privileged, supervisor.

Use the set port lldp command to change the administrative lldp port status.

The syntax for this command is: set port lldp <module/port> disable|rx-only|tx-only|rx-and-tx module port disable tx-only rx-only rx-and-tx

Number of module (1 to 10)

Number of port(s)

LLDP agent will not transmit nor receive LLDP frames on this port.

LLDP agent will transmit LLDP frames on this port but it will not store any information about the remote systems connected.

LLDP agent will receive, but it will not transmit

LLDP frames on this port

LLDP agent will transmit and receive LLDP frames on this port (default)

Example:

C360-N# set port lldp 10/3 rx-only

Done!

set port lldp tlv

User level: privileged, supervisor.

Use the set port lldp tlv command to enable or disable the transmission of the optional

TLVs on a per port basis.

The optional TLVs are:

Port description

System name

System description

System capabilities

Management address

Port-vlan-id

Issue 1 June 2005 101

Avaya C360 Layer 2 CLI Commands

Tip:

Vlan-name.

The syntax for this command is: set port lldp tlv <module/port> { enable | disable } { <tlv-name> | vlan-name <vlan-id> } module port enable disable tlv_name vlan-id

Number of module

Number of port(s) enable transmission of tlv parameter disable transmission of tlv parameter

Name of the optional TLV

port-description – 802 LAN station’s port description.

“system-name” – an alphanumeric string that indicates the system’s administratively assigned name

“system-description” – an alphanumeric string that is the textual description of the system.

“system-capabilities” – identifies the primary function(s) of the system and whether or not these primary functions are enabled

“management-address” – identifies an address associated with the local LLDP agent that may be used to reach higher layer management entities.

“port-vlan-id” – LAN port VLAN (PVID) that will be associated with untagged or priority tagged frames it receives.

“all” – send all optional TLVs for each port.

VLAN number. VLAN identifier of statically bound VLANs on the port (1 to 3071)

The vlan-id must exist and be bound to that port.

Tip:

Executing this command applies only one TLV at a time. To affect all optional

TLVs, you should execute the command for different tlv_names, or once with tlv_name=all. When using the “all” option, the VLAN-Name TLVs are sent indicating all VLANs bound to each port.

102 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# set port lldp tlv 5/1 enable port-description

Done!

set port mirror

User level: privileged, supervisor.

Use the set port mirror command to define a port mirroring pair in the stack.

Note:

Note:

Ensure that the VLAN binding parameters are identical on the source and destination ports.

The syntax for this command is: set port mirror source-port <module/port> mirror-port <module/port> sampling <activate> direction <direction> module port

Number of the switch.

Number of the port on the switch.

activate always - keyword to activate the port mirroring entry direction rx - keyword to copy only incoming traffic both - keyword to copy both incoming and outgoing traffic

Example:

C360-N# set port mirror source-port 3/9 mirror-port 4/

10 sampling always direction both

Mirroring both Rx and Tx packets from port 3/9 to port

4/10 is enabled

Issue 1 June 2005 103

Avaya C360 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>/<port> [<name>] module port name

Number of the switch.

Number of the port on the switch.

Name (up to 16 characters)

Example:

Note:

C360-N# set port name 4/21 arthur

Port 4/21 name set.

Note:

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 negotiation

User level: privileged, supervisor.

Use the set port negotiation command to enable or disable the link negotiation protocol on the specified port. This command is available on Fast Ethernet or Gigabit Ethernet ports.

When negotiation is enabled, the speed and duplex of the Fast Ethernet ports are determined by auto-negotiation.

If negotiation is disabled, you can set the speed and duplex of the Fast Ethernet ports.

For Fiber Gigbit Ethernet ports it can determine the flow control (pause) mode only.

104 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: set port negotiation <module>/<port> {enable|disable} module port enable disable

Number of the switch. If you do not specify a number, the ports on all the switches are shown.

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.

Enable port negotiation protocol

Disable port negotiation protocol

Example:

To disable autonegotiation on port 1, module 4:

C360-N# set port negotiation 4/1 disable

Link negotiation protocol disabled on port 4/1.

set port point-to-point admin status

User level: privileged, supervisor.

Use the set port point-to-point admin status command to set the port RSTP point-to-point admin status.

The syntax for this command is: set port point-to-point admin status <module/port> <admin status> module/ port admin status

Port identifier force-true - treat this port as if it is connected point-to-point force-false - treat this port as if it is connected to shared media auto - try to automaticaly detect the connection type of the port

Example:

C360-N# set port point-to-point admin status 1/1

force-true

port 1/1 point to point admin status is set to force-true

Issue 1 June 2005 105

Avaya C360 Layer 2 CLI Commands

set port powerinline

User level: privileged, supervisor.

Use the set port powerinline command to enable or disable the load detection process and power delivery for the port.

The syntax for this command is: set port powerinline

<module_number/port_number> {[enable] | disable} module_num ber

Number of the module hosting the port for which load detection is to be enabled/disabled.

port_number Number of the port for which load detection should be enabled/ disabled.

enable - enables load detection process for port disable - disables load detection process for port

Example:

C360-N# set port powerinline 3/1-3 enable

Load detection process on ports 3/1-3 is enabled

set port powerinline priority

User level: privileged, supervisor.

Use the set port power inline priority command to configure the priority level of powering the port. Possible values are Critical, High, and Low. At power on all ports are set to

Low Priority.

Within each group, the lowest port number has a highest priority, i.e. within the ports 1 to 8, port

1 has the highest priority although its priority is lower than port 9 which belongs to High priority group.

The syntax for this command is: set port powerinline priority <module/port number> <priority> module port number priority

Number of the module hosting the port for which a powerline priority level is to be set.

Number of the port for which a powerline priority level is to be set.

Critical, High, or Low

106 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# set port powerinline priority 2/3 High

Powering priority on port/s 2/3 was set to High

set port powerinline type

User level: privileged, supervisor.

Use the set port powerinline type command to set the type of powered device connected to the PoE port.

The syntax for this command is: set port powerinline type <module/port> string module port string

Number of the module hosting the port for which a powerline priority level is to be set.

Number of the port for which a powerline priority level is to be set.

A description of the type of powered device connected to this port.

Example:

C360-N# set port powerinline type 6/1-3 telephone

Done!

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.

The syntax for this command is: set port redundancy {enable|disable}

Example:

C360-N# set port redundancy enable

All redundancy schemes are now enabled

Issue 1 June 2005 107

Avaya C360 Layer 2 CLI Commands

set port redundancy on/off

User level: privileged, supervisor.

Use the set port redundancy command to defines or remove redundancy pairs. A port redundancy member can be any port (including LAG logical port) that is not a member of a

LAG or another redundancy scheme.

The syntax for this command is: set port redundancy <module>/<prim_port> <module>/<second_port> {on/ off} [<redundancy_name>] prim_port second_port redundancy_nam e

(Optional)

Primary port of the redundancy scheme

Secondary port of the redundancy scheme

Name for the redundancy scheme

Example:

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

Note:

Note:

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.

Use the set port redundancy-intervals command to configurs the two time constants that determine redundancy switchover parameters:

“Min Time-between-switchovers” is the minimum interval between switchover of each pair.

“Switchback-interval” is the period the primary port link has to be “up” before the system switches back.

If the switchback interval is zero, the system never switches back. If it is one, switchback occurs immediately after the primary port link returns.

108 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: set port redundancy-intervals <min-time-between-switchovers>

<switchback-interval> | none min-time-between-switchov ers switchback-interval none

The minimum time between redundancy switchovers for each pair (in milliseconds).

The period the primary port link has to be

“up” before the system switches back (in milliseconds).

If switchback interval is zero, the switchback is immediate

The system switches back only if the secondary link fails.

Example:

C360-N# set port redundancy-intervals 100 20

Done!

set port security

User level: privileged, 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.

The syntax for this command is: set port security { enable | disable } [<module>[/<port>]] enable disable module/port

Enable port mac security

Disable port mac security

Module number/port number.

Example:

C360-N# set port security enable 1/2 port 1/2 secured

Issue 1 June 2005 109

Avaya C360 Layer 2 CLI Commands

set port spantree cost

User level: privileged, supervisor.

Use the set port spantree cost command to set the cost of a port. This value defines which port will be allowed to forward traffic if two ports with different costs cause a loop.

The syntax for this command is: set port spantree cost [module/port] [auto|value] module/port auto value

Module number/port number.

Spantree cost is calculated according to the standard

Number representing the cost. The cost level can be set from 1 to 65535 / 200000000 in STP / RSTP, respectively. A lower cost (lower value) specifies precedence of a port to forward traffic.

Example:

C360-#> set port spantree cost 4/2 4096 port 4/2 spantree cost is 4096

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

Port

Module number

Port number

Example:

C360-N# set port spantree disable 3/1 port 3/1 was disabled on spantree

110 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port spantree enable

User level: privileged, supervisor.

Use the set port spantree enable command to enable the spanning tree mode for specific switch ports.

The syntax for this command is: set port spantree

enable [module/port]

Module Module number

Port Port number

Example:

C360-N# set port spantree enable 3/1 port 3/1 was enabled on spantree

set port spantree force-protocol-migration

User level: privileged, supervisor.

Use the set port spantree force-protocol-migration command to set the port as an RSTP port (and not as common STA port). It forces the port to send a rapid spanning tree

BPDU.

The syntax for this command is: set port spantree force-protocol-migration <module/port> module/ port

Port identifier

Example:

C360-# set port spantree force-protocol-migration 1/1 port 1/1 is forced to send a Rapid spanning tree BPDU

Issue 1 June 2005 111

Avaya C360 Layer 2 CLI Commands

set port spantree priority

User level: privileged, supervisor.

Use the set port spantree command to set the Spanning Tree priority level of a port. This value defines the priority of a port to be blocked in case two ports with the same costs cause a loop.

The syntax for this command is: set port spantree priority [module/port] [value] module/port value

Module number/port number.

Number representing the priority of the bridge. The priority level is from 0 to 240, with 0 indicating high priority and 240 indicating low priority. Value should be in steps of 16; default value is 128.

Example:

C360-N# set port spantree priority 3/4 128 port 3/4 spantree priority is 128

Tip:

Priority value 0 will set the port to Root port.

Tip:

set port speed

User level: privileged, supervisor.

Use the set port speed command to configure the speed of a port or range of 10/

100BASE-T ports.

In auto-negotiation mode, the port's speed is determined by auto negotiation. An error message is generated if you attempt to set the speed when auto negotiation is enabled

Note:

Note:

This command cannot be executed for C360 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 1000 Mbps speed.

112 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is: set port speed <mod_num>/<port_num> <10MB|100MB|1GB> mod_num port_num

Number of the switch.

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 configure port 1 on module 4 to 100 Mbps

C360-N# set port speed 4/1 100MB

Port 4/1 speed set to 100 Mbps.

set port static-vlan

User level: privileged, supervisor.

Use the set port static-vlan command to assign static VLANs to ports.

The syntax for this command is: set port static-vlan [module/port range] [vlan num]

Port range module/port range vlan num vlan to bind to port

Example:

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

Issue 1 June 2005 113

Avaya C360 Layer 2 CLI Commands

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 <module>/<port> {enable|disable} module port enable disable

Number of the switch.

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.

Enable uplink/downlink traps

Disable uplink/downlink traps

Example:

C360-N# set port trap 3/2 enable

Port 3/2 up/down trap enabled.

set port vlan

User level: privileged, supervisor.

Use the set port vlan command to set the port VLAN ID (PVID). If adding a new VLAN, the

VLAN number must be within the range 1 to 3071.

The syntax for this command is: set port vlan <vlan_num> <module>/<port> vlan_num module port

Number identifying the VLAN.

The switch number

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.

114 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

To set VLAN 850 to include ports 4 through 7 on module 3.

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

Use the set port vlan-binding-mode command to define the binding method used by ports.

The syntax for this command is: set port vlan-binding-mode

[port_list] [value] port list value

Switches and ports to bundle (format: module/port)

● static - the port supports only the VLAN as configured per port

● bind-to-configured - the port supports the VLANs configured on the device

● bind-to-all - the port support the whole range of

VLANs on the device

Example:

C360-N# set port vlan-binding-mode 5/5-9 static

Set Port vlan binding method:5/5

Set Port vlan binding method:5/6

Set Port vlan binding method:5/7

Set Port vlan binding method:5/8

Set Port vlan binding method:5/9

Issue 1 June 2005 115

Avaya C360 Layer 2 CLI Commands

set powerinline trap disable

User level: privileged, supervisor.

Use the set powerinline trap disable command to disable PoE trap generation.

Syntax set port powerinline trap disable module module Number of the module (1 to 10)

Example:

C360-N# set powerinline trap disable 6

Done!

set powerinline trap enable

User level: privileged, supervisor.

Use the set powerinline trap enable command to enable PoE trap generation.

Syntax set port powerinline trap disable <module> [<threshold>] module threshold

Number of the module (1 to 10)

(Optional) Power consumption usage for generating traps, in percent. (1 to 99)

Example:

C360-N# set powerinline trap enable 6 70

Done!

116 C360 Converged Stackable Switch Reference Guide, Software V4.5

set ppp authentication incoming

User level: privileged, supervisor.

Use the set ppp authentication command to define the authentication method used for a

PPP server or client session.

The syntax for this command is: set ppp authentication incoming {pap|chap|none} pap chap none

PAP authentication method

CHAP authentication method

No authentication

Example:

C360-N# set ppp authentication incoming chap

PPP requires CHAP authentication for incoming sessions.

set ppp baud-rate

User level: privileged, supervisor.

Defines the baud rate used in PPP sessions.

Note:

Note:

The peer baud rate on the switch must be the same value as the host.

The syntax for this command is: set ppp baud-rate <9600|19200|38400>

Example:

C360-N# set ppp baud-rate 38400 ppp baud rate was set to 38400

Issue 1 June 2005 117

Avaya C360 Layer 2 CLI Commands

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. The chap-secret is not transferable via the configuration upload/download mechanism.

The syntax for this command is: set ppp chap-secret <chap-secret> chap-secret The shared secret, 4 to 32 characters.

Example:

C360-1(super)# set ppp chap secret hush

PPP shared secret for CHAP authentication is set

set ppp incoming timeout

User level: privileged, supervisor.

Use the set ppp incoming timeout command to set the number of minutes until the system automatically disconnects an idle PPP incoming session.

The syntax for this command is: set ppp incoming timeout <time> time The timeout in minutes

Example:

C360-N# set ppp incoming timeout 15

PPP incoming session will automatically disconnect after 15 minutes of idle time

118 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

Note:

Note:

This command is not applicable to C360 switches, which determine the PSU type automatically. This command is used to set the power supply types for P330 switches in the stack.

The syntax for this command is: set psu type [AC|DC][module number]

Example:

C360-N# set psu type DC 3

Power supply type was changed to DC on module 3

set queuing scheme

User level: privileged, supervisor.

Note:

Note:

This command is applicable to C360 switches with Routing 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

H module

Sets queuing scheme to weighted round robin, strict, or the default.

Ratio between high and low priority queues. This parameter is only used when the queuing scheme is weighted round robin.

The module number to which the queuing scheme applies. If no module is specified, the command affects all C360 modules in the stack.

Issue 1 June 2005 119

Avaya C360 Layer 2 CLI Commands

Example:

C360-N# set queuing scheme wrr 10 2

Module Queuing Scheme

------ --------------

2 Wrr 10:1

C360-N# set queuing scheme default

Module Queuing Scheme

------ --------------

1 Default

2 Default

set radius authentication enable/disable

User level: privileged, supervisor.

Use the set radius authentication command to enable or disable RADIUS authentication for the C360 switch.

The syntax for this command is: set radius authentication {enable|disable} enable disable

Enable RADIUS authentication

Disable RADIUS authentication (default)

Example:

C360-1(super)# set radius authentication enable

Done!

120 C360 Converged Stackable Switch Reference Guide, Software V4.5

set radius authentication retry-number

User level: privileged, supervisor.

Use the set radius authentication retry-number command to set the number of times an access request is sent when there is no response.

The syntax for this command is: set radius authentication retry-number <number> number Number of retries

Example:

C360-1(super)# set radius authentication retry-number

3

set radius authentication retry-time

User level: privileged, supervisor.

Use the set radius authentication retry-time command to set the time to wait before re-sending an access request.

The syntax for this command is: set radius authentication retry-time <time> time Retry time in seconds

Example:

C360-1(super)# set radius authentication retry-time 5

Issue 1 June 2005 121

Avaya C360 Layer 2 CLI Commands

set radius authentication secret

User level: supervisor

Use the set radius authentication secret command to enable secret authentication for the C360 unit.

The syntax for this command is: set radius authentication secret <string> string text password

Example:

C360-1(super)# set radius authentication secret hush

Done!

set radius authentication server

User level: privileged, supervisor.

Sets the IP address (and shared secret) of the primary or secondary RADIUS Authentication server.

The syntax for this command is: set radius authentication server <ip-addr> {primary | secondary} ip-addr primary secondary

IP address of the RADIUS authentication server default - Primary authentication server

Secondary authentication server

Example:

C360-1(super)# set radius authentication server

192.40.12.36 primary

Done!

122 C360 Converged Stackable Switch Reference Guide, Software V4.5

set radius authentication udp-port

User level: privileged, supervisor.

Use the set radius authentication udp-port command to set the RFC 2138 approved UDP port number.

Normally, the UDP port number should be set to its default value of 1812. Some early implementations of the RADIUS server used port number 1645.

The syntax for this command is: set radius authentication udp-port <number>

Example:

C360-1(super)# set radius authentication udp-port 300

Done!

set secure mac

User level: 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 <mac-address> port <mod-num>/<port-num> mac-address mac address to be added to CAM table mod-num Module where the secured port is located port-num Secured port number

Example:

C360-1(super)# set secure mac 00-02-03-04-04-05 port

1/1

secure mac 00-02-03-04-04-05 port 1/1 was added

Issue 1 June 2005 123

Avaya C360 Layer 2 CLI Commands

set security mode

User level: supervisor.

Use the set security mode command to enable or disable MAC security at the stack level.

When enabled, the ports are secured based on their individual configuration. When disabled, all the ports in a stack are non-secured.

The syntax for this command is: set security mode {enable|disable}

Example

C360-1(super)# set security mode enable

Switch-Level security mode enabled.

set security violation action

User level: supervisor.

Use the set security violation action command to specify the action taken when there is a security violation

The syntax for this command is: set security violation action {restrict|restrict-and-notify}} restrict Drops the packets for 30 seconds restrict-and-notify Drops the packets for 30 seconds and sends a notification to the management station

Example

C360-1(super)# set security violation action restrict

Switch security violation action restrict.

set snmp community

User level: privileged, supervisor.

Use the set snmp community command to set or modify the switch’s SNMP community strings.

The syntax for this command is: set snmp community <read-only | read-write | trap> [community string]

124 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# set snmp community read-only read

SNMP read-only community string set

set snmp retries

User level: privileged, supervisor.

Use the set snmp retries command to set the number of retries initiated by the C360

Manager when it tries to send SNMP messages to the switch.

The syntax for this command is: set snmp retries <number> number Number of retries

Example:

C360-N# set snmp retries 10

Done!

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 C360 Embedded Web Manager.

The syntax for this command is: set snmp timeout

<number> number Timeout in seconds

Example:

C360-N# set snmp timeout 2000

Done!

Issue 1 June 2005 125

Avaya C360 Layer 2 CLI Commands

set snmp trap

User level: privileged, supervisor.

Use the set snmp trap command to add an entry into the SNMP trap receiver table and to enable or disable the different SNMP traps for a specific receiver.

First add the rcvr_addr and then enable/disable the different traps for it.

The syntax for this command is: set snmp trap <rcvr_addr> set snmp trap <rcvr_addr> {enable|disable} {all|config|fault|...} enable disable all config fault rcvr_addr

Activate SNMP traps

Deactivate SNMP traps

(Optional) Specify all trap types

(Optional) Specify the ConfigChange trap from the

TRAP-MIB.

(Optional) Specify the Fault trap from the TRAP-MIB.

IP address or IP alias of the system to receive SNMP traps

Example:

To enable SNMP ConfigChange traps to a specific manager:

C360-N# set snmp trap 192.168.173.42 enable config

SNMP config change traps enabled.

Example:

To enable all traps to a specific manager:

C360-N# set snmp trap 192.168.173.42 enable all

SNMP all traps enabled.

Example:

To disable SNMP config traps to a specific manager:

C360-N# set snmp trap 192.168.173.42 disable config

SNMP config traps disabled.

126 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

To add an entry in the SNMP trap receiver table with default:

C360-N# set snmp trap 192.168.173.42

SNMP trap receiver added.

set snmp trap auth

User level: privileged, supervisor.

Use the set snmp trap auth command to enables or disable the sending of SNMP traps upon SNMP authentication failure.

The syntax for this command is: set snmp trap {enable|disable} auth

Example:

C360-N# set snmp trap enable auth

Authentication trap enabled

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> path-cost common-spanning-tree - compatible with ieee802.1D standard

rapid-spanning-tree - compatible with ieee802.1W standard

Example:

C360-N# set spantree default-path-cost

rapid-spanning-tree

Spanning tree default path costs is set to rapid spanning tree.

Issue 1 June 2005 127

Avaya C360 Layer 2 CLI Commands

set spantree disable

User level: privileged, supervisor.

Use the set spantree disable command to disable the spanning-tree algorithm for the switch.

Note:

Note:

When you disable STP, blocking ports are disabled in order to prevent loops in the network. As a result, you need to wait 30 seconds before disabling STP if you reset the switch, enable STP, or insert a new station.

The syntax for this command is: set spantree disable

Example:

C360-N# set spantree disable

Succeed to set spantree to disable!

set spantree enable

User level: privileged, supervisor.

Use the set spantree enable command to enable the spanning-tree algorithm for the switch.

Note:

Note:

When you disable STP, blocking ports are disabled in order to prevent loops in the network. As a result, you need to wait 30 seconds before disabling STP if you reset the switch, enable STP, or insert a new station.

The syntax for this command is: set spantree enable

Example:

C360-N# set spantree enable

Succeed to set spantree to disable!

128 C360 Converged Stackable Switch Reference Guide, Software V4.5

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

-delay

The time that is used when transferring the port to forwarding state. Value range is 4-30 and must exceed (Bridge Max Age/

2). Recomended value is 15 seconds.

Example:

C360-N# set spantree forward-delay 15 bridge forward delay is set to 15.

set spantree hello-time

User level: privileged, supervisor.

Use the set spantree hello-time command to set the bridge hello time parameter.

The syntax for this command is: set spantree hello-time <time> hello-tim e

The time interval (in seconds) between the generation of configuration BPDUs by the Root. Value ranges between 1 to

10 and must not exceed (Bridge-Max-Age/2) - 1.

The recommended value is 2 sec.

Example:

C360-N# set spantree hello-time 2 bridge hello time set to 2.

Issue 1 June 2005 129

Avaya C360 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 <seconds> 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).

The recommended value is 20 sec.

Example:

C360-N# set spantree max-age 20 bridge max age is set to 20.

set spantree priority

User level: privileged, supervisor.

The syntax for this command is: set spantree priority <number> number The priority level is from 0 to 61440, with 0 indicating high priority and 61440 indicating low priority; value should be in steps of 4096. Default value is 32768.

Example:

C360-N# set spantree priority 4096

Bridge priority set to 4096.

130 C360 Converged Stackable Switch Reference Guide, Software V4.5

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> rate Value between 1 to 10; recommended value is 3

Example:

C360-N# set spantree tx-hold-count 3 tx hold count is set to 3.

set spantree version

User level: privileged, supervisor.

Use the set spantree version command to set the rapid spanning tree state machine to work as "STP compatible".

The syntax for this command is: set spantree version <version> version common-spanning-tree — compatible with ieee802.1D standard. rapid-spanning-tree — compatible with ieee802.1W standard

Example:

C360-N# set spantree version rapid-spanning-tree

Spanning tree version is set to rapid spanning tree.

Issue 1 June 2005 131

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

Example:

C360-N# set system contact “gregory kohll”

*** Set System Contact ***

System contact set

The contact name string should be typed inside inverted commas.

The name is cleared if you leave this field blank.

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

set system location

User level: privileged, supervisor.

Use the set system location command to set the mib2 system location MIB variable

The syntax for this command is: set system location [string] string

The location name string should be typed inside inverted commas.

The location is cleared if you leave this field blank.

132 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N# set system location documentation

*** Set System Location ***

System location set

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

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

Example:

C360-N# set system name “C360-1”

*** Set System Name ***

System name set

The system name string should be typed inside inverted commas.

The name is cleared if you leave this field blank.

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

Issue 1 June 2005 133

Avaya C360 Layer 2 CLI Commands

set terminal recovery password disable

Tip:

User level: supervisor

Use the set terminal recovery password disable command to disable the recovery password feature.

Tip:

This command can only be run from the console port on the device.

Tip:

Tip:

If the recovery password feature is disabled and you forget your login and password, you will not be able to access the device.

The syntax for this command is: set terminal recovery password disable

Example:

C360-N# set terminal recovery password disable

Done!

set terminal recovery password

User level: supervisor

Use the set terminal recovery password enable command to enable the recovery password feature.

Tip:

Tip:

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:

C360-N# set terminal recovery password enable

Done!

134 C360 Converged Stackable Switch Reference Guide, Software V4.5

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

The syntax for this command is: set time client

{enable|disable} enable disable

Enable periodic network time acquisition

Disable periodic network time acquisition

Example:

C360-N# set time client enable

Time client mode enabled

set time protocol

User level: privileged, supervisor.

Use the set time protocol command to set the protocol for use in the system as either

SNTP protocol or TIME protocol.

The syntax for this command is: set time protocol [sntp-protocol|time-protocol] sntp-protocol Use the SNTP protocol time-protocol Use the TIME protocol

Example:

C360-N# set time protocol sntp-protocol

The protocol has been set to SNTP protocol

C360-N# set time protocol time-protocol

The protocol has been set to TIME protocol

Issue 1 June 2005 135

Avaya C360 Layer 2 CLI Commands

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 IP address of the TIME server.

Example:

C360-N# set time server 192.49.53.68

The Server Ip has been set to 192.49.53.68

set timezone

User level: privileged, supervisor.

Use the set timezone command to assign a timezone name and sets the time difference of the device relative to the Coordinated Universal Time (UTC / GMT).

The minutes parameter can only be set to 30.

The syntax for this command is: set timezone <zone-name> [-]<hours>[:30] zone-name hours

Three-character name of time zone, for example, EST,

GMT

The difference between the time zone and GMT

Example:

C360-N# set timezone EST -5

Timezone set to “EST”, offset from UTC is -5 hours.

136 C360 Converged Stackable Switch Reference Guide, Software V4.5

set trunk

User level: privileged, supervisor.

Use the set trunk command to configure the VLAN tagging mode of a port. set trunk <module/port> {off|dot1q} module port off dot1q

Number of the switch.

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.

Forces the port to become a non-tagging port.

Specifies an IEEE 802.1Q tagging on a Fast Ethernet or Gigabit Ethernet port.

Example:

C360-1# set trunk 3/3 dot1q

Dot1Q VLAN tagging set on port 3/3.

set utilization cpu

User level: privileged, supervisor.

Use the set utilization cpu command to enable CPU utilization monitoring on the specified module.

The syntax for this command is: set utilization cpu

<module-number> module-numb er

The module number for which CPU utilization monitoring is enabled.

Example:

C360-N# set utilization cpu 1

CPU utilization is set on module 1

Done!

Issue 1 June 2005 137

Avaya C360 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 <vlan-id> [name <vlan-name>] vlan-id vlan-name vlan number vlan name

Example:

C360-N# set vlan 3 name gregory

VLAN id 3, vlan-name gregory created.

Note:

Note:

If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

set web aux-files-url

User level: privileged, supervisor.

Use the set web aux-files-url command to allow the Device Manager to automatically locate the URL of the Web server containing the Device Manager help files and Java plug-in.

Note:

Note:

Ensure that the Web server is always accessible to prevent potential delays to

Web access to the device.

The syntax for this command is: set web aux-files-url <//IP address/directory name>

Example:

C360-N# set web aux-files-url //192.168.47.25/

emweb-aux-files

Note:

Note:

If you wish to define a directory name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

138 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

Example:

C360-N# set welcome message avaya

The new welcome string is “avaya”

Note:

Note:

If you wish to define a string which includes spaces, you must enclose the entire string in quotation marks, e.g., "new york".

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:

C360-N# show allowed managers status

Managers are disabled.

Issue 1 June 2005 139

Avaya C360 Layer 2 CLI Commands

show allowed managers table

User level: user, privileged, supervisor

Use the show allowed managers table to display the list of the twenty possible allowed managers IP addresses.

The syntax for this command is: show allowed managers table

Example:

C360-N# 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.

Use the show arp-aging-interval command to display the ARP table aging interval for table entries

.

The syntax for this command is: show arp-aging-interval

Example:

C360-N> show arp-aging-interval

ARP table aging interval is set to 10 minutes.

140 C360 Converged Stackable Switch Reference Guide, Software V4.5

show arp-tx-interval

User level: privileged, supervisor.

Use the show arp-tx-interval command to display the keep-alive frames transmission interval.

The syntax for this command is: show arp-tx-interval

Example:

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

Note:

Note:

Autopartition for the C360 switches will always have the value disabled. This command is used to display the autopartition status for the P330 switches in the stack.

The syntax for this command is: show autopartition [module]

Example:

C360-N> show autopartition 1

Mod Mode

--- -----------

1 Enable

Issue 1 June 2005 141

Avaya C360 Layer 2 CLI Commands

show boot bank

User level: privileged, supervisor.

Use the show boot bank command to display the firmware 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.

Note:

Note:

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.

The syntax for this command is: show boot bank

Example:

C360-N> show boot bank

Boot bank set to bank-a

show cam

User level: user, privileged, supervisor

Use the show cam command to either display the module and port number where a specific

MAC address was learned, or the MAC addresses learned on a specific module and port.

Note:

Note:

MACs associated with LAGs appear under the LAG ID, not under the LAG port.

The syntax for this command is: show cam [module[/port]] module

(Optional) port

(Optional)

Number of the switch. If you do not specify a number, all switches in the stack are shown.

Number of the port on the module. If you do not specify a number, all ports on the specified switch are shown.

142 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example: (by Module/Port)

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

Note:

Note:

MACs associated with LAGs appear under the LAG ID, not under the LAG port.

The syntax for this command is: show cam mac <mac-addr> mac-addr MAC address to search for.

Example:

C360-N# show cam mac 00-00-81-01-23-45

Dest MAC/Route Dest Destination Ports VLAN

------------------- ----------------- ----

00-a0-cc-66-4e-52 1/8 1

Total Matching CAM Entries Displayed = 1

Issue 1 June 2005 143

Avaya C360 Layer 2 CLI Commands

show cam vlan

User level: user, privileged, supervisor

Use the show cam vlan command to display the MAC addresses learned on a specific

VLAN. The MAC addresses are displayed with their destination module and port number.

Note:

Note:

MACs associated with LAGs appear under the LAG ID, not under the LAG port.

The syntax for this command is: show cam vlan <vlan-number> vlan-number The VLAN on which the MAC addresses were learned.

Example:

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

...

...

...

00-50-da-74-71-93 1/8 1

00-50-da-de-75-ca 1/8 1

00-60-08-96-25-20 1/8 1

Total Matching CAM Entries Displayed = 138

show cascading fault-monitoring

User level: user, privileged, supervisor

Use the show cascading fault-monitoring command to display the status of the fault trap sending mode for cascading links.

The syntax for this command is: show cascading fault-monitoring [<mod_num>]

144 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show cascading fault-monitoring 1

Module 1 cascading-down fault monitoring enabled.

Module 1 cascading-up fault monitoring enabled.

show dev log file

User level: privileged, supervisor.

Use the show dev log file command to display the encrypted device’s log file.

The syntax for this command is: show dev log file

Example:

C360-N> show dev log file iW}ZH~YL{}Z(^E^M}=}EsZ^E}Z

ZH~YL{}Zj^M}ZZZZZZDZ(""0Ji HA

Zl{~=ZNLMR}EZZZZZZDZw

Zl~'=;^E}ZK}Esz~[email protected]:3:<w

Z!lZjLMR}EZZZZZZZZDZw:3

ZiW}Zl^>}YZn^=^ZzsDZ

ZZZZZZZZZZZZZZ

show device-mode

User level: user, privileged, supervisor

Use the show device-mode command to show the current C360 operating mode. Possible modes are Router, or Layer 2.

The syntax for this command is: show device-mode

Example:

C360-N> show device mode

Device mode is router

Issue 1 June 2005 145

Avaya C360 Layer 2 CLI Commands

show dot1x

User level: user, privileged, supervisor

Use the show dot1x command to display the system dot1x capabilities, protocol version, and timer values.

The syntax for this command is: show dot1x

Example:

C360-N> show dot1x dot1x Capabilities Authenticator Only

Protocol Version 1 system-auth-control disabled

*** Warning : No authentication can be made because

*** authentication server ( RADIUS ) is disabled/not-exist

show dot1x statistics

User level: user, privileged, supervisor

Use the show dot1x statistics command to display Rx and Tx EAPOL and EAP statistics.

The syntax for this command is: show dot1x statistics

Example:

C360-N> show dot1x statistics

Rx: EAPOL EAPOL EAPOL EAPOL EAP EAP EAP

Total Start Logoff Invalid Resp/Id Resp LenError

-------- -------- -------- -------- -------- -------- --------

0 0 0 0 0 0 0

Tx: EAPOL EAP EAP

Total Req/Id Req

-------- -------- --------

0 0 0

146 C360 Converged Stackable Switch Reference Guide, Software V4.5

show download status

User level: user, privileged, supervisor

Use the show download status command to display a summary of the last software download operation.

The syntax for this command is: show download status

[module_number]

Example:

C360-N> show download status 1

Module #1

===========

Module : 1

Source file : c:\session4.txt

Destination file : module-config

Host : 149.49.75.100

Running state : Idle

Failure display : SCP - Server refused

Last warning : No-warning

Bytes Downloaded : 0

show image version

User level: user, privileged, supervisor

Use the show image version command to display the software version of the image on both memory banks of a specified switch.

The syntax for this command is: show image version

[<slot>] slot Switch number. If you do not specify a number then the image version for all switches in the stack will be displayed.

Issue 1 June 2005 147

Avaya C360 Layer 2 CLI Commands

Example:

C360-N> show image version 1

Mod Module-Type Bank

Version

------ ----------- ----

--------

1 48 10/100Base-Tx-Pwr + 2 SFP ports switch

A 4.3.4

1 48 10/100Base-Tx-Pwr + 2 SFP ports switch

B 4.3.10

show intelligent-multicast

User level: user, privileged, supervisor

Use the show intelligent-multicast command to display the intelligent multicast configuration.

The syntax for this command is: show intelligent-multicast

Example:

C360-N> show intelligent-multicast

Intelligent-multicast configuration:

-----------------------------------intelligent-multicast state ----------------------

Disabled

Intelligent-multicast client-port-pruning time ---

600[Sec]

Intelligent-multicast router-port-pruning time ---

1800[Sec] intelligent-multicast group-filtering-delay time -

10[Sec]

show intelligent-multicast hardware-support

User level: user, privileged, supervisor

Use the show intelligent-multicast hardware-support command to display the intelligent multicast hardware support configuration.

The syntax for this command is: show intelligent-multicast hardware-support

148 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show intelligent-multicast hardware support

Intelligent-multicast HW configuration:

# Module Sub-Module Cascade

------- ---------- --------

1 Support IPMc Not Installed Support IPMc

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:

C360-N> show interface

Interface Name Status VLAN IP address

Netmask

---------------- -------------- ---- ---------------

--------------inband disabled 1 135.64.200.105

255.255.255.0

ppp disabled N/A 0.0.0.0 0.0.0.0

show intermodule port redundancy

User level: user, privileged, supervisor

Use the show intermodule redundancy command to display the intermodule port redundancy entry defined for the stack.

The syntax for this command is: show intermodule port redundancy

Example:

C360-N> show intermodule port redundancy

Primary-Port : 1/1

Primary-Port status : Disable

Secondary-Port : 1/2

Secondary-Port status : Disable

Issue 1 June 2005 149

Avaya C360 Layer 2 CLI Commands

show internal buffering

User level: user, privileged, supervisor

Use the show internal buffering command to display the size options (Maximum,

Minimum, or Medium) of the Receive (Rx) buffer allocated to each port of the specified switch.

Note:

Note:

Internal buffering for the C360 switches will always have the value Not supported

. This command is used to display the internal buffering status for the P330 switches in the stack

The syntax for this command is: show internal buffering [<mod_num>] 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:

C360-N> show internal buffering 1

Module Internal Buffer

------ ---------------

1 med

show ip route

User level: user, privileged, supervisor

Use the show ip route command to display IP routing table entries.

The syntax for this command is: show ip route

150 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show ip route

Destination Gateway

------------- -------------

0.0.0.0 149.49.54.1

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

0.0.0.0 0.0.0.0

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:

C360-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 IP:Port

0x508622f0 2 3des-cbc root

135.64.100.73:4201

Issue 1 June 2005 151

Avaya C360 Layer 2 CLI Commands

show l2-module-config

User level: privileged, supervisor.

Use the show l2-module-config command to display Layer 2 module configuration.

Note:

Note:

If this command is to be implemented on a switch other than the stack master, open a session to the relevant switch.

The syntax for this command is: show l2-module-config

Example:

C360-N> show l2-module-config

Please be patient.

Gathering and displaying the information might take a while.

C360-N(super)# !#

!# Upload time: Unavailable Unavailable

!# System description: Avaya Inc. - C360

!# Master position: 1

!#

!# Module #: 1

!# Module type, expansion type: C364T-PWR-AC

!# Module-CS, expansion-CS: 0.0

!# MAC address: 00-04-0d-3a-3c-00

!# Serial #: 1234567

!# SW versions - bank A, B, Boot: 4.3.4 4.3.10 90.0.33

!# Number of ports: 50!#

!# set port channel 2/30 on "qq"

!#

!#

!# Set queuing scheme parameters.

!# set queuing scheme wrr 10 2 set cascading up fault-monitoring disable 2 set port spantree disable 2/5 set port edge admin state 2/52 non-edge-port

152 C360 Converged Stackable Switch Reference Guide, Software V4.5

set port trap 2/1 disable set port disable 2/1 set port classification 2/2 valuable set port security enable 2/2 set port negotiation 2/11 disable set port duplex 2/11 half set port disable 2/15 set port negotiation 2/31 disable set trunk 2/40 dot1q set trunk 2/44 dot1q set port vlan 500 2/44 set trunk 2/51 dot1q set port dot1x port-control 2/2 force-authorize set port dot1x port-control 2/18 force-authorize set secure mac 00-00-01-02-02-02 port 2/5 set secure mac 00-10-5a-0f-5e-1c port 2/11 set port security enable 2/10 set port vlan-binding-mode 2/42 bind-to-configured set port vlan-binding-mode 2/44 bind-to-all

show l2-stack-config

User level: privileged, supervisor.

Use the show l2-stack-config command to display Layer 2 stack configuration.

The syntax for this command is: show l2-stack-config

Issue 1 June 2005 153

Avaya C360 Layer 2 CLI Commands

Example:

C360-N> show l2-stack-config

C360-N(super)# !#

!# Upload time: Unavailable Unavailable

!# System description: Avaya Inc. - C360

!# 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.22

set logging file enable snmp-server informs retries 5 timeout 30 snmp-server group sammy v3 auth read sammy write sammy snmp-server group sammy v3 priv read iso write iso snmp-server group initial v3 noauth read iso write iso notify iso snmp-server view initial 1.3.6.1.4.1.1751.2.53.1.2.1.3.* included snmp-server host 1.3.4.5 traps v3 noauth initial config generic eth-port-faults sw-redundancy temperature cam-Change l3-fault lag-events policy link-down-fault supply fan cascade security

154 C360 Converged Stackable Switch Reference Guide, Software V4.5

...

set time client disable set ip route 0.0.0.0 149.49.138.1

set logout 0 set vlan 2 name V2 set vlan 3 name V3 set port static-vlan 1/1 3 set port static-vlan 1/2 3 rmon history 1025 1025 interval 30 buckets 10 owner "SYSTEM on console11" rmon history 1026 1025 interval 1800 buckets 10 owner "Administrator on console2" set snmp retries 5 no ip http set ppp authentication incoming chap set ppp incoming timeout 10 set radius authentication enable set radius authentication server 149.49.138.161 primary set radius authentication server 149.49.77.235 secondary set allowed managers ip add 1.1.11.1

show leaky-vlan

User level: privileged, supervisor.

Note:

Note:

This command is not relevant to C360 switches. It appears in the C360 CLI for controlling internal buffering of P330 switches in the stack.

Use the show leaky-vlan command to display the P330 leaky VLAN mode.

The syntax for this command is show leaky-vlan

Issue 1 June 2005 155

Avaya C360 Layer 2 CLI Commands

Example:

P330-N# show leaky-vlan

Leaky VLAN mode Disable

show license

User level: privileged, supervisor.

Use the show license command to display the current licenses installed on the stack.

The syntax for this command is: show license

Example:

C360-#> show license

Mod Application License Key State Feature Flag

--- ------------------- ----------------------------- ---------- ---------

1 smon 0000 0000 0000 0000 0000 0000 licensed 1

show lldp

User level: user, privileged, supervisor

Use the show lldp command to display the LLDP information received on each port.

The syntax for this command is: show lldp [module/port] module port

Number of module (1 to 10)

Number of port(s)

156 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show lldp

Gathering and displaying the information might take a while.

Port number 6/1

-------------------

Remote index = 2

Chassis ID: subtype=4 value 00040d29c576

Port ID: subtype=7 value 048313233343536

Port description: Avaya Inc., C360 Media Gateway, 10/100BaseTx-Pwr

System name = System number 1

System description = Avaya Inc., C360 Converged Media Gateway, SW Version

23.8.51

SysCaps: other repeater bridge accessPoint router phone DOC SIS stationOnly

------- ----- -------- ------ ----------- ------ ----- --- --- ------------

Supported + +

Enabled : + +

Management address: subtype = 1 (ip) value 135.64.103.155

subtype = 6 (mac) value 23a54237bce8

PVID: 50

Static VLANs: 1 name V1

3 name voice-vlan

5 name data-e44

Port number 6/2

-------------------

...

show lldp config

User level: user, privileged, supervisor

Use the show lldp config command to display the global LLDP configuration.

The syntax for this command is: show lldp config

Example:

C360-N> show lldp config

Lldp Configuration

-------------------

Application status: enable

Tx interval: 30 seconds

Tx hold multiplier: 4

Tx delay: 2 seconds

Reinit delay: 2 seconds

Issue 1 June 2005 157

Avaya C360 Layer 2 CLI Commands

show log

User level: privileged, supervisor.

Use the show log command to display an encrypted device’s reset log.

Note:

Note:

This command is for Avaya technical support use.

The syntax for this command is: show log [mod_num]

Example:

C360-N# show log 1

MODULE 1, MESSAGE 01:

00000000 0 05002966 0205 0 0 0 0 0 0 0 0 0 0

MODULE 1, MESSAGE 02:

00000000 0 00004242 0205 0 0 0 0 0 0 0 0 0 0

MODULE 1, MESSAGE 03:

00000000 0 00002395 0205 0 0 0 0 0 0 0 0 0 0

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.

The syntax for this command is: show logging file condition

Example:

C360-N> show logging file condition

*****************************************************

*

*** Message

logging configuration of FILE sink ***

Sink Is Enabled

Sink default severity: none

158 C360 Converged Stackable Switch Reference Guide, Software V4.5

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 [<severity>] [{all|<application>}]

[<number>] [<module number>] severity all

The minimum severity of the logging messages that are displayed. The severity is represented by an integer.

Possible values are:

0 – Emergency

1 – Alert

2 – Critical

3 – Error

4 – Warning

5 – Notification

6 – Informational

7 – Debugging

A keyword signifying that the filter applies to logging messages from all applications.

Issue 1 June 2005 159

Avaya C360 Layer 2 CLI Commands

application number module

The application to which the filter applies. Possible values are:

System

ROUTER

CONFIG

FILESYS

FAN

SUPPLY

SECURITY

CASCADE

QOS

SWITCHFABRIC

LAG

VLAN

SNMP

POLICY

CLI

STP

THRESHOLD

The number of messages to display. If no number is specified, all messages are displayed.

The number of the module from which the displayed messages originated. If no module is specified, messages from all modules are displayed.

Example:

C360-N> show logging file content 7 all

1 > 08/04/2003,15:43:36:CLI-Notification: root: set logging file condition all 7

160 C360 Converged Stackable Switch Reference Guide, Software V4.5

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

Example:

C360-N> show logging server condition 149.49.38.22

*****************************************************

*

*** Message logging configuration of SYSLOG sink ***

Sink Is Enabled

Sink default severity: Warning

Server name: 149.49.38.22

Server facility: local7

Server access level: read-write

Issue 1 June 2005 161

Avaya C360 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.

The syntax for this command is: show logging session condition

Example:

C360-N> show logging session condition

*****************************************************

*

*** Message logging configuration of SESSION sink ***

Sink Is Enabled

Sink default severity: Error

Facility ! Severity Override

-------------------------------------------

SUPPLY ! Warning

Session source ip: 135.64.102.224

show logout

User level: user, privileged, supervisor

Use the show logout command to display the amount of time the CLI remains idle before timing out in minutes.

If the result is 0, there is no timeout limit. The default is 15 minutes.

The syntax for this command is: show logout

Example:

C360-N> show logout

CLI timeout is 10 minutes

162 C360 Converged Stackable Switch Reference Guide, Software V4.5

show mac-aging

User level: user, privileged, supervisor

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:

C360-N> show mac-aging mac aging application is disable d

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:

C360-N> show mac-aging-time

MAC aging time is 5 (min.)

Note:

Note:

The displayed value is the aging time lower limit. The actual aging time can be up to 2 minutes longer.

show module

User level: user, privileged, supervisor

Use the show module command to display switch status and information. For each switch with an expansion sub-module installed, both switch and expansion sub-module type and information are shown.

The syntax for this command is:

Issue 1 June 2005 163

Avaya C360 Layer 2 CLI Commands

show module

[<module>]

module (Optional) Number of the switch/expansion module. If you do not specify a number, all switches/expansion modules are shown.

Example:

C360-N> show module

Mod Type C/S S/N Statuses

--- ------------------ ---- --------

----------------------------

1 C364T-PWR 0.0 1234567 PS:AC Fans:Fail

Mode:Router

C360STK 0.0 Conn-Up:Fail

Conn-Down:Fail

BUPS BUPS:Not Prsnt

Power:800 Watts

Output Fields

Mod

Type

C/S

S/N

Status

Switch number

Switch/Expansion module type

Hardware Configuration Symbol of the switch/ expansion module

Serial number of the switch

Status of the switch (and expansion module)

show module-identity

User level: user, privileged, supervisor

Use the show module-identity command to display the switch identity required for acquiring a license.

The syntax for this command is: show module-identity [module]

164 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show module-identity

Mod Module Identity

--- ---------------

1 1234567

2 4144162

show port

User level: user, privileged, supervisor

Use the show port command to display port status.

The syntax for this command is: show port [<mod_num>[/port_num]] mod_num

(Optional) port_num

(Optional)

Number of the switch. If you do not specify a number, the ports on all the switches are shown.

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.

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: to display the status for port 4 on switch 3

C360-N> show port 3/4

Port Name Status Vlan Level Neg Dup. Spd. Type

------ --------------- --------- ---- ------ ------- ---- ----

------------

3/4 Gregory no link 1 0 enable half 10M 10/

100BaseTx Port

Show Port Output Fields

Port

Name

Status

Vlan

Level

Neg

Switch and port number

Name of port

Status of the port (connected, no link, disabled)

VLAN ID of the port

Priority level of the port (0-7)

The autonegotiation status of the port (enabled, disabled)

Issue 1 June 2005 165

Avaya C360 Layer 2 CLI Commands

Dup

Speed

Type

Duplex setting for the port (full, half)

Speed setting for the port (10Mbps, 100Mbps,

1000Mbps)

Port type, for example:

10/100BASE-Tx, 1000BASE-SX Port, Link

Aggregation Group of 10/100BASE-T ports

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.

The syntax for this command is: set auto-negotiation-flowcontrol-advertisement [mod_num/port_num]

Number of the switch mod_num

(optional) port_num

(optional)

Number of the port

Example:

C360-N> show port

auto-negotiation-flowcontrol-advertisement

Port 1/1 advertises no flow control capabilities.

Port 1/2 advertises no flow control capabilities.

Port 1/3 advertises no flow control capabilities.

show port channel

User level: user, privileged, supervisor

Use the show port channel command to display Link Aggregation Group (LAG) information for a specific switch or port.

The syntax for this command is:

166 C360 Converged Stackable Switch Reference Guide, Software V4.5

show port channel [<mod_num>[/<port_num>]] [info] mod_num

(Optional) port_num

(Optional) info

(Optional)

Number of the switch. If you do not specify a number, the modules on all the switches are shown.

Number of the port on the switch. If you do not specify a number, all the ports on the switch are shown.

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4.

Display port information

Example:

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

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

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:

Issue 1 June 2005 167

Avaya C360 Layer 2 CLI Commands

show port classification [module/[port]] module port

(Optional)

Number of the switch. If you do not specify a number, the ports on all the switches are shown.

Number of the port on the module. If you do not specify a number, all the ports on the module are shown.

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on module 4.

Example:

C360-N> show port classification 4/8

Port Port Classification

------ ---------------------

4/8 regular

C360-N> show port classification 4/9

Port Port Classification

------ ---------------------

4/9 valuable

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

(Optional)

Number of the module.

Number of the port on the module, or range of ports.

168 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show port dot1x 1/3

Port Auth BEnd Port Port Re Quiet ReAuth Server Supp Tx

Max

Number State State Control Status Auth Priod Priod Tmeout Tmeout Priod

Req

------ -------- ------ -------- ------ ---- ----- ------ ------ ------ -----

---

1/3 Init Init Auto Unauth Disa 60 3600 30 30 30 2

Port Number

Auth State

BEnd Stat

Number of the module/port on the module.

The Port Access Entity state. Possible states include:

Initialize

Disconnected

Connecting

Authenticating

Authenticated

Aborting

Held

ForceAuth

ForceUnauth

The current state od the Backend

Authentication state machine. Possible states include:

Request

Response

Success

Fail

Timeout

Idle

Init

Issue 1 June 2005 169

Avaya C360 Layer 2 CLI Commands

Port Control

Port Status

Re Auth

Quiet Period

ReAuth Period

Server Tmout

Supp Tmeout

Tx Priod

Max Req

Port control type.

Valid values include:

● force-authorized

● force-unauthorized

● auto.

The current value of the controlled port status. Possible states include:

Authorized

Unauthorized

The state of reauthentication on the port.

Possible states include:

Enabled - The port connection is reauthenticated after the reAuthPeriod.

Disabled - The port connection is not reauthenticated. The reAuthPeriod is ignored.

The amount of time, in seconds, between sending authentication requests.

The time, in seconds, after which the port connection should be reauthenticated.

The amount of time, in seconds, the C360 waits for a response from the RADIUS server.

The amount of time, in seconds, before resending authentication requests.

The amount of time, in seconds, in which an authentication request must be answered.

The maximum number of times a request for authentication is sent before timing out.

170 C360 Converged Stackable Switch Reference Guide, Software V4.5

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

(Optional)

Number of the module.

Number of the port on the module, or range of ports.

Example:

C360-N> show port statistics 1/1

Port Tx_Req/Id Tx_Req Tx_Total Rx_Start Rx_Logff Rx_Resp/Id Rx_Resp

------ --------- -------- --------- -------- -------- ---------- ---------

1/1 2 5 0 0 0 0 0

Port Rx_Invalid Rx_Len_Err Rx_Total Last_Rx_Frm_Ver Last_Rx_Frm_Src_Mac

------ ---------- ---------- --------- --------------- -------------------

1/1 0 0 0 0 1d-80-00-00-00-00

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.

Note:

Note:

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.

The syntax for this command is: show port edge state <module/port> module/ port

Port identifier

Issue 1 June 2005 171

Avaya C360 Layer 2 CLI Commands

Example:

C360-N> show port edge state

Port admin state oper state

------- ------------- -------------

1/1 edge-port edge-port

1/2 non-edge-port non-edge-port

show port flowcontrol

User level: user, privileged, supervisor

Use the show port flowcontrol command to display per-port status information related to flow control.

The syntax for this command is: show port flowcontrol

[<mod_num>[/<port_num>]] module

(Optional) port

(Optional)

Number of the switch . If you do not specify a number, all switches are shown.

Number of the port on the switch. If you do not specify a number, all ports on the specified switch are shown.

Example:

C360-N> show port flowcontrol 3/4

Port Send-Flowcontrol Receive-Flowcontrol

Admin Oper Admin Oper

------ ----- ---- ----- ----

3/4 off off off off

Output Fields

Port

Send-Flowco ntrol- Admin

Module and port number

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.

172 C360 Converged Stackable Switch Reference Guide, Software V4.5

Send-

Flowcontrol-

Oper

Receive-

Flowcontrol-

Admin

Receive-

Flowcontrol-

Oper

Send flow-control operation mode. Possible modes:

ON indicates that the local port will send flow control frames to the far end.

OFF indicates that the local port will not send flow control frames to the far end.

Receive flow-control administration. Possible settings:

ON indicates that the local port will act upon flow control indications if received from the far end.

OFF indicates that the local port will discard flow control frames if received from the far end.

Receive flow-control operation mode. Possible modes:

ON indicates that the local port will act upon flow control indications received from the far end.

OFF indicates that the local port will discard flow control frames received from the far end.

show port lldp config

User level: user, privileged, supervisor

Use the show port lldp config command to display port-level lldp configuration.

The syntax for this command is: show port lldp config [module/port] module port

Number of module (1 to 10)

Number of port(s)

Example:

C360-M> show port lldp config

Port Status portDesc SysName sysDesc System capability Managemant addr PVID

--------------------- ------- -----------------------------------

10/3 txAndRx enable

10/4 txAndRx enable enable enable enable enable enable disable enable disable disable disable

10/5

10/6

… txAndRx enable txAndRx enable enable enable enable disable enable enable enable disable enable enable

Issue 1 June 2005 173

Avaya C360 Layer 2 CLI Commands

show port lldp vlan-name config

User level: user, privileged, supervisor

Use the show port lldp vlan-name config command to show the VLAN-Name TLVs that are being transmitted on a specific port

The syntax for this command is: show port lldp vlan-name config [module/port] module port

Number of module (1 to 10)

Number of port(s)

Example

C360-N> show port lldp vlan-name config

Port Transmitted VLAN-IDs

------------------------

10/3 1, 3 , 50 ,300

10/4 3, 50

174 C360 Converged Stackable Switch Reference Guide, Software V4.5

show port mirror

User level: user, privileged, supervisor

Use the show port mirror command to display mirroring information for the stack.

The syntax for this command is: show port mirror

Example:

C360-N> show port mirror port mirroring

--------------

Mirroring both Rx and Tx packets from port 3/2 to port

4/4 is enabled

C360-N>show port mirror port mirroring

show port point-to-point status

User level: user, privileged, supervisor

Use the show port point-to-point status command to show the port’s point-to-point admin and operational RSTP status.

The syntax for this command is: show port point-to-point status <module/port> module/ port

Port identifier

Example:

C360-N> show port point-to-point status

Port point-to-point admin state point-to-point oper state

------- ---------------------------- --------------------------

1/1 auto point to point connection

1/2 auto point to point connection

1/3 auto point to point connection

1/4 auto point to point connection

1/5 auto point to point connection

1/6 auto point to point connection

1/7 auto point to point connection

Issue 1 June 2005 175

Avaya C360 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.

The syntax for this command is: show port redundancy

Example:

C360-N> show port redundancy

Redundancy Name Primary Port Secondary Port Status

----------------- -------------- ---------------- -------gregory 3/48 3/47 secondary rafi 3/46 3/45 secondary meir 3/1 3/2 primary arie 3/34 3/33 secondary

Port Redundancy global state is enable

Minimum Time between Switchovers: 1

Switchback interval: 3

show port security

User level: user, privileged, supervisor

Use the show port security command to list the security mode of the ports of a switch or stack. When no port number is specified, this command displays all the secured ports in the stack.

The syntax for this command is: show port security [<module>[/<port>]]

Example:

C360-N> show port security 1

Switch-level security mode disabled

Violation action is restrict and notify

Port Status

------ ---------

1/1 enabled

1/2 disabled

1/3 disabled

...

176 C360 Converged Stackable Switch Reference Guide, Software V4.5

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>[/<port>]] module

(Optional) port

(Optional)

Number of the switches. If you do not specify a number, the ports on all the switches are shown.

Number of the port on the switch. If you do not specify a number, all the ports on the switch are shown.

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4.

Example:

C360-N> show port trap 4/1

Port 4/1 up/down trap is disabled

show port vlan-binding-mode

User level: user, privileged, supervisor

Use the show port-vlan-binding command to display port vlan binding mode information.

The syntax for this command is: show port vlan-binding-mode [module[/port]] module port

(Optional)

Number of the switch. If you do not specify a number, the ports on all the switches are shown.

Number of the port on the switch. If you do not specify a number, all the ports on the switch are shown.

You can also specify a range of ports separated by a dash, for example, 4/5-13 for ports 5 to 13 on switch 4.

Issue 1 June 2005 177

Avaya C360 Layer 2 CLI Commands

Example:

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

178 C360 Converged Stackable Switch Reference Guide, Software V4.5

show powerinline

User level: user, privileged, supervisor

Note:

Note:

This command applies to the C363T-PWR and C364T-PWR only.

Use the show powerinline command to display the current status of the PD inline power on all ports.

The syntax of this command is: show powerinline <mod_number [/<port_number>]>

Examples:

C360-N> sh powerinline

Actual powerinline power consumption is 0 W.

Powerinline power consumption trap threshold is 519(99%) Watts.

Powerinline traps are enable

Port Inline Operational Powering PD

Status Priority Type

------ ------------------------ --------- -------

1/1 Searching Low telephone

1/2 Searching Low telephone

1/3 Searching High telephone

1/4 Searching Low telephone

1/5 Searching Low telephone

1/6 Searching Low telephone

1/7 Searching Low telephone

1/8 Searching Low telephone

1/9 Searching Low telephone

1/10 Searching Low telephone

1/11 Searching Low telephone

1/12 Searching Low telephone

1/13 Searching Low telephone

1/14 Searching Low telephone

1/15 Searching Low telephone

1/16 Searching Low telephone

1/17 Searching Low telephone

--type q to quit or space key to continue--

C360-N> sh powerinline 1/2

Actual powerinline power consumption is 0 W.

Powerinline power consumption trap threshold is 519(99%) Watts.

Powerinline traps are enable

Port Inline Operational Powering PD

Status Priority Type

------ ------------------------ --------- -------

1/2 Searching Low telephone

Issue 1 June 2005 179

Avaya C360 Layer 2 CLI Commands

show ppp authentication

User level: user, privileged, supervisor

Use the show ppp authentication command to display the authentication method used for

PPP sessions.

The syntax for this command is: show ppp authentication

Example:

C360-N> show ppp authentication

PPP Authentication Parameters:

------------------------------

Incoming: CHAP

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:

C360-N> show ppp baud-rate

PPP baud rate is 38400

180 C360 Converged Stackable Switch Reference Guide, Software V4.5

show ppp configuration

User level: user, privileged, supervisor

Use the show ppp configuration command to display the ppp configuration.

The syntax for this command is: show ppp configuration

Example:

C360-N> show ppp configuration

PPP baud rate is 38400

PPP incoming timeout is 15 minutes

PPP Authentication Parameters:

------------------------------

Incoming: None

show ppp incoming timeout

User level: user, privileged, supervisor

Use this show ppp incoming timeout command to display the amount of time in minutes that a PPP session can remain idle before being automatically disconnected.

The syntax for this command is: show ppp incoming timeout

Example:

C360-N> show ppp incoming timeout

PPP incoming timeout is 15 minutes

Issue 1 June 2005 181

Avaya C360 Layer 2 CLI Commands

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.

The syntax for this command is: show ppp session

Example:

C360-N> show ppp session

show protocol

User level: user, privileged, supervisor

Use the show protocol command to display the current state of allowed protocols on the switch.

The syntax for this command is: show protocol

Example:

C360-N> show protocol

Protocols Status

------------ --------

SSH ON

TELNET-CLIENT OFF

SNMPv1 ON

SNMPv3 ON

TELNET ON

HTTP ON

ICMP redirect ON recovery-password ON

182 C360 Converged Stackable Switch Reference Guide, Software V4.5

show queuing scheme

User level: user, privileged, supervisor

Note:

Note:

This command is available on C360 switches with Routing only

Use the show queuing scheme command to display the current queuing scheme settings.

Note:

Note:

If this command is to be implemented on a C360 switch other than the stack master, open a session to the relevant switch.

The syntax for this command is: show queuing scheme

Example:

C360-N> show queuing scheme

Module Queuing Scheme

------ --------------

1 Wrr 1:4:16:64

show radius authentication

User level: user, privileged, supervisor

Use the show radius authentication command to display all RADIUS authentication configurations.

The syntax for this command is: show radius authentication

Example:

C360-N> show radius authentication

Mode: Enabled

Primary-server: 192.168.42.252

Secondary-server: 192.168.48.134

Retry-number: 4

Retry-time: 5

UDP-port: 1645

Shared-secret: sodot

Issue 1 June 2005 183

Avaya C360 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 C360 Device Manager.

The syntax for this command is: show rmon alarm [<Alarm Index>]

Alarm Index History index defined using rmon alarm command or the C360 Manager.

Example:

C360-N> show rmon alarm 1026 alarm alarm 1026 is active, owned by amir

Monitors ifEntry.1.1026 every 60 seconds

Taking delta samples, last value was 1712

Rising threshold is 10000, assigned to event # 1054

Falling threshold is 10, assigned to event # 1054

On startup enable rising or_falling alarms

.

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 C360 Device Manager.

The syntax for this command is: show rmon event [<Event Index>]

Alarm Index History index defined using rmon event command or the C360 Manager

184 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

C360-N> show rmon event 1026 event

Event 1054 is active, owned by amir

Description is event for monitoring amir's co

Event firing causes log and trap to community public,last fired 0:0:0

show rmon history

User level: user, privileged, supervisor

Use the show rmon history command to display the most recent RMON history log for a given History Index. The history index is defined using the rmon history command or using an RMON management tool.

The syntax for this command is: show rmon history [<History Index>]

History Index History index defined using rmon history command or RMON management tool

Example:

C360-N> show rmon history 1026 history

Entry 1026 is active, owned by amir

Monitors ifEntry.1.1026 every 30 seconds

Requested # of time intervals, ie buckets, is 20

Granted # of time intervals, ie buckets, is 20

Sample # 1 began measuring at 2:53:9

Received 62545 octets, 642 packets,

391 broadcast and 145 multicast packets,

0 undersize and 0 oversize packets,

0 fragments and 0 jabbers,

0 CRC alignment errors and 0 collisions,

# of dropped packet events (due to a lack of resources): 0

Network utilization is estimated at 0

Issue 1 June 2005 185

Avaya C360 Layer 2 CLI Commands

show rmon statistics

User level: user, privileged, supervisor

Use the show rmon statistics command to show the Received Packet RMON statistics counters for a certain interface number according to the MIB-2 interface table numbering scheme.

The syntax for this command is: show rmon statistics <module/port> module/port Range of ports

Example:

C360-N> show rmon statistics

Statistics for switch is active,owned by Monitor

Monitors ifEntry.1.1026 which has

Received 26375085 octets, 222536 packets,

154821 broadcast and 53909 multicast packets,

0 undersize and 0 oversize packets,

0 fragments and 0 jabbers,

1 CRC alignment errors and 0 collisions,

# of dropped packet events (due to a lack of resources): 0

# of packets received of length (in octets):

64:94530, 65-127:85124, 128-255:25896,

256-511:10440, 512-1023:6057, 1024-1518:489

186 C360 Converged Stackable Switch Reference Guide, Software V4.5

show secure current

User level: user, privileged, supervisor

Use the show secure current command to list the IP addresses of managers currently connected to the switch.

The syntax for this command is: show secure current

Example:

C360-N> show secure current

IP Address Time Since Last Request(In Sec)

-------------- ------------------------------------

135.64.100.205 7

149.49.77.13 13

149.49.77.7 2

show secure mac

User level: privileged, supervisor

Use the show secure mac port command to display the secure MAC address defined for a secured port, a range of ports or all ports on the switch.

The syntax for this command is: show secure mac [<mod>[/<port>]] module port

Module where the secured port is located

Secured port number

Example:

C360-N> show secure mac 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

Issue 1 June 2005 187

Avaya C360 Layer 2 CLI Commands

Use the show security mode command to display the mac security mode of the stack.

The syntax for this command is: show security mode

Example:

C360-N>

show security mode

Switch-level security mode disabled

Violation action is restrict and notify

show serial-number

User level: user, privileged, supervisor

Use the show serial-number command to display the serial number of the switch.

Tip:

Tip:

This number contains information that may be required by Avaya Technical

Support. It is recommended to have the serial number available when you contact them.

The syntax for this command is: show serial-number

Example:

C360-N>

show serial number

Serial number: 1234567

New format: 255255//255255255255255255255255

show snmp

User level: user, privileged, supervisor

Use the show snmp command to display SNMP information.

The syntax for this command is: show snmp

188 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example

C360-N> show snmp

Authentication trap enabled

Community-Access Community-String

---------------- ---------------read-only public read-write public trap meir

Trap-Rec-Address Status Traps Configured

---------------- -------- ----------------

135.64.100.73 Enabled config

fault

trafic_threshold

module_De-Enrollment

module_Enrollment

delete_SW_redundancy_entry

create_SW_redundancy_entry

temperature_warning

general_threshold

cam_change

duplicate_ip

ip_vlan_violation

link_aggregation_connection_fault

link_aggregation_connection_return

link_aggregation_partial_fault

link_aggregation_partial_return

link_aggregation_auto_neg_fault

link_aggregation_auto_neg_fault_return

delete_lag

create_new_lag

active_policy_list_change

policy_access_control_violation

PSU_module_fault

PSU_module_fault_return

BUPS_module_fault

BUPS_module_fault_return

BUPS_fans_module_fault

BUPS_fans_module_fault_return

fans_module_fault

fans_module_fault_return

cascade_up_connection_fault

Cascade_up_connection_fault_return

Cascade_down_connection_fault

SNMPv3 Notifications Status

-----------------------------

Traps: Disabled

Informs: Disabled Retries: 3 Timeout: 3 seconds

SNMP-Rec-Address Model Level Notification Trap/Inform User name

---------------- ----- ------- --------------- ----------- ---------------

Issue 1 June 2005 189

Avaya C360 Layer 2 CLI Commands

show snmp engineID

User level: supervisor

Use the show snmp engineID command to display SNMP engine information.

The syntax for this command is: show snmp engineID

Example:

C360-N> show snmp engineID

EngineId: 1a:e9:00:00:01:95:31:8a:9d

EngineBoots: 3

Output fields:

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 the show snmp group command to display SNMP groups.

The syntax for this command is: show snmp group [<group-name>]] group name

(Optional)

The name of a group to display. If no group is specified, all groups are displayed.

190 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

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

...

show snmp retries

User level: user, privileged, supervisor

Use the show snmp retries command to display the number of retries initiated by the C360

Device Manager when it tries to send SNMP messages to the device.

The syntax for this command is: show snmp retries

Example:

C360-N> show snmp retries the SNMP Retries Number is 3

Issue 1 June 2005 191

Avaya C360 Layer 2 CLI Commands

show snmp timeout

User level: user, privileged, supervisor

Use the show snmp timeout command to display the default SNMP timeout in seconds. The

SNMP timeout is only for the Avaya C360 Device Manager.

Tip:

Tip:

This command is useful for access using the Device Manager.

The syntax for this command is: show snmp timeout

Example:

C360-N> show snmp timeout the SNMP Timeout is 2000

192 C360 Converged Stackable Switch Reference Guide, Software V4.5

show snmp userToGroup

User level: supervisor

Use the show snmp userToGroup command to display the assignment of users to SNMPv3 groups.

The syntax for this command is: show snmp userToGroup

Example:

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

Issue 1 June 2005 193

Avaya C360 Layer 2 CLI Commands

show snmp view

User level: supervisor

Use the show snmp view command to display SNMP views configurations. If no view name is provided, the configuration of all SNMP views is displayed.

The syntax for this command is: show snmp view [<viewname>] viewname

(Optional)

Name of the view. If you do not specify a view, the configuration of all SNMP views is displayed.

Example:

C360-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.6

Subtree Mask:

View Type: exclude

Storage Type: nonVolatile

Status: active

Output fields:

View Name

Subtree Oid

The name of the view.

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. Each bit specifies whether or not the corresponding sub-identifiers must match when determining if an object identifier is in this family of view subtrees; a '1' indicates that an exact match must occur; a

'0' indicates 'wild card'. no mask is treated as mask with all-1s

194 C360 Converged Stackable Switch Reference Guide, Software V4.5

View Type

Storage Type

Status of whether the MIB subtree is included or excluded.

The type of storage used to store the view configuration.

Possible values are:

● nonVolatile – The configuration is saved in non-volatile memory and is retained after the stack is reset.

Volatile – The configuration is saved in volatile memory and is not retained when the stack is reset.

Issue 1 June 2005 195

Avaya C360 Layer 2 CLI Commands

show spantree

User level: user, privileged, supervisor

Use the show spantree command to display spanning-tree information.

The syntax for this command is: show spantree [<mod_num>[/<port_num>]] mod_num

(Optional) port

(Optional)

Number of the switch. If you do not specify a number, all switches are shown.

Number of the port on the switch. If you do not specify a number, all ports on the specified switch are shown.

Example:

C360-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 according to common spanning tree

Port State Cost Priority

------ ------------- ---------- ------------

4 /1 not-connected 19 128

4 /2 not-connected 19 128

4 /3 LAG-member 19 128

4 /4 LAG-member 19 128

4 /5 not-connected 19 128

4 /6 not-connected 19 128

4 /8 not-connected 19 128

4 /9 not-connected 19 128

4 /10 not-connected 19 128

4 /11 not-connected 19 128

196 C360 Converged Stackable Switch Reference Guide, Software V4.5

Output fields:

Spanning tree Status of whether Spanning-Tree Protocol is enabled or disabled

Designated

Root

MAC address of the designated spanning-tree root bridge

Priority of the designated root bridge Designated

Root Priority

Designated

Root Cost

Total path cost to reach the root

Designated

Root Port

Root Max

Age

Hello Time

Root Forward

Delay

Port through which the root bridge can be reached

(shown only on nonroot bridges)

Amount of time a BPDU packet should be considered valid

Number of times the root bridge sends BPDUs

This time value, measured in units of hundredths of a second, controls how fast a port changes its spanning state when moving towards the Forwarding state.

Bridge MAC address used in the sent BPDUs Bridge ID

MAC ADDR

Bridge ID

Priority

Bridge Max

Age

Bridge Hello

Time

Bridge priority

The value that all bridges use for MaxAge when this bridge is acting as the root.

The value that all bridges use for HelloTime when this bridge is acting as the root.

The value that all bridges use for ForwardDelay when this bridge is acting as the root.

Bridge

Forward

Delay

Tx Hold

Count

Soanning

Tree Version

Spanning

Tree Default

Path Costs

Port

The value used by the Port Transmit state machine to limit the maximum transmission rate.

The version of Spanning Tree Protocol the bridge is currently running

The version of the Spanning Tree default Path Costs that are to be used by this Bridge.

Port number

Issue 1 June 2005 197

Avaya C360 Layer 2 CLI Commands

State

Cost

Priority

Spanning-tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging, or type-pvid-inconsistent)

Cost associated with the port

Priority associated with the port

show system

User level: user, privileged, supervisor

Use the show system command to display the up time, system name, location, and contact person.

The syntax for this command is: show system

Example:

C360-N> show system

Uptime d,h:m:s

------------------------

0,1:20:45

System Name System Location System Contact

------------------------- ------------------------- ---------------------techdoc documentation gregory kohll

Switch MAC address

------------------

00 04 0d 3a 3c 00

198 C360 Converged Stackable Switch Reference Guide, Software V4.5

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 firmware (Device Manager) download process into the device.

The syntax for this command is: show tftp download software status [<mod_num>]

Example:

C360-N> show tftp download software status

Module #1

===========

Module : 1

Source file : p340_4_0_4.web

Destination file : EW_Archive

Host : 149.49.100.51

Running state : Idle

Failure display : (null)

Last warning : No-warning

Bytes Downloaded : 1860987

==============================

show time

User level: user, privileged, supervisor

Use the show time command to display the current C360 time and timezone.

The syntax for this command is: show time

Example:

C360-N> show time

10:32:34 27 JAN 2000 GMT

Issue 1 June 2005 199

Avaya C360 Layer 2 CLI Commands

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:

C360-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. broadcast address)

Time acquired from Time-Server: 0.0.0.0

Time protocol set to : TIME protcol

show timeout

User level: user, privileged, supervisor

Use the show timeout command to display the amount of time the CLI can remain idle before timing out in minutes. If the result is 0, there is no timeout limit. The default is 15 minutes.

The syntax for this command is: show timeout

Example:

C360-N> show timeout

CLI timeout is 10 minutes

200 C360 Converged Stackable Switch Reference Guide, Software V4.5

show timezone

User level: user, privileged, supervisor

Use the show timezone command to display the current C360 time zone.

The syntax for this command is: show timezone

Example:

C360-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 [<module>[/<port>]] mod_num

(Optional) port_num

(Optional)

Number of the switch. If you do not specify a number, all switches in the stack are shown.

Number of the port on the switch. If you do not specify a number, all ports on the specificity switch are shown.

You can specify a port range.

Issue 1 June 2005 201

Avaya C360 Layer 2 CLI Commands

Example:

C360-N> show trunk 1/42-44

Port Mode Binding mode Native vlan Vlans allowed on trunk

------ ----- ------------------------- -----------

----------------------

1/42 off bound to configured vlans 1 1-9,500

Port Mode Binding mode Native vlan Vlans allowed on trunk

------ ----- ------------------------- -----------

----------------------

1/43 off statically bound 1 1,7-8

Port Mode Binding mode Native vlan Vlans allowed on trunk

------ ----- ------------------------- -----------

----------------------

1/44 dot1q bound to all vlans 500 1-3071

Output Fields:

Field

Port

Mode

Binding mode

Native VLAN

Description

Switch and port number(s)

Tag status of the port (dot1q - dot1Q tagging mode, off - clear mode).

Binding mode of the port

Number of the Port VLAN ID (the VLAN to which received untagged traffic will be assigned).

202 C360 Converged Stackable Switch Reference Guide, Software V4.5

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 [module_number] module_num ber

(Optional)

Number of the module. If you do not specify a number, upload statuses for all modules in the stack are shown.

Example:

C360-N> show upload status 1

Module : 1

Source file : stack-config

Destination file : c:\conf.cfg

Host : 149.49.36.200

Running state : Executing

Failure display : (null)

Last warning : No-warning

Issue 1 June 2005 203

Avaya C360 Layer 2 CLI Commands

show username

User level: supervisor

Use the show username command to display the local user accounts.

The syntax for this command is: show username

Example:

C360-1(super)# show username

User account password access-type

-------------------------------

-------------------------------- -------root ***** admin gkohll ***** read-only readwrite ***** read-write

show utilization

User level: privileged, supervisor.

Use the show utilization command to display CPU utilization statistics for modules in the stack.

The syntax for this command is: show utilization [module] module The module for which to display utilization statistics. If no module is specified, utilization statistics for all modules is displayed.

Example:

C360-N# show utilization

Mod CPU CPU RAM RAM

5sec 60sec used(%) Total(Kb)

--- ------ ----- ------- ----------

1 1% 2% 35% 48999 Kb

204 C360 Converged Stackable Switch Reference Guide, Software V4.5

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-id> | name <vlan-name> }

vlan-id

vlan-name

The VLAN ID for which to display bound ports.

The VLAN name for which to display bound ports.

Example:

C360-N> show vlan

VLAN ID Vlan-name

------- --------------------------------

1 v1

5 V5

10 V10

15 V15

20 V20

25 V25

C360-N> show vlan 7

VLAN ID Vlan-name

------- --------------------------------

7 V7

Switch Ports currently bound to this vlan:

In module 1 : 9 42 43 44

Switch Ports statically bound to this vlan:

In module 1 : 43

Output Fields:

Field

VLAN ID

Vlan-name

Description

The VLAN ID.

The VLAN name.

Issue 1 June 2005 205

Avaya C360 Layer 2 CLI Commands

Switch Ports currently bound to this vlan

Switch Ports statically 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 that are statically bound to this VLAN.

show web aux-files-url

User level: user, privileged, supervisor

Displays the URL/directory from where the switch can access the Device Manager auxiliary files

(for example help files).

The syntax for this command is: show web aux-files-url

Example:

C360-N> show web aux-files-url the web aux-files-url is 149.49.36.212/P330test

snmp-server engineID

User level: supervisor

Use the snmp-server engineID command to change the SNMP Engine ID.

Use the no snmp-server engineID to return the SNMP Engine ID to the default value.

The syntax for this command is: snmp-server engineID <engineID> engineID A 5 to 32 byte string represented as hexadecimal numbers separated by the colon character.

Example:

C360-N#

snmp-server engineID 1a:e9:00:00:01:95:31:8a:9d

EngineID changed

Done!!

206 C360 Converged Stackable Switch Reference Guide, Software V4.5

snmp-server group

User level: supervisor

Use the snmp-server group command to configure SNMPv3 groups.

Use the no snmp-server group command to remove an SNMPv3 group.

The syntax for this command is: snmp-server group <groupname> [v1 | v2c | v3 { noauth | auth | priv }][read readview][write writeview] [notify notifyview] groupname v1, v2c, v3 noauth auth priv read readview write writeview notify notifyview

Variable that specifies the name of the SNMP group. The maximum length is 32 bytes.

The security model assigned to the group.

No authentication required.

Requires authentication with no encryption.

Requires authentication with encryption

Keyword that specifies a view for SNMP get requests. If this keyword is not included in the command, the group has no associated read view.

The name of the view for SNMP get requests.

Keyword that specifies a view for SNMP set requests. If this keyword is not included in the command, the group has no associated write view.

The name of the view for SNMP set requests.

Keyword that specifies a view for SNMP notifications. If this keyword is not included in the command, the group has no associated notify view.

The name of the view for SNMP notifications.

Example:

C360-N# snmp-server group newgroupG v3 noauth read

4L2readonlyV3 write 32initialView notify TrapSender4V

Done!!

Issue 1 June 2005 207

Avaya C360 Layer 2 CLI Commands

snmp-server host

User level: supervisor

Use the snmp-server host command to specify the recipient of the notification operations and filter traps to that station. This command provides maximum flexibility.

Use the no snmp-server host command to remove an SNMPv3 notification host.

The syntax for this command is: snmp-server host <host-addr> {traps | informs} {{v1 | v2c}

<community-name>} | {v3 {auth | noauth | priv} <security-name>}

[udp-port <port>] [<notification-type-list>] host-addr traps inform v1, v2c, v3 community-name noauth auth priv

Specifies the address (or host name) of the notification recipient agent. The maximum length is 32 bytes.

Use traps for notification to the specified recipient

Use informs for notification to the specified recipient

The security model assigned to the host.

The SNMPv1/SNMPv2c community string to use for notifications.

No authentication required

Requires authentication with no encryption.

Requires authentication with encryption.

security-name The SNMPv3 user name to use for notifications 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.

208 C360 Converged Stackable Switch Reference Guide, Software V4.5

port notification-type-list

(Optional)

The UDP port on the target host to which notifications are sent.

List of notification types. Each types combines related notifications. You can enable or disable notification generations on a per group basis. For example, the swRedundancy type groups new and delete software redundancy notifications.

If no notification-type-list is specified, the default, all, is used.

● all/* – All traps generic – Generic traps config – Config change notifications eth-port-faults – Ethernet port fault notifications sw-redundancy – Software redundancy notifications

● temperature – Temperature warning notifications cam-change – Changes in CAM notifications l3-faults – Layer 3 faults, including duplicate IP and

VLAN violations lag-event – Link aggregation faults and configuration changes

● policy – Changes in policy notifications (for L3 devices) link-down-faults – ITC proprietary link down notifications

● supply – Power supply notifications (main and backup)

● fan – FAN faults notifications (main and backup) cascade – Cascade connection fault notifications.

● security group –

Note that the list of notification names is proprietary to

ITC.

Example:

C360-N> snmp-server host 149.49.38.221 informs v3

noauth charlieBrown

Done!!

Issue 1 June 2005 209

Avaya C360 Layer 2 CLI Commands

snmp-server informs

User level: supervisor

Use the snmp-server informs command to configure inform parameters.

The syntax for this command is: snmp-server informs retries <retries-num> timeout <seconds> retries-num seconds

Maximum number of times to resend an inform request.

Number of seconds to wait for an acknowledgment before resending. The default is 3.

Example:

C360-N# snmp-server informs retries 5 timeout 30

Done!!

snmp-server remote-user

User level: supervisor

Use the snmp-server remote user command to configure a remote-user as a target for

SNMP notifications.

Use the no snmp-server remote user command to remove a remote-user from SNMP notifications

Note:

Note:

A remote user is a user that has an engineID different from the agent's own engineID. This is an engineID of a remote SNMP entity – the SNMP manger that receives the informs.

The syntax for this command is: snmp-server remote-user <username> <engineID> <group-name> [auth

<type> <auth-password>]| priv des56 <priv-password>]}] username engineID

Variable that specifies the name of the SNMP user. The maximum length is 32 bytes.

The remote SNMP engineID. The SNMP engineID is a string of 5 to 32 hexadecimal numbers.

For example, 00:00:00:81:0a:fe:ff:12:97:33:45:12.

210 C360 Converged Stackable Switch Reference Guide, Software V4.5

group-name v1, v2c, v3

Variable that specifies the name of the SNMP group. The maximum length is 32 bytes

The security model assigned to the user in user to group association.

auth (Optional) A keyword signifying that an authentication password is required.

auth-password The authentication password. Valid lengths are 8 to 64 characters priv des56

(Optional)

A keyword signifying that a privacy password is required.

priv-password The privacy password. Valid lengths are 8 to 64 characters.

Example:

C360-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 SNMPv3 user.

Use the no snmp-server user command to delete an SNMPv3 user.

The syntax for this command is: snmp-server user <username> <group-name> {{v1 | v2c} | {v3 [auth <type>

<auth-password>] [priv des56 <priv-password>]}} username engineID groupname

Variable that specifies the name of the SNMP user. The maximum length is 32 bytes.

The remote SNMP engineID. The SNMP engineID is a string of up to 32 bytes represented as hexadecimal numbers separated by the colon character.

For example, 00:00:00:81:0a:fe:ff:12:97:33:45:12.

When you change the string, the first 5 bytes are created by the device and yo can set the rest (27 bytes).

Variable that specifies the name of the SNMP group. The maximum length is 32 bytes

Issue 1 June 2005 211

Avaya C360 Layer 2 CLI Commands

v1, v2c, v3 The security model assigned to the user in user to group association.

auth (Optional) A keyword signifying that an authentication password is required.

md5 Use HMAC-MD5-96 authentication protocol sha priv des56

(Optional)

Use MAAC-SHA-96 authentication protocol priv-password The privacy password. Valid lengths are 8 to 64 characters.

A keyword signifying that a privacy password is required.

auth-password The authentication password. Valid lengths are 8 to 64 characters

Example:

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

Use the no snmp-server view command to delete an SNMP MIB view.

The syntax for this command is: snmp-server view <view-name> <oid-tree> {included | excluded} view-name oid-tree

Name of the view.

Object identifier (OID) of the ASN.1 subtree to be included or excluded from the view. To identify the subtree, specify a text string consisting of numbers, such as 1.3.6.2.4. To specify a subtree family, use the asterisk as a wildcard character. For example,

1.3.6.1.2.1.2.2.1.*.1 includes access to all elements of the first row in IfTable.

Symbolic MIB object names are not supported.

212 C360 Converged Stackable Switch Reference Guide, Software V4.5

included excluded

Keyword specifying that the subtree specified by oid-tree is included in the view.

Keyword specifying that the subtree specified by oid-tree is excluded from the view.

Example:

C360-N# snmp-server view initial

1.3.6.1.4.1.1751.2.53.1.*.2.1.3 included

Done!!

stack health

User level: privileged, supervisor.

Use the stack health command to test the integrity of stacking modules and cables.

You can only run this command on a stack.

The stack is reset once the command has been executed.

You should not load the stack with traffic during this test.

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:

C360-N> stack health

This operation will eventually result in a Stack reset.

- do you want to continue (Y/N)? y

Start testing stack health....

This test will take a few minutes!!

The stack health test was completed successfully

Issue 1 June 2005 213

Avaya C360 Layer 2 CLI Commands

sync time

User level: privileged, supervisor.

Use the sync time command to synchronize the time used by all modules in the switch.

The syntax for this command is: sync time

Example:

C360-N# sync time

Time has been distributed.

tech

User level: supervisor

Note:

Note:

This command is reserved for service personnel use only.

Use the tech command to enter tech mode.

telnet

User level: user, privileged, supervisor

Use the telnet command to open a Telnet session to a remote host.

The syntax for this command is: telnet

<ip-address> [<port-num>] ip-address port-num

(Optional)

The IP address of the remote host.

The port number over which to open the Telnet connection.

Example:

C360-N> telnet 149.22.38.127

214 C360 Converged Stackable Switch Reference Guide, Software V4.5

terminal length

User level: user, privileged, supervisor

Use the terminal length command to display or set the length screen length in characters.

The syntax for this command is: terminal length [<screen-length>] screen-length

● none – display the current value

● length: 3 to 200

Example:

C360-N> terminal length 24 terminal length: 24

terminal width

User level: user, privileged, supervisor

Use the terminal width command to display or set the screen width.

The syntax for this command is: terminal length [<screen-width>] screen-width

● none – display the current value

● width: 10 to 200

Example:

C360-N> terminal width terminal width: 80 (auto-detected)

Issue 1 June 2005 215

Avaya C360 Layer 2 CLI Commands

tree

User level: user, privileged, supervisor

Use the tree command to display a list of CLI commands available at the current user level.

The syntax for this command is: tree [<depth>

] depth Depth of CLI commands displayed

Example:

C360-N>

tree 1

> clear cam

> clear log

> clear screen

> clear timezone

> clear vlan

> configure

> dir

> disconnect ssh

> get time

> hostname

> ip http

> ip ssh

> ip telnet

> ip telnet-client

> no hostname

> no username

> nvram initialize

> ping

> reset

> reset mgp

> reset powerinline

> reset stack

> reset wan

--type q to quit or space key to continue--

216 C360 Converged Stackable Switch Reference Guide, Software V4.5

username

User level: supervisor

Use the username command to add a local user account.

Note:

Note:

By default there is only a single user account, named "root", with password "root", which access the administrator level. You cannot delete this basic user account, nor can you modify its access level, but you can modify its basic password.

The syntax for this command is: username <name> password <passwd> access-type

{read-only|read-write|admin}

Use the no username command to remove a local CLI user account.

The syntax for this command is: no username <name> name passwd access-type

New user name (minimum four characters)

User’s password (minimum four characters)

Access type definition - read only, read-write or administrator

Example:

C360-1(super)# username john password johnny

access-type read-write

User account added.

C360-1(super)# username root password secret

access-type read-write

ERROR: User account root has always an administrator access type.

C360-1(super)# username root password secret

access-type admin

User account modified.

Note:

Note:

Note:

If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

Note:

You cannot delete the default user account “root”.

Issue 1 June 2005 217

Avaya C360 Layer 2 CLI Commands

218 C360 Converged Stackable Switch Reference Guide, Software V4.5

Chapter 3: Avaya C360 Layer 3 CLI Commands

This chapter provides all the Layer 3 CLI (Command Line Interface) commands, parameters, and their default values.

area

User level: privileged, supervisor.

Note:

Note:

You can only access this command in the “Router-OSPF” context.

Type router ospf at the command prompt to enter the “Router -OSPF” context if necessary.

Use the area command to configure the area ID of the router.

Use the no area command to deleted the area ID of the router (set it to 0) and remove the stub definition.

The default area is 0.0.0.0.

Tip:

Tip:

You cannot define a stub area when OSPF is redistributing other protocols or when the Area ID is 0.0.0.0.

The syntax for this command is:

[no] area <area id> [<stub>] area id stub

IP address

Stub

Example:

Router-N(configure router:ospf)# area 192.168.49.1

Router-N(configure router:ospf)# area 192.168.49.1 stub

Issue 1 June 2005 219

Avaya C360 Layer 3 CLI Commands

arp

User level: privileged, supervisor.

Note:

Note:

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.

The syntax for this command is:

[no] arp <ip-address> <mac-address> ip-address mac-address

IP address, in dotted decimal format, of the station

MAC address of the local data link

Example:

To add a permanent entry for station 192.168.7.8 to the ARP cache:

Router-N(configure)# arp 192.168.7.8

00:40:0d:8c:2a:01

Example:

To remove an entry to the ARP cache for the station 192.168.13.76:

Router-N(configure)# no arp 192.168.13.76

arp timeout

User level: privileged, supervisor.

Note:

Note:

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 timeout command to set the amount of time that an entry remains in the ARP cache.

220 C360 Converged Stackable Switch Reference Guide, Software V4.5

Use the no arp timeout command to restore the default value, 14,400.

The syntax for this command is:

[no] arp timeout <seconds> seconds The amount of time, in seconds, that an entry remains in the arp cache.

Example:

To set the arp timeout to one hour:

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.

Note:

Note:

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 clear arp-cache command to delete dynamic entries from the ARP cache and the

IP route cache.

The syntax for this command is: clear arp cache[<vlan>|<ip addr>[<mask>]] vlan ip addr mask

VLAN string (up to 16 characters)

IP address

IP mask

Example:

Router-N(configure)# clear arp-cache

Flushing all arp entries

Flushed 100 ARP entries

Done!

Issue 1 June 2005 221

Avaya C360 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).

The syntax for this command is: clear ip route * | <ip-addr> [<ip-mask>]

* ip-addr ip-mask

Clears the entire ip routing table

IP address

IP mask address

Example:

Router-N# clear ip route 192.168.49.1 255.255.255.0

clear ip traffic

User level: privileged, supervisor.

Tip:

Tip:

This command does not apply to the P333R-LB.

Use the clear ip traffic command to clear the ip traffic statistics counters.

222 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

Note:

Note:

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 clear vlan command to delete a Router layer 3 VLAN.

The syntax for this command is: clear vlan [<ifIndex>] | [name <ifname>] ifIndex ifname

VLAN number

VLAN name

Example:

Router-N(configure)# clear vlan 2 name vlan2

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

Issue 1 June 2005 223

Avaya C360 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:

Router-N(super)# configure

Router-N(configure)#

copy running-config scp

User level: privileged, supervisor.

Use the copy running-config scp command to upload the current switch-level parameters from the current NVRAM running configuration into a file via SCP.

The syntax for this command is: copy running-config scp <filename> <ip> filename ip

The file name (full path)

The IP address of the SCP server

Example:

Router-N# copy running-config scp c:\config\switch1.cfg

192.168.49.10

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show upload status' command

********************************************************************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations. *

********************************************************************

224 C360 Converged Stackable Switch Reference Guide, Software V4.5

copy running-config startup-config

User level: privileged, supervisor.

Use the copy running-config startup-config command to save the policy and router configurations to the startup configuration file in the NVRAM.

The syntax for this command is: copy running-config startup-config

Example:

Router-N(super)# copy running-config startup-config

Beginning copy operation ...

This operation may take up to 20 seconds.

Please refrain from any other operation during this time.

For more information , use 'show copy status' command

copy running-config tftp

User level: privileged, supervisor.

Use the copy running-config tftp command to upload the active policy and router configurations to a TFTP server.

The syntax for this command is: copy running-config tftp <filename> <ip> filename Destination file name in the tftp server (full path).

ip The ip address of the tftp server.

Example:

Router-N(super)# copy running-config tftp c:\C360\

startup.cfg 149.49.100.41

Example: (for Unix):

Router-N(super)# copy running-config tftp /folder/

C360/startup.cfg 149.49.100.41

Issue 1 June 2005 225

Avaya C360 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.

Note:

Note:

Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the

NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.

The syntax for this command is: copy scp startup-config <filename> <ip> filename Source file name on the SCP server (full path).

ip The ip address of the SCP server.

Example: (for Windows)

Router-N# copy scp startup-config c:\C360\startup.cfg

149.49.100.41

Example: (for Unix):

Router-N# copy scp startup-config /folder/C360/

startup.cfg 149.49.100.41

copy startup-config scp

User level: privileged, supervisor.

Use the copy startup-config scp command to upload the switch-level startup configuration from the active bank into a file via SCP.

The syntax for this command is: copy startup-config scp <filename> <ip> filename ip

The file name (full path)

The IP address of the SCP server

226 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Router-N# copy startup-config scp c:\config\

switch1.cfg 192.168.49.10

Beginning upload operation ...

This operation may take a few minutes...

Please refrain from any other operation during this time.

For more information , use 'show upload status' command

*****************************************************

***************

* If you are currently running the C360 Device Manager application,*

* it is recommended to exit from it before performing configuration*

* download operations.

*

*****************************************************

***************

copy startup-config tftp

User level: privileged, supervisor.

Use the copy startup-config tftp command to upload the policy and router startup configurations to a TFTP server.

The syntax for this command is: copy startup-config tftp <filename> <ip> filename Destination file name in the tftp server (full path).

ip The ip address of the tftp server.

Example:

Router-N(super)# copy startup-config tftp c:\C360\

startup.cfg 149.49.100.41

Example: (for Unix):

Router-N(super)# copy startup-config tftp /folder/

C360/startup.cfg 149.49.100.41

Issue 1 June 2005 227

Avaya C360 Layer 3 CLI Commands

copy tftp startup-config

User level: privileged, supervisor.

Copies the policy and router configurations from the saved TFTP file to the Startup

Configuration file in the NVRAM.

Note:

Note:

Only parameters that differ from the factory default settings for the switch are included in the configuration file. Therefore, it is important to reinitialize the

NVRAM to the factory default settings before downloading configuration files to the switch. To reinitialize the NVRAM, run the nvram initialize command.

The syntax for this command is: copy tftp startup-config <filename> <ip> filename ip file name (full path)

The ip address of the host

Example:

Router-N> copy tftp startup-config c:\C360\router1.cfg

192.168.49.10

default-metric

User level: privileged, supervisor.

Tip:

Tip:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the default metric command to set the interface RIP route metric.

Use the no default metric command to restore the default value.

The default metric is 1.

The syntax for this command is:

[no] default-metric <number> number The interface RIP route metric value. The range is 1 to

15.

228 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Router-N(configure-if:marketing) # default metric 10

Done!

disconnect ssh

User level: supervisor

Use the disconnect ssh command to disconnect an SSH session.

The syntax for this command is: disconnect ssh <session-id> session-id The SSH session ID. Use the show ssh command to learn an SSH session ID.

Example:

Router-N(super)# disconnect ssh 0x508622f0

You are about to close this session - do you want to continue (Y/N)? y

Closing session 0x508622f0

enable vlan commands

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the enable vlan commands command before configuring VLAN-oriented parameters, such as vrrp and boorp-dhcp relay that affect all interfaces on the same VLAN.

The syntax for this command is: enable vlan commands

Example:

Router-N(config-if:marketing)# enable vlan commands

Issue 1 June 2005 229

Avaya C360 Layer 3 CLI Commands

erase startup-config

User level: privileged, supervisor.

Use the erase startup-config command to clear the startup configuration.

The syntax for this command is: erase startup-config

Example:

Router-N# erase startup-config

Beginning erase operation ...

This operation may take up to 20 seconds.

Please refrain from any other operation during this time.

For more information , use 'show erase status' command

event log

User level: user, privileged, supervisor

Use the event log command to display a list of the event messages.

Note:

Note:

The event messages shown are encrypted and are reserved for Avaya use only.

The syntax for this command is: event log [<num>] num Number of event messages to display (max=30)

230 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Marketing-1# event log

The following message is for internal use only!!!

Z,o(9?+.ig?aDZ_Z0"Dw"ZHlJZZ,300R3333aDZt?(Z

Zt?(Z?qDZ?gXZ;z=WZYLd{z5^=}ZHt!Z^YYE

[email protected]'[email protected]:@T:[email protected]:_QZ~NZz'oYPZw

Z,o(9?+.ig?aDZ"Z0"D3"ZHlJZZ,300R3333aDZt?(Z

Zt?(Z?qDZ?gXZ;z=WZYLd{z5^=}ZHt!Z^YYE

[email protected]'[email protected]:@T:[email protected]:_QZ~NZz'oYPZw

Z,=H^zNaDZ0Z3D33ZHlJZZ,303"3333aDZ?lUl9ojoiZ Z("""?

A\Zlit?ign

Z,!AoaDZwZ0Q_D_QZHlJZZ,303w3333aDZgjKZ ZZ}>}N=Z{~/

Z5{}^E}Y

Done!

exit

User level: user, privileged, supervisor

Use the exit command to return to the previous context or disconnect from the switch.

The syntax for this command is: exit

Example:

Router-N(configure router:rip)# exit

Router-N(configure)#

fragment chain

User level: privileged, supervisor.

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 fragment chain of this command to set the fragment chain to the default value

(64).

Note:

Note:

The router does not perform reassembly of packets in transit.

The syntax for this command is:

Issue 1 June 2005 231

Avaya C360 Layer 3 CLI Commands

[no] fragment chain <chain-limit> chain-limit The maximum number of fragments that can comprise a single IP packet, from 2 to 2048. The default is 64.

Example:

Router-N# fragment chain 30

fragment size

User level: privileged, supervisor.

Use the fragment size command to set the maximum number of fragmented IP packets, destined to the router, to reassemble at any given time.

Use the no fragment size command to set the fragment size to the default value (100).

Note:

Note:

The router does not perform reassembly of packets in transit.

The syntax for this command is:

[no] fragment size <database-limit> database-limit The maximum number of packets undergoing re-assembly at any given time, from 0 to 200. The default is 100.

Example:

Router-N# fragment size 150

fragment timeout

Tip:

User level: privileged, supervisor.

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 fragment timeout command to set the fragment timeout to the default value

(10).

Tip:

The router does not perform reassembly of packets in transit.

232 C360 Converged Stackable Switch Reference Guide, Software V4.5

The syntax for this command is:

[no] fragment timeout <timeout> timeout The maximum number of seconds to re-assemble an IP packet, from 5 to 120. The default is 10.

Example:

Router-N# fragment timeout 30

help

User level: user, privileged, supervisor

Use the help command to obtain help on CLI commands.

The syntax for this command is: help <command> command A specific CLI command or group of commands

Example:

Marketing-1# help ping

Ping commands:

-----------------------------------------------------

------------

Syntax : ping <host> [<interval> [<size> [<timeout>

[<source address>]]]]]

<host> - IP address

<interval> - interval in seconds(1-256)

<size> - integer(22-65500)

<timeout> - timeout in seconds(1-10)

<source> - IP address

Example: ping 192.168.49.1

ping 192.168.49.1 3

ping 192.168.49.1 3 50

ping 192.168.49.1 3 50 2

ping 192.168.49.1 3 50 2 192.168.49.4

hostname

User level: privileged, supervisor.

Issue 1 June 2005 233

Avaya C360 Layer 3 CLI Commands

Use the hostname command to change the system prompt used for the router

Use the no hostname command to return the system prompt to its default.

This command does not change the system prompt of the switch. To change the system prompt of the switch, use the host name command in the Layer 2 tree.

The syntax for this command is:

[no] hostname [<hostname_string>] hostname_string The string to be used as the hostname (up to 20 characters).

If you do not enter a string, the current hostname is displayed.

Example:

Router-1# hostname Marketing

Marketing-1#

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

icmp in-echo-limit

User level: privileged, supervisor.

Use the icmp in-echo-limit command to set the number of echo requests per second that the router will reply.

Use the no icmp in-echo-limit command to restores the value to its default.

The syntax for this command is: icmp in-echo-limit <size> size The rate of echo requests per second. Value range =

1 to 1000. Default = 50.

Example:

Router-N# icmp in-echo-limit 100

Done!

234 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

The syntax for this command is:

[no] interface <interface name> interface name String (up to 32 characters). This name should not start with the letters “def”.

Example:

Router-N(configure)# interface marketing

Done!

Router-1(config-if:marketing)#

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

ip access-default-action

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-default-action command to set the default action for a specific policy list.

The syntax for this command is: ip access-default-action <policy-list-number> [default-action]

<policy-list-number>

<default-action> integer (100 - 149) permit|deny

Issue 1 June 2005 235

Avaya C360 Layer 3 CLI Commands

Example:

Router-N(super)# ip access-default-action 101

default-action-deny

Done!

ip access-group

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access group command to activate a specific policy list.

The syntax for this command is: ip access-group <policy-list-number> [default-action]

<policy-list-number>

<default-action> integer (100 - 149) permit|deny

Example:

Router-N(super)# ip access-group 101

Done!

ip access-list

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access list command to create a specific policy rule. The access list contains several of these rules: each rule pertains to the source IP address, the destination IP address, the protocol, the protocol ports (if relevant), and to the ACK bit (if relevant).

Use the no ip access list command to delete a specific rule.

The syntax for this command is:

236 C360 Converged Stackable Switch Reference Guide, Software V4.5

[no] ip access-list <access-list-number> <access-list-index>

<command> <protocol> {<source-ip>

<source-wildcard> | any |host

<source-ip>}[<operator> <port> [<port]]

{<destination-ip> <destination-

wildcard>|any |host

<destination-ip>}[<operator> <port>

[<port>]][established] [precedence] access-list-number access-list-index command protocol source-ip source-wildcard operator port destination-ip destination-wildcard precedence integer (100 - 149) integer (1 - 9999) permit | deny | deny-and-notify

| fwd0-7 ip | tcp | udp | integer (1 -

255) ip network ip network wildcard eq | lt | gt | range

integer (1 - 65535) ip network ip network wildcard mandatory | optional

Example:

Router-N# ip access-list 101 23 deny ip any

1.2.0.0 0.0.255.255

ip access-list-cookie

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-cookie command to set the list cookie for a specific policy list.

The syntax for this command is:

Issue 1 June 2005 237

Avaya C360 Layer 3 CLI Commands

ip access-list-cookie <policy-list-number> <cookie> policy-list-number cookie integer (100 - 149). 0 is the default list integer

Example:

Router-N(super)# ip access-list-cookie 101 12345

ip access-list-copy

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-copy command to copy a configured source policy list to a destination policy list.

The syntax for this command is: ip access-list-copy <source-list> <destination-list> source-list destination-list integer (100 - 149) integer (100 - 149)

Example:

Router-N(super)# ip access-list-copy 100 101

ip access-list-dscp name

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-dscp name command to set a DSCP name

The syntax for this command is:

238 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip access-list-dscp name <policy-list-number> <dscp> <name> policy-lis r t-numbe dscp

A valid id number for a policy list currently defined for the module (100 - 149) name

Range of dscp. For example:

<dscp-range> : [0 - 63] | <low-dscp>-<high-dscp>

<low-dscp>-<low-dscp>: apply the map to all packets with

DSCP from <low-dscp> to <high-dscp>.

The name

Example:

Router-N(configure)# ip access-list-dscp name 101 1 Lincroft

Done!

ip access-list-dscp operation

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-dscp operation command to set a DSCP to CoS mapping.

The syntax for this command is: ip access-list-dscp operation <policy-list-number> <dscp> <action> policy-lis r t-numbe dscp

A valid id number for a policy list currently defined for the module (100 - 149)

Range of dscp. For example:

<dscp-range> : [0 - 63] | <low-dscp>-<high-dscp>

<low-dscp>-<low-dscp>: apply the map to all packets with

DSCP from <low-dscp> to <high-dscp>.

Issue 1 June 2005 239

Avaya C360 Layer 3 CLI Commands

action <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, 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.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-dscp trust command to decide which original frame fields influence the selection of packet priority.

The syntax for this command is: ip access-list-dscp trust <policy-list-number> {untrusted|trust-cos

|trust-dscp} policy-list

-number

A valid id number for a policy list currently defined for the switch (100 to 149) untrusted Forward the packet with priority 0 trust-cos Forward the packet with its original 802.1p priority (default) trust-dsc p

Forward the packet with the maximum priority between 802.1p and the priority obtained from the DSCP-CoS mapping table

240 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Router-N(super)# ip access-list-dscp trust 100

trust-dscp

Done!

ip access-list-name

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list-name command to set a name for a policy list.

The syntax for this command is: ip access-list-name <policy-list-number> <name>

<policy-list-number>

<name> integer (100 - 149) list name

Example:

Router-N(super)# ip access-list-name 101 morning

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

ip access-list-owner

User level: privileged, supervisor.

Note:

Note:

If you are at the ”read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode if necessary.

Use the ip access-list owner command to set the owner for a specific policy list.

The syntax for this command is:

Issue 1 June 2005

241

Avaya C360 Layer 3 CLI Commands

ip access-list-owner <policy-list-number> <owner>

<policy-list-number>

<owner> integer (100 - 149) list owner

Example:

Router-N(configure)# ip access-list-owner 101 admin

Done!

ip address

User level: privileged, supervisor.

Note:

Note:

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 address command to assign an IP address and mask to an interface.

The syntax for this command is: ip address <ip-address> <mask> [<admin-state>] ip address mask admin-state

The IP address assigned to the interface.

Mask for the associated IP subnet

The administration status – either Up or Down

Example:

To assign the IP address 192.168.22.33 with mask 255.255.255.0 to the interface “marketing”:

Router-N(config-if:marketing)# ip address

192.168.22.33 255.255.255.0

Done!

ip admin-state

User level: privileged, supervisor.

242 C360 Converged Stackable Switch Reference Guide, Software V4.5

Tip:

Tip:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the admin-state command to set the administrative state of an IP interface. The default state is up.

The syntax for this command is: ip admin-state <up/down> up/down Administrative state of the interface.

The choices are

● up (active) or

● down (inactive).

Example:

Router-N(config-if:marketing)# ip admin-state up

ip bootp-dhcp network

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip bootp-dhcp network command to 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.

Note:

Note:

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.

The syntax for this command is:

[no] ip bootp-dhcp network <ip-net>

The IP address of the network.

ip-net

Example:

Issue 1 June 2005 243

Avaya C360 Layer 3 CLI Commands

To select the network 192.168.169.0 as the network from which an address shall be allocated for bootp/dhcp requests:

Router-N(configure-if:marketing)# ip bootp-dhcp

network 192.168.169.0

Done!

ip bootp-dhcp relay

User level: privileged, supervisor.

Note:

Note:

You can only access this command in Interface mode.

Type interface [name] at the command prompt to enter Interface 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.

The default state is disabled.

The syntax for this command is:

[no] ip bootp-dhcp relay

Example:

To enable relaying of BOOTP and DHCP requests:

Router-N(super)# ip bootp-dhcp relay

Done!

To disable relaying of bootp and dhcp requests:

Router-N(super)# no ip bootp-dhcp relay

Done!

ip bootp-dhcp server

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

244 C360 Converged Stackable Switch Reference Guide, Software V4.5

Use the ip bootp-dhcp server command to add a bootp/dhcp server to handle BOOTP/

DHCP requests received by this interface.

Use the no ip bootp-dhcp server command to remove the server. A maximum of two servers can be added to a single interface.

The syntax for this command is: ip bootp-dhcp server <ip addr> ip addr The IP address of the server.

Example:

To add station 192.168.37.46 as a bootp/dhcp server to handle bootp/dhcp requests arriving at the interface “marketing”:

Router-N(configure-if:marketing) # ip bootp-dhcp

server 192.168.37.46

Done!

ip broadcast-address

User level: privileged, supervisor.

Note:

Note:

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 broadcast command to update the interface broadcast address. The Broadcast address must be filled in with 0s (zeros) or 1s (ones).

The syntax for this command is:

<bc addr> bc addr The broadcast IP address

Example:

Router-N(config-if:marketing)# ip broadcast address

192.168.255.255

Issue 1 June 2005 245

Avaya C360 Layer 3 CLI Commands

ip default-gateway

User level: privileged, supervisor.

Note:

Note:

If you are at the “read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode.

Use the ip default-gateway command to define a default gateway (router).

Use the no ip default gateway command to remove the default gateway.

The syntax for this command is:

[no] ip default-gateway <ip-address>[<cost>][<preference>] ip-address cost preference

The IP address of the router.

The path cost. The default is 1

Preference, either High or Low. Default is Low.

Example:

To define the router at address 192.168.37.1 as the default gateway:

Router-N(configure)# ip default-gateway 192.168.37.1

ip directed-broadcast

User level: privileged, supervisor.

Note:

Note:

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 directed-broadcast command to enable net-directed broadcast forwarding.

Use the no ip directed-broadcast command to disables net-directed broadcasts on an interface.

The syntax for this command is:

[no] ip directed-broadcast

246 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Router-N(config-if:marketing)# ip directed broadcast

ip icmp-errors

User level: privileged, supervisor.

Note:

Note:

If you are at the “read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode.

Use the icmp-error command to turn ICMP error messages on.

Use the no icmp-error command to turn ICMP error messages off.

The syntax for this command is:

[no] ip icmp-errors

Example:

To turn the ICMP error messages on:

Router-N(super)# ip icmp-errors

Done!

ip max-arp-entries

User level: privileged, supervisor.

Note:

Note:

If you are at the “read-write” user level, you can only access this command in

Configure mode.

Type configure at the command prompt to enter configure mode.

Use the ip max-arp-entries command to set the maximum number of ARP cache entries allowed in the ARP cache.

Use the no ip max-arp-entries command to restore the default value of 4096.

Note:

Note:

For this command to take effect, run the copy running-config startup-config

command and reset the device.

The syntax for this command is:

Issue 1 June 2005 247

Avaya C360 Layer 3 CLI Commands

[no] ip max-arp-entries <value> value The space available for the IP address table. When you decrease the number of entries, it may cause the table to be relearned more frequently. If you do not enter a value, then the current ARP Cache size is shown.

Example:

To set the maximum number of ARP cache entries to 8000:

Router-N(super)# ip max-arp-entries 8000

To restore the maximum number of ARP cache entries to its default:

Router-N(super)# no ip max-arp-entries

ip max-route-entries

User level: privileged, supervisor.

Note:

Note:

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.

The ip max-route-entries command exists for compatibility with Avaya™ P550. There is no limitation on the size of the routing table, except for the amount of available memory.

Use the no ip max-route-entries command to remove the limitation.

Note:

Note:

For this command to take effect, run the copy running-config startup-config

command and reset the device.

The syntax for this command is:

[no] ip max-route-entries <value> value Number of entries

Example:

Router-N(configure)# ip max-route-entries 4000

248 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip netbios-rebroadcast

User level: privileged, supervisor.

Note:

Note:

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 netbios-rebroadcast command to set the NETBIOS rebroadcasts mode on an interface.

Use the no ip netbios-rebroadcast command to disable NETBIOS rebroadcasts on an interface.

The syntax for this command is:

[no] ip netbios-rebroadcast [<direction>]

The possible values for direction are: both disable

Netbios packets received on the interface rebroadcasted to other interfaces and netbios packets received on other interfaces are rebroadcasted into this interface. This is the default value.

Netbios packets are not rebroadcasted into or out of this interface.

Example:

To enable rebroadcasting of netbios packets received by and sent from the interface

“marketing”:

Router-N(config-if:marketing)# ip netbios-rebroadcast

both

ip netmask-format

User level: privileged, supervisor.

Note:

Note:

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 netmask-format command to specify the format of netmasks in the show command output.

Issue 1 June 2005 249

Avaya C360 Layer 3 CLI Commands

Use the no ip netmask-format command to restores the default format which is a dotted decimal.

The syntax for this command is:

[no] ip netmask-format <mask-format>

The possible mask formats are: bitcount decimal hexadecimal

Addresses are followed by a slash and the total number of bits in the netmask. For example 17

The network masks are in dotted decimal notation. For example, 255.255.255.0.

The network masks are in hexadecimal format as indicated by the leading 0X. For example, 0XFFFFFF00.

Example:

To display netmasks in decimal format:

Router-N(super)# ip netmask-format bitcount decimal

Done!

ip ospf authentication-key

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip ospf authentication-key command to configure the interface authentication password.

Use the no ip ospf authentication-key command to remove the OSPF password.

The syntax for this command is:

[no] ip ospf authentication-key <key> key string (up to 8 characters)

Example:

Router-N(configure-if:marketing) # ip ospf

authentication-key my_pass

250 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip ospf cost

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip ospf command to configure interface metric.

Use the no ip ospf cost command to set the cost to its default. The default is 1.

The syntax for this command is:

[no] ip ospf cost <cost> cost integer

Example:

Router-N(configure-if:marketing) # ip ospf cost 10

Done!

ip ospf dead-interval

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip ospf dead-interval command to configure the interval before declaring the neighbor as dead.

Use no ospf dead-interval to set the dead-interval to its default value of 40.

The syntax for this command is:

[no] ip ospf dead-interval <seconds> seconds Time in seconds (integer value)

Issue 1 June 2005 251

Avaya C360 Layer 3 CLI Commands

Example:

Router-N(configure-if:marketing) # ip ospf

dead-interval 15

ip ospf hello-interval

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use this command to specify the time interval between OSPF hello messages the router sends.

Use no ip ospf hello-interval to set the hello-interval to its default.

The default is 10.

The syntax for this command is:

[no] ip ospf hello-interval <seconds> seconds integer

Example:

Router-N(configure-if:marketing) # ip ospf

hello-interval 5

Done!

ip ospf priority

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip ospf 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.

The syntax for this command is:

252 C360 Converged Stackable Switch Reference Guide, Software V4.5

[no] ip ospf priority <priority> priority integer

Example:

Router-N(configure-if:marketing) # ip ospf priority 17

Done!

ip ospf router-id

User level: privileged, supervisor.

Use the ip ospf router-id command to configure the router identity.

Use the no ip ospf router-id command to return the router identity to its default (the lowest existing IP interface).

The syntax for this command is:

[no] ip ospf router-id <router id> router-id The IP address of the router.

Example:

Router-N(super)# ip ospf router-id 192.168.49.1

ip proxy-arp

User level: privileged, supervisor.

Note:

Note:

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 proxy-arp command to enable proxy ARP on an interface.

Use the no ip proxy-arp command to disable proxy ARP on an interface.

The syntax for this command is:

[no] ip proxy-arp

Example:

Issue 1 June 2005 253

Avaya C360 Layer 3 CLI Commands

To disable proxy ARP on interface marketing:

Router-N(config-if:marketing)# no ip proxy arp

ip redirects

User level: privileged, supervisor.

Note:

Note:

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

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip rip authentication key command to set the authentication string used on the interface.

Use the no ip rip authentication key command to clear the password.

The syntax for this command is:

[no] ip rip authentication key <password> password The authentication string for the interface. Up to 16 characters are allowed.

254 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

To set the authentication string used on the interface “marketing” to be “hush-hush”.

Router-N(configure-if:marketing) # ip rip authentication key hush-hush

ip rip authentication mode

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip rip authentication command to specify the type of authentication used in RIP

Version 2 packets.

Use the no ip rip authentication command to restore the default value of none.

The syntax for this command is: [no] ip rip authentication mode [simple|none] simple|none The authentication type used in RIP Version 2 packets:

● simple - clear text authentication.

● none - no authentication.

Example:

To specify simple authentication to be used in RIP Version 2 packets on the interface

“marketing”.

Router-N(configure-if:marketing)# ip rip authentication

mode simple

ip rip default-route-mode

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Issue 1 June 2005 255

Avaya C360 Layer 3 CLI Commands

Use the ip rip default-route-mode command to enable learning of the default route received by the RIP protocol. The default state is talk-listen.

Use the no ip rip default-route-mode command to disable learning of the default route.

The syntax for this command is: ip rip default-route-mode <mode>

The possible default route modes on an interface are: talk-liste n

Set RIP to send and receive default route updates on the interface.

talk-only Set RIP to send but not receive default route updates on the interface.

Example:

Router-N(configure-if:marketing) # ip rip

default-route-mode talk listen

Done!

ip rip poison-reverse

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip rip poison-reverse command to enable split-horizon with poison-reverse on an interface.

Use the no ip poison-reverse command to disable the poison-reverse mechanism.

The split-horizon technique prevents information about routes from exiting the router interface through which the information was received. This prevents routing loops.

Poison reverse updates explicitly indicate that a network or subnet is unreachable rather than implying they are not reachable. Poison reverse updates are sent to defeat large routing loops.

The syntax for this command is:

[no] ip rip poison-reverse

256 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Router-N(configure-if:marketing)# ip rip

poison-reverse

Done!

ip rip rip-version

User level: privileged, supervisor.

Note:

Note:

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 rip-version command to specify the RIP version running on the interface basis.

The syntax for this command is: ip rip rip-version <version>

The possible versions of the RIP packets received and sent on an interface are:

1

2

RIP Version 1 packets

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.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip rip send-receive command to set the RIP Send and Receive mode on an interface. The default state is talk-listen.

Issue 1 June 2005 257

Avaya C360 Layer 3 CLI Commands

The syntax for this command is: ip rip send-receive-mode <mode>[<default route metric>] mode default route metric talk-listen - Set RIP to receive and transmit updates on the interface.

talkdefault-listen - Set RIP to receive updates on the interface and send only a default route.

listen-only – Set RIP to only receive updates on the interface and not transmit them.

Integer value

Example:

To set the RIP Send and Receive mode on the interface “marketing” to be listen-only:

Router-N(configure-if:marketing)# ip rip

send-receive-mode listen-only

Done!

ip rip split-horizon

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip rip split-horizon command to enable split-horizon mechanism. Use the no ip rip split-horizon

command to disable the split-horizon.

By default split-horizon is enabled.

The split-horizon technique prevents information about routes from exiting the router interface through which the information was received. This prevents routing loops.

The syntax for this command is:

[no] ip rip split-horizon

Example:

Router-N(configure-if:marketing)# no ip rip

split-horizon

Done!

258 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip route

User level: privileged, supervisor.

Note:

Note:

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.

You can edit (add or remove), individually, each one of the three possible next-hop addresses for a static route.

The syntax for this command is:

[no] ip route <ip-address> <mask> <next-hop> [<next-hop>] [<next-hop>]

[<cost>] [<preference>] ip-address mask next-hop cost preference

The IP address of the network

Mask of the static route

The next hop address in the network

The path cost. The default is 1

Preference, either High or Low. Default is Low.

Example:

To define the router 192.168.33.38 as the next hop for the network 192.168.33.0 with mask

255.255.255.0:

Router-N(super)# ip route 192.168.33.0 255.255.255.0

10.10.10.10

ip routing

User level: privileged, supervisor.

Note:

Note:

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 routing command to enable IP routing.

Issue 1 June 2005 259

Avaya C360 Layer 3 CLI Commands

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(super)# ip routing

Done!

ip routing-mode

User level: privileged, supervisor.

Note:

Note:

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 routing-mode command to set the IP routing mode of the interface. In RT-MGMT mode, the interface functions as a routing interface. In RT_PRIMARY_MGMT mode, the interface function as both a routing interface and the primary management interface.

The IP address used in MSNM is the primary management interface IP address. Only one interface can be in RT_PRIMARY_MGMT mode. If no interface is configured to

RT_PRIMARY_MGMT, the IP address used in MSNM is selected randomly.

The syntax for this command is: ip routing-mode <mode> mode RT_MGMT or RT_PRIMARY_MGMT mode

Example:

Router-N(config-if:marketing)# ip routing-mode

RT_PRIMARY_MGMT

ip simulate

User level: privileged, supervisor.

260 C360 Converged Stackable Switch Reference Guide, Software V4.5

Note:

Note:

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 ip simulate command to check the policy for a simulated packet. The command contains the addressed list number, and the packet parameters.

The syntax for this command is: ip simulate

<access-list-number> [<priority>] [<dscp-value>]<source> <destination>

[<protocol> [<source port> <destination port> [<established>]]] access-list-number priority dspc value source destination protocol source port destination port established integer (100 - 149, 0 is the default list) fwd0 | fwd1 | - | fwd7 dscp0 | dscp1 | - | dscp63 source ip address destination ip address ip | tcp | udp | integer (1 - 255) integer (1 - 65535) integer (1 - 65535) value of TCP established bit

Example:

Router-N(super)# ip simulate 100 192.67.85.12

193.76.54.25

ip vlan/ip vlan name

User level: privileged, supervisor.

Note:

Note:

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 vlan and ip vlan name commands to specify the VLAN on which an IP interface resides. You can specify either the VLAN ID using the ip vlan command or the VLAN name using the ip vlan name command.

Issue 1 June 2005 261

Avaya C360 Layer 3 CLI Commands

The no ip vlan or no ip vlan name command to reset the IP interface to the default

VLAN.

The syntax for this command is:

[no] ip vlan <vlan-id> or ip vlan name <vlan-Name>

Example:

To specify VLAN developmental as the VLAN used by interface “products”:

Router-N(config-if:marketing)# ip vlan name

development

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

ip vrrp

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp command to create a virtual router on the interface.

Use the no ip vrrp command to delete a virtual router.

The syntax for this command is:

[no] ip vrrp <vr-id> vr-id Virtual Router ID (1-255)

Example:

Router-N(configure-if:marketing)# ip vrrp 1

Done!

262 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip vrrp address

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp address command to assign an IP address to the virtual router.

Use the no ip vrrp address command to remove an IP address from a virtual router.

The syntax for this command is:

[no] ip vrrp <vr-id> address <ip-address> vr-id ip-address

Virtual Router ID (1-255)

The IP address to be assigned to the virtual router.

Example:

To assign address 10.0.1.2 to virtual router 1:

Router-N(configure-if:marketing)# ip vrrp 1 address

10.0.1.2

Done!

ip vrrp auth-key

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp 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:

Issue 1 June 2005 263

Avaya C360 Layer 3 CLI Commands

[no] ip vrrp <vr-id> auth-key <key-string> vr-id key-string

Virtual Router ID (1-255)

Simple password string.

Example:

To assign “secret” as the simple password for virtual router 1:

Router-N(configure-if:marketing)# ip vrrp 1 auth-key

secret

Done!

ip vrrp override addr owner

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp override addr owner command to accept packets addressed to the IP address(es) associated with the virtual router, such as ICMP, SNMP, and TELNET (if it is not the

IP address owner).

Use the no ip vrrp override addr owner command to discard these packets.

The syntax for this command is:

[no] ip vrrp <vr-id> override addr owner vr-id Virtual Router ID (1-255)

Example:

Router-N(configure-if:marketing)# ip vrrp 1 override

addr owner

Done!

ip vrrp preempt

User level: privileged, supervisor.

264 C360 Converged Stackable Switch Reference Guide, Software V4.5

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp preempt command to configure the router to preempt a lower priority master for the virtual router ID.

Use the no ip vrrp preempt command to disable preemption for the virtual router instance.

By default, preemption is enabled.

The syntax for this command is:

[no] ip vrrp <vr-id> preempt vr-id Virtual Router ID (1-255)

Example:

Router-N(configure-if:marketing)# ip vrrp 1 preempt

Done!

ip vrrp primary

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp primary command to set the primary address that shall be used as the source address of VRRP packets for the virtual router ID.

Use the no ip vrrp primary command to return to the default primary address for the virtual router instance.

By default, the primary address is selected automatically by the device.

The syntax for this command is:

[no] ip vrrp <vr-id> primary <ip-address> vr-id ip-address

Virtual Router ID (1-255)

Primary IP address of the virtual router. This address should be one of the router addresses on the VLAN.

Issue 1 June 2005 265

Avaya C360 Layer 3 CLI Commands

Example:

Router-N(configure-if:marketing)# ip vrrp 1 primary

192.168.66.23

Done!

ip vrrp priority

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp priority command to set the virtual router priority value used when selecting a master router.

Use the no ip vrrp priority command to restore the default value.

The syntax for this command is:

[no] ip vrrp <vr-id> priority <pri-value> vr-id pri-value

Virtual Router ID (1-255)

The priority value. The range is 1-254.

Example:

To set the priority value for virtual router 1 to ten:

Router-N(configure-if:marketing)# ip vrrp 1 priority

10

Done!

Example:

To set the virtual router simple password for virtual router 1 to abcd:

Router-N(configure-if:marketing)# ip vrrp 1 auth-key

abcd

Done!

266 C360 Converged Stackable Switch Reference Guide, Software V4.5

ip vrrp timer

User level: privileged, supervisor.

Note:

Note:

You can only access this command in interface mode.

Type interface [name] at the command prompt to enter interface mode if necessary.

Use the ip vrrp timer command to set the virtual router advertisement timer value (in seconds) for the virtual router ID.

Use no ip vrrp timer command to restore the default value.

The syntax for this command is:

[no] ip vrrp <vr-id> timer <value> vr-id value

Virtual Router ID (1-255)

The advertisement transmit time (seconds).

Example:

To set the virtual router advertisement timer value for virtual router 3 to 2:

Router-N(configure-if:marketing)# ip vrrp 3 timer 2

Done!

network (OSPF context)

User level: privileged, supervisor.

Note:

Note:

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.

Use the network command to enable OSPF in this network.

Use the no network command to disable OSPF in this network.

The default is disabled.

The syntax for this command is:

Issue 1 June 2005 267

Avaya C360 Layer 3 CLI Commands

network <net addr> [<wildcard-mask> [area <area id>]] net addr wildcard-mask area id

IP address

Wildcard mask address

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

network (RIP context)

User level: privileged, supervisor.

Note:

Note:

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.

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.

The syntax for this command is:

[no] network <ip-address> [<wildcard-mask>] ip addr wildcard-mask

The IP address of the network of directly connected networks

Wildcard mask address. Exists for compatibility with

P550.

Example:

To specify that RIP will be used on all interfaces connected to the network 192.168.37.0:

Router-N(configure router:rip)# network 192.168.37.0

Done!

268 C360 Converged Stackable Switch Reference Guide, Software V4.5

no arp

See

arp on page 219.

no arp timeout

See

arp timeout on page 220.

no fragment chain

See

fragment chain on page 231.

no fragment size

See

fragment size on page 232.

no fragment timeout

See

fragment timeout on page 232.

no hostname

See

hostname on page 233.

no icmp in-echo-limit

See

icmp in-echo-limit on page 234.

no interface

See

interface on page 235.

Issue 1 June 2005 269

Avaya C360 Layer 3 CLI Commands

no ip access-group

See

ip access-group on page 236.

no ip access-list

See

ip access-list on page 236.

no ip bootp-dhcp relay

See

ip bootp-dhcp relay on page 244

no ip default-gateway

See

ip default-gateway on page 246.

no ip icmp-errors

See

ip icmp-errors on page 247.

no ip max-arp-entries

See

ip max-arp-entries on page 247.

no ip max-route-entries

See

ip max-route-entries on page 248.

no ip netmask-format

See

ip netmask-format on page 249.

270 C360 Converged Stackable Switch Reference Guide, Software V4.5

no ip ospf router-id

See

ip ospf router-id on page 253.

no ip route

See

ip route on page 259.

no ip routing

See

ip routing on page 259.

no router ospf

See

router ospf on page 275.

no router rip

See

router rip on page 275.

no router vrrp

See

router vrrp on page 276.

passive-interface

User level: privileged, supervisor.

Note:

Note:

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.

Issue 1 June 2005 271

Avaya C360 Layer 3 CLI Commands

Use the passive interface command to allow interfaces to be flooded into the OSPF domain as OSPF routes and not external routes.

Use the no passive-interface command to prevent interfaces from being flooded into the

OSPF domain as OSPF routes and not external routes.

Note:

Note:

An interface becomes passive only if you use the network command to enable

OSPF to run on the interface.

The syntax for this command is: passive-interface <interface-name/net addr> interface-name

/ net addr

Name of interface or IP address.

Example:

Router-N# passive-interface FastEthernet 1.10

ping

User level: user, privileged, supervisor

Use the ping command to send ICMP echo request packets to another node on the network.

Note:

Note:

You can use this command via the master switch only.

The syntax for this command is: ping <host> [<interval> [<size> [<timeout> [<source address>]]]]

] host Host IP address/Internet address of route destination. If missing then the last host IP is used.

interval Interval between ping commands in seconds (1 to 256) size Size of packet in bytes (22 to 66500) timeout Timeout in seconds (1 to 10) source address

IP address of one of the router interfaces

272 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example: to ping the IP number 149.49.48.1 three times:

Marketing-1# ping 149.49.48.1 3

PING 149.49.48.1: 56 data bytes

64 bytes from 149.49.48.1: icmp_seq=0. time=0. ms

64 bytes from 149.49.48.1: icmp_seq=1. time=0. ms

64 bytes from 149.49.48.1: icmp_seq=2. time=0. ms

----149.49.48.1 PING Statistics----

3 packets transmitted, 3 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0

prompt-length

User level: 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 | prompt-size> full prompt-size return the CLI prompt to its full length size of the CLI prompt in characters

Example:

Marketing-1# prompt-length 3

~N>

redistribute (OSPF context)

User level: privileged, supervisor.

Note:

Note:

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.

Use the redistribute command to redistribute routing information from other protocols into

OSPF.

Issue 1 June 2005 273

Avaya C360 Layer 3 CLI Commands

Use the no redistribute command disables redistribution by OSPF.

The syntax for this command is:

[no] redistribute <protocol> protocol

● static

● conneted

RIP

Example:

Router-N(configure router:ospf)# redistribute static

redistribute (RIP context)

User level: privileged, supervisor.

Note:

Note:

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.

Use the redistribute command to redistribute routing information from other protocols into

RIP.

Use the no redistribute command to disable redistribution by RIP.

The default is disabled.

The syntax for this command is:

[no] redistribute <protocol> protocol Either Static or OSPF

Example:

Router-N(configure router:rip)# redistribute ospf

Done!

reset

User level: user, privileged, supervisor

274 C360 Converged Stackable Switch Reference Guide, Software V4.5

Use the reset command to restart an individual switch.

The syntax for this command is: reset

Example:

Marketing-1# reset

This command will force a switch-over to the master module and disconnect your telnet session.

Do you want to continue (y/n) [n]? y

Connection closed by foreign host.

router ospf

User level: privileged, supervisor.

Note:

Note:

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.

Use the router ospf command to enable the OSPF protocol on the system and enter the

“router ospf” context.

Use the no router ospf command to disable the OSPF one the system.

The default is disabled.

The syntax for this command is:

[no] router ospf

Example:

Router-N(super)# router ospf

Done!

Router-N(super-router:OSPF)#

router rip

User level: privileged, supervisor.

Note:

Note:

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.

Issue 1 June 2005 275

Avaya C360 Layer 3 CLI Commands

Use the router rip command to configure the Routing Information Protocol (RIP) and enter the “router rip” context.

Use the no router rip command to disable RIP.

The default state is disabled.

The syntax for this command is:

[no] router rip

Example:

To enable the RIP protocol:

Router-N(super)# router rip

Done!

Router-N(super router:rip)#

router vrrp

User level: privileged, supervisor.

Note:

Note:

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.

The syntax for this command is:

[no] router vrrp

Example:

Router-N(super)# router vrrp

Done!

session

User level: user, privileged, supervisor

Use the session command to open a session with a specific entity in a switch of the stack.

For example, you can open a session with the Routing entity of a

P332G-ML switch in the stack.

The syntax for this command is:

276 C360 Converged Stackable Switch Reference Guide, Software V4.5

Tip: session [<mod_num> [switch|router|atm|mgp|wan]] mod_num switch|router|atm|mgp|wan

(optional) The switch number.

If you do not specify this parameter, you will get the default entity of the stack

(Layer 2 session to the Master)

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

Tip:

Example:

Tip:

When you use the session command the security level stays the same.

Marketing-1# session 2

Marketing-1#

Tip:

The security level stays the same when you use the session command.

set device-mode

User level: privileged, supervisor.

Use the set device-mode command to change the basic mode of operation of the switch between Router and Layer 2 modes.

Note:

Note:

This command is available on C360 switches with L3 licenses only.

The syntax for this command is:

set device-mode <mode> mode Router | Layer2

Issue 1 June 2005 277

Avaya C360 Layer 3 CLI Commands

Example:

Marketing-1# set device-mode Layer2

This command will RESET the device

*** Reset *** - do you want to continue (Y/N)? y

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.

Setting the value to 0 disables the automatic disconnection of idle sessions

Default value is 15 minutes

Example:

To set the time until the system disconnects an idle session automatically to 20 minutes:

Router-N# set logout 20

Sessions will be automatically logged out after 20 minutes of idle time.

To disable the automatic disconnection of idle sessions:

Router-N# set logout 0

Sessions will not be automatically logged out.

set system contact

User level: privileged, supervisor

Use the set system contact command to set the system contact MIB variable.

The syntax for this command is:

278 C360 Converged Stackable Switch Reference Guide, Software V4.5

set system contact [string] string System contact

Example:

Router-N# set system contact "gregory kohll"

Done!

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

set system location

User level: privileged, supervisor

Use the set system location command to set the system location MIB variable

The syntax for this command is: set system location [string] string System name

Example:

Router-N# set system location "tech doc"

Done!

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

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:

Issue 1 June 2005 279

Avaya C360 Layer 3 CLI Commands

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.

Example:

Router-N# set system name C360-1

Done!

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

set vlan

User level: privileged, supervisor.

Note:

Note:

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.

The syntax for this command is:

set vlan <vlan-id> name <vlan-name> vlan-id vlan-name

VLAN number

VLAN name

Example:

Router-N# set vlan 2 name vlan2

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

280 C360 Converged Stackable Switch Reference Guide, Software V4.5

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-1# show copy status

Module #1

===========

Module : 1

Source file : .router-startup

Destination file : .router-running

Host : -

Running state : Idle

Failure display : (null)

Last warning : No-warning

show device-mode

User level: user, privileged, supervisor

Use the show device-mode command to show the current switch operating mode. Possible modes are Router or Switch.

The syntax for this command is: show device-mode

Example:

Marketing-1# show device mode

Device mode is router

show download status

User level: user, privileged, supervisor

Use the show download status command to display a summary of the last software download operation.

Issue 1 June 2005 281

Avaya C360 Layer 3 CLI Commands

The syntax for this command is: show download status [module_number]

Example:

C360-N>show download status 1

Module #1

===========

Module : 1

Source file : c:\session4.txt

Destination file : module-config

Host : 149.49.75.100

Running state : Idle

Failure display : SCP - Server refused

Last warning : No-warning

Bytes Downloaded : 0

show erase status

User level: user, privileged, supervisor

Use the show erase status command to view the status of the erase configuration operation.

The syntax for this command is: show erase status

Example

Router-1# 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.

Note:

Note:

The router does not perform reassambly of packets in transit.

This command displays the following information:

Size Maximum number of packets set by the fragment size command

282 C360 Converged Stackable Switch Reference Guide, Software V4.5

Chain

Timeout

Queue

Assemble

Fail

Overflow

Maximum number of fragments for a single packet set by the fragment chain command.

Maximum number of seconds set by the fragment timeout command.

Number of packets currently awaiting reassembly.

Number of packets successfully reassembled

Number of packets which failed to be reassembled

Number of packets which overflowed the fragment database.

The syntax for this command is: show fragment

Example:

Marketing-1# show fragment

Max number of concurrently reassembled packets is 100

Max number of fragments per packet is 64

Fragment timeout is 10 sec

Number of packets waiting to be reassembled is 0

Number of successfully reassembled packets is 11954

Number of packets which failed to be reassembled is 0

Number of packets which overflowed the database is 0

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.

The syntax for this command is: show ip access-group

Example:

Marketing-1# show ip access-group access-group 100

Issue 1 June 2005 283

Avaya C360 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.

The syntax for this command is: show ip access-list-dscp <policy-list-number> [<dscp>] policy-lis r t-numbe dscp

A valid id number for a policy list currently defined for the module (100 to 149, 0 - default list) dscp entry (0 - 63)

Example:

Marketing-1# show ip access-list-dscp 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 mandatory DSCP#4

5 fwd0 mandatory DSCP#5

6 fwd0 mandatory DSCP#6

7 fwd0 mandatory DSCP#7

8 fwd1 mandatory DSCP#8

9 fwd1 mandatory DSCP#9

10 fwd1 mandatory DSCP#10

11 fwd1 mandatory DSCP#11

show ip access-list-summary

User level: user, privileged, supervisor

Use the show ip access-list-summary command to display a list of all configured access lists.

The syntax for this command is: show ip access-list-summary

284 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Marketing-1# 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.

The syntax for this command is: show ip arp [<if-name> | <vlan> | <ip addr> | <ip-mask> static] if-name vlan ip-addr ip-mask static

Interface name (string up to 32 chars)

VLAN NAME (string up to 16 chars) or VLAN ID

(number)

The IP address of the station(s)

The ip mask of the routes.

Display static ip ARP information.

Example:

Marketing-1# show ip arp

Showing 3 rows

Address MAC Address Interface Type

TTL

--------------- ----------------- ------------ -------

--------

192.168.54.1 00:40:0d:8c:12:01 mgmt Dynamic

14360

192.168.2.33 00:40:0d:5c:14:01 loco Static

Not Aged

192.168.1.111 00:40:0d:5d:72:01 ppp Static

Not Aged

Note:

Note:

If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.

Issue 1 June 2005 285

Avaya C360 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:

Routing-1# 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.

The syntax for this command is: show ip interface [<interface>]|<vlan>|<IP addr>] interface vlan ip-address

The name of the interface whose information you want to display.

The name or ID of the VLAN over which there are interfaces you want to display.

The IP address of the interface whose information you want to display.

286 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Routing-1# 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.255

Directed broadcast forwarding is disabled

Proxy ARP is disabled

Note:

Note:

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

User level: user, privileged, supervisor

Use the show ip interface brief command to display brief information for an IP interface.

The syntax for this command is: show ip interface [<interface>|<vlan>|<ip-address>] interface ip-address vlan

The name of the interface whose information you want to display - a string of up to 32 characters.

The IP address of the interface whose information you want to display.

The name or ID of the VLAN over which there are interfaces you want to display - a string of up to 32 characters.

Issue 1 June 2005 287

Avaya C360 Layer 3 CLI Commands

Example:

Routing-1# 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:

Routing-1# show ip ospf

Routing Process OSPF with ID 149.49.75.222

Number of areas in this router is 1

Area 0.0.0.0

Number of Interfaces in this area 0

SPF algorithm executed 1 times

SPF hold time is 3 sec

show ip ospf database

User level: user, privileged, supervisor

Displays lists of information related to the OSPF database for a specific router.

The syntax for this command is: show ip ospf database [<ls type>] ls-types: asbr-summary router

Displays information only about the autonomous system boundary router summary LSAs.

Optional.

Displays information only about the router LSAs.

Optional.

288 C360 Converged Stackable Switch Reference Guide, Software V4.5

network network-summary external

Displays information only about the network

LSAa. Optional.

Displays information only about the network

LSAa summary. Optional

Displays information only about the external

LSAa. Optional.

Example:

Routing-1# show ip ospf database

Showing 1 rows

Area Type LSA ID Router ID Sequence

Age Cksm

--------------- ----- --------------- --------------- --------

----- ----

0.0.0.0 RTR 0.0.0.0 0.0.0.0 80000005

238 7ddf

show ip ospf interface

User level: user, privileged, supervisor

Use the show ip ospf interface command to display OSPF-related interface information.

The syntax for this command is: show ip ospf interface [<interface-name>] interface-name The OSPF interface name.

Example:

Marketing-1# show ip ospf interface

There are no OSPF interfaces

Note:

Note:

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

User level: user, privileged, supervisor

Issue 1 June 2005 289

Avaya C360 Layer 3 CLI Commands

Displays OSPF-neighbor information on a per-interface basis.

The syntax for this command is: show ip ospf neighbor

[<interface-name>] [<neighbor-id>] interface-name neighbor-id

The OSPF interface name.

Neighbor ID.

Example:

Routing-1# show ip ospf neighbor

There are no ospf neighbors

Note:

Note:

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>] protocol (Optional) RIP | OSPF.

Example:

Routing-1# show ip protocols

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 0 seconds

Invalid after 180 seconds, flushd after 300

Redistributing: rip

Default version control: rip version 1

Interface Version Key

Routing for Networks:

Routing Information Sources:

Gateway Last Update

290 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

The syntax for this command is: show ip reverse-arp <mac addr> [<match len>] mac addr match len

MAC address

The number of bytes in the address to match

Example:

Routing-1# sh ip reverse-arp 00:10:a4:98:97:e0

Showing 1 rows

Address MAC Address I/F Type

TTL

--------------- ----------------- ----------- -------

--------

149.49.70.68 00:10:a4:98:97:e0 e-70 Dynamic

14355

show ip route

User level: user, privileged, supervisor

Use the show ip route command to display information about the IP unicast routing table.

The syntax for this command is: show ip route

Routing-1# show ip route

Showing 2 rows

Network Mask Interface Next-Hop

Cost TTL Source

--------------- --------------- ------------

--------------- ----- --- ---------

0.0.0.0 0.0.0.0 net 149.49.54.1

1 n/a STAT-LO

149.49.54.0 255.255.255.0 net

149.49.54.56 1 n/a LOCAL

Issue 1 June 2005 291

Avaya C360 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> dst addr IP address

Example:

Routing-1# show ip route best-match 199.93.0.0

Searching for: 199.93.0.0

Showing 1 rows

NetworkMask Interface Next-Hop Cost TTL Source

--------------------------------------------------------------- -----

199.93.0.0255.255.0.0 e-135new 135.64.76.1 1 n/a STAT-HI

show ip route static

User level: privileged, supervisor.

Use the show ip static route command to display the static routes.

The syntax for this command is: show ip route static [<ip addr> [<mask>] ] ip-address mask

The IP address of the routes

The ip mask of the routes.

292 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Routing-1# sh ip route static

Showing 34 rows

Network Mask Interface Next-Hop Cost

Pref Active

------------- ------------ --------------- ---------------

---- ---- -----

10.0.8.0 255.255.255.0 e-36 149.49.36.11 1 high Yes

135.0.0.0 255.0.0.0 e-135new 135.64.76.1 1 high Yes

135.64.0.0 255.255.0.0 e-135 135.87.164.1 1 high No

149.49.0.0 255.255.0.0 trial 10.10.254.253 1 low Yes

149.49.2.0 255.255.255.0 n/a v-Route-FW 1 1 high Yes

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:

Marketing-1# sh ip route summary

Route Source Networks Subnets

---------------- ---------------- ----------------

Local 0 1

Static 0 1

Total 0 2

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

Issue 1 June 2005 293

Avaya C360 Layer 3 CLI Commands

Example:

C360-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 IP:Port

0x508622f0 2 3des-cbc root

135.64.100.73:4201

show ip traffic

User level: user, privileged, supervisor

Use the show ip traffic command to display the IP traffic statistics counters.

The syntax for this command is: show ip traffic

294 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Routing-1# 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 timestamps request, 0 timestamp reply

--type q to quit or space key to continue--

0 mask requests, 0 mask replies

0 redirects

Sent:

1311 total, 0 ICMP errors

433 unreachables, 0 time exceeded

0 parameter, 0 quench

17 echo, 861 echo reply

0 timestamps request, 0 timestamp reply

0 mask requests, 0 mask replies

0 redirects

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

Issue 1 June 2005 295

Avaya C360 Layer 3 CLI Commands

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.

Use the show ip unicast cache command to list the entries in the hardware unicast cache database.

The syntax for this command is: show ip unicast cache [[<src addr> <src mask>] <dst addr> <dst mask>} src addr src mask dst addr dst mask

The source IP address.

The source mask IP address.

The destination IP address.

The destination mask IP address.

296 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Routing-1# show ip unicast cache

Showing 6 Sessions.

Source IP Destination IP Next Hop IP NH MAC

Vlan

=============== ============= ================ =============

====

192.168.1.1 29.2.1.1 28.2.0.2

00.00.28.02.00.02 5

192.168.2.1 29.2.2.1 28.2.0.2

00.00.28.02.00.02 5

192.168.2.2 29.2.2.2 28.2.0.2

00.00.28.02.00.02 5

192.168.2.3 29.2.2.3 28.2.0.2

00.00.28.02.00.02 5

192.168.2.4 29.2.2.4 28.2.0.2

00.00.28.02.00.02 5

192.168.2.5 29.2.2.5 28.2.0.2

00.00.28.02.00.02 5

show ip unicast cache networks

User level: user, privileged, supervisor

Use the show ip unicast cache networks command to display a summary of networks handled by the hardware unicast cache database.

The syntax for this command is: show ip unicast cache networks [<net addr> <net mask>] net addr net mask

The IP address of the network.

The mask IP address.

Issue 1 June 2005 297

Avaya C360 Layer 3 CLI Commands

Example:

Marketing-1# 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.130

-----

Total: 2621

show ip unicast cache networks detailed

User level: user, privileged, supervisor

Use the show ip unicast cache networks detailed command to list the networks and hosts that are handled by the hardware unicast cache database.

The syntax for this command is: show ip unicast cache networks detailed[<net addr> <net mask>] net addr net mask

The IP address of the network.

The mask IP address.

Example:

Routing-1# show ip unicast cache networks detailed

192.168.6.0 24

Showing 3 rows

NetworkMaskIPAddress

============ ===================

192.168.6.024192.168.6.40

192.168.6.53

192.168.6.64

298 C360 Converged Stackable Switch Reference Guide, Software V4.5

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.

The syntax for this command is: show ip unicast cache nextHop

Example:

Routing-1# show ip unicast cache nextHop

Showing 2 rows

Next Hop

========

192.168.4.1

192.168.5.1

show ip unicast cache summary

User level: user, privileged, supervisor

Use the show command to display the number of host networks and next-hops in the module’s unicast cache.

The syntax for this command is: show ip unicast cache summary

Example:

Routing-1# 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.

Issue 1 June 2005 299

Avaya C360 Layer 3 CLI Commands

The syntax for this command is: show ip vrrp [<vlan> [router-id <vr-id>]][detail] vlan router-id vr-id detail

Filter by VLAN.

Filter by virtual router ID (1-255)

The virtual router ID.

Provide detailed information.

Example:

Routing-1# show ip vrrp

VRRP is globally enabled

VLANVRIDIP Address PriTimer State Since

-----------------------------------------------

-----------

1 1192.168.66.23 255 1 MASTER 00:00:00

1 2192.168.66.24 100 1 BACKUP 00:00:00

show ip vrrp detail

User level: user, privileged, supervisor

Use the show ip vrrp detail command to display full VRRP-related information

The syntax for this command is: show ip vrrp detail

300 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example:

Routing-1# show ip vrrp detail

VRRP is globally enabled

Virtual Router on VLAN:1

Router-id:1

State:MASTER

Priority: 255

Advertisement Interval: 1

Last State Change: 00:00:00

Override Address Ownership Rule: No

Authentication Type: None

Authentication Key: ""

Master IP Address 192.168.66.23

Has 1 IP addresses

IP addresses:

192.168.66.23

Primary IP Address: 192.168.66.23

Primary IP Address was chosen by default

Preemption Mode: enabled

# of times Master:

2

# of received Advertisements:

0

# of transmitted Advertisements:

20

# of received Advertisements with Security

Violations: 0

Issue 1 June 2005 301

Avaya C360 Layer 3 CLI Commands

Virtual Router on VLAN: 1

Router-id: 2

State: BACKUP

Priority: 100

Advertisement Interval: 1

Last State Change: 00:00:00

Override Address Ownership Rule: No

Authentication Type: None

Authentication Key: ""

Master IP Address 0.0.0.0

Has 1 IP addresses

IP addresses:

192.168.66.24

Primary IP Address: 192.168.66.23

Primary IP Address was chosen by default

Preemption Mode: enabled

# of times Master:

1

# of received Advertisements:

0

# of transmitted Advertisements:

13

# of received Advertisements with Security

Violations: 0

Marketing-1#

show running-config

User level: user, privileged, supervisor

Use the show running-config command to show the current router and policy configuration.

The syntax for this command is: show running-config

302 C360 Converged Stackable Switch Reference Guide, Software V4.5

Example: c360-1(super)# sh running-config c360-1(super)#

#!#[email protected] DO NOT REMOVE THIS LINE - Avaya Inc. C360 Switch - Router configuration

! Avaya Inc. C360 Switch - Router configuration

! version 4.3.2

hostname "c360"

!#

!# End of Configuration File

show startup-config

User level: user, privileged, supervisor

Use the show startup-config command to show the configuration loaded at startup.

The syntax for this command is: show startup-config

Example:

Routing-1# show startup-config c360-1(super)#

#!#[email protected] DO NOT REMOVE THIS LINE - Avaya Inc. C360 Switch

- Router configuration

! Avaya Inc. C360 Switch - Router configuration

! version 4.3.2

!#

!# End of Configuration File

show system

User level: user, privileged, supervisor

Use the show system command to display the up time, system name, location, and contact person.

The syntax for this command is: show system

Issue 1 June 2005 303

Avaya C360 Layer 3 CLI Commands

Example:

Routing-1# show system

Uptime d,h:m:s

------------------------

0,2:40:55

System Name System Location System

Contact

--------------------- -------------------------

-----------------C360_version-4.3.2 R&D

Gregory Kohll

Switch MAC address

------------------

00 40 0d 8a 04 b4

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

Routing-1# show upload status 1

Module : 1

Source file : stack-config

Destination file : c:\conf.cfg

Host : 149.49.36.200

Running state : Executing

Failure display : (null)

Last warning : No-warning

show vlan

User level: user, privileged, supervisor

304 C360 Converged Stackable Switch Reference Guide, Software V4.5

Use the show vlan command to display router Layer 3 interfaces.

The syntax for this command is: show vlan

Example:

Routing-1# show vlan

VLAN NAME VLAN ID VLAN MAC

---------------- ------- -----------------

Default 1 02:e0:3b:1d:f9:01

tech

User level: supervisor

Use the tech command to enter tech mode.

Note:

Note:

This command is reserved for service personnel use only.

terminal length

User level: user, privileged, supervisor

Use the terminal length command to display or set the length screen length in characters.

The syntax for this command is: terminal length [<screen-length>] screen-length

● none – display the current value

● length: 3 to 200

Example:

Router-N> terminal length 24 terminal length: 24

terminal width

User level: user, privileged, supervisor

Issue 1 June 2005 305

Avaya C360 Layer 3 CLI Commands

Use the terminal width command to display or set the screen width.

The syntax for this command is: terminal length [<screen-width>] screen-width

● none – display the current value

● width: 10 to 200

Example:

C360-N> terminal width terminal width: 80 (auto-detected)

timers basic

Note:

Note:

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.

Use the timers basic command to configure the route timer.

Use the no timers basic command to restore the timers to their default values.

The syntax for this command is: timers basic <update><invalid> update invalid

RIP update timer in seconds (minimum = 30; default = 30)

RIP invalid route timer in seconds (minimum

=30; default = 180)

Note:

Note:

The Invalid Route Timer value must be larger than the Update Timer value. It is recommended that it be at least three times greater.

In any configuration all adjacent routers must have the same values for each of the timer parameters. It is possible to have different values for the timers on two adjacent routers, provided the Invalid Timer value is at least three times greater on one of the routers than the Update Timer value on the other router.

Example:

Router-N(configure router:rip)# timers basic 30 180

306 C360 Converged Stackable Switch Reference Guide, Software V4.5

timers spf

User level: privileged, supervisor.

Note:

Note:

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.

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> spf-holdtime The time in seconds of the delay between runs of OSPF’s SPF calculation.

Example:

Router-N(configure router:rip)# timers spf 5

Done!

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> host IP address.

Example:

Marketing-1# traceroute 192.168.50.13

tree

User level: user, privileged, supervisor

Use the tree command to display a list of CLI commands available at the current user level.

Issue 1 June 2005 307

Avaya C360 Layer 3 CLI Commands

The syntax for this command is: tree [<depth>

] depth Depth of CLI commands displayed

Example:

Router-N> tree 1

> arp

> arp timeout

> clear arp-cache

> clear fragment

> clear screen

> clear vlan

> configure

> disconnect ssh

> erase startup-config

> fragment chain

> fragment size

> fragment timeout

> hostname

> icmp in-echo-limit

> interface

interface > default-metric

> ip access-default-action

> ip access-group

> ip access-list

> ip access-list-cookie

> ip access-list-copy

> ip access-list-name

> ip access-list-owner

--type q to quit or space key to continue--

validate-group

User level: privileged, supervisor.

Use the validate-group command to verify that all the rules in a policy list are valid.

If there is a configuration problem with a specific rule, or with a number of rules, detailed error messages will be given.

The syntax for this command is:

308 C360 Converged Stackable Switch Reference Guide, Software V4.5

validate-group <policy-list-number>[quiet]

Tip: quiet does not display error messages

Example:

Router-N(configure)# validate-group 101

List 101 is valid

Tip:

The validation process may take some time to complete.

Issue 1 June 2005 309

Avaya C360 Layer 3 CLI Commands

310 C360 Converged Stackable Switch Reference Guide, Software V4.5

Chapter 4: Avaya C360 Layer 3 CLI Commands

This chapter lists the Layer 3 CLI (Command Line Interface) by context.

interface context

[no]

default-metric

enable vlan commands

ip address

ip admin-state

[no]

ip bootp-dhcp network

[no]

ip bootp-dhcp server

ip broadcast-address

[no]

ip directed-broadcast

[no]

ip netbios-rebroadcast

[no]

ip ospf authentication-key

[no]

ip ospf cost

[no]

ip ospf dead-interval

[no]

ip ospf hello-interval

[no]

ip ospf priority

[no]

ip proxy-arp

[no]

ip redirects

[no]

ip rip authentication key

[no]

ip rip authentication mode

[no]

ip rip default-route-mode

[no]

ip rip poison-reverse

ip rip rip-version

[no]

ip rip send-receive-mode

[no]

ip rip split-horizon

ip routing-mode

Issue 1 June 2005 311

Avaya C360 Layer 3 CLI Commands

[no]

ip vlan/ip vlan name

[no]

ip vrrp

ospf context

[no]

area

[no]

network (OSPF context)

[no]

passive-interface

[no]

redistribute (OSPF context)

[no]

timers spf

rip context

[no]

network (RIP context)

[no]

redistribute (RIP context)

[no]

timers basic

312 C360 Converged Stackable Switch Reference Guide, Software V4.5

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project