IBM NH2025-10 User Manual

NH2025-10
High Density Workgroup Switch
Installation and User Guide
Standards Compliance
UL 1950; CSA 22.2 No 950; VCCI; FCC Part 15 Class A; CE-89/336/EEC, 73/23/EEC
FCC Notice
WARNING: 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.
The user is cautioned that changes and modifications made to the equipment without approval of the manufacturer could void the user’s authority to operate this equipment.
It is suggested that the user use only shielded and grounded cables when appropriate to ensure compliance with FCC Rules.
CE Mark
The CE mark symbolizes compliance with the EMC directive of the European Community. Such marking is indicative that the specified equipment meets or exceeds the following technical standards:
EN 55022 – “Limits and Methods of Measurement of Radio Interference Characteristics of Information Technology Equipment”
EN 50082-1 – “Electromagnetic compatibility – Generic immunity standard Part 1: Residential, commercial and light industry”
IEC 1000-4-2 – “Electromagnetic compatibility for industrial-process measurement and control equipment Part 2: Electrostatic discharge requirements” – Severity level 3
IEC 1000-4-3 – “Electromagnetic compatibility for industrial-process measurement and control equipment Part 3: Radiated electromagnetic field requirements” – Severity level 2
IEC 1000-4-4 – “Electromagnetic compatibility for industrial-process measurement and control equipment Part 4: Electrical fast transient/burst requirements” – Severity level 2
CISPR 22 – Radiated and Line-conducted Class A
EN 60950 – ITE Safety
A “Declaration of Conformity”, in accordance with the above standards, has been made and is on file at NBase-Xyplex Communications Ltd.
VCCI
This equipment is in the 2nd Class category (information equipment to be used in a residential area or an adjacent area thereto) and conforms to the standards set by the Voluntary Control Council For Interference by Information Technology Equipment aimed at preventing radio interference in such residential area.
When used near a radio or TV receiver, it may become the cause of radio interference. Read the instructions for correct handling.
Contents
Overview
Applications...............................................................................................................................2
Network Management Systems................................................................................................. 2
Feature Summary......................................................................................................................3
Performance/Configuration...............................................................................................3
Management......................................................................................................................3
Installing and Setting Up the Unit
Installing the Unit.....................................................................................................................5
Rack Mounting ..................................................................................................................5
Front Panel........................................................................................................................5
Rear Panel.........................................................................................................................6
Installing Modules in the Unit ..................................................................................................6
Modules for NH 2025-10....................................................................................................7
EM2003-1GE.....................................................................................................................7
EM2003-2FO .....................................................................................................................7
EM2003-8TP......................................................................................................................8
Em2003-2GE*....................................................................................................................8
Connecting Power to the Unit ...................................................................................................8
Input Supply......................................................................................................................8
Grounding..........................................................................................................................9
Connecting Ethernet Devices ....................................................................................................9
Connecting Your Network.................................................................................................9
Getting Started
Connecting to the Management Port.......................................................................................11
Logging Into the Command Line Interface .............................................................................11
Setting the IP Address.............................................................................................................11
Verifying the Installation ........................................................................................................12
Accessing the Command Line Interface Remotely..................................................................12
Using the Command Line Interface
Command Conventions ............................................................................................................13
Command Line Help................................................................................................................13
Getting Command Parameter Help...................................................................................13
Getting Command Group Help..........................................................................................14
Using Command Wildcards...............................................................................................14
Retrieving Command History............................................................................................15
Command Line Errors.............................................................................................................16
Nonexistent Command......................................................................................................16
Incorrect Number of Parameters.......................................................................................16
i
Configuring, Modifying, and Monitoring the Unit
Console Commands..................................................................................................................17
System Commands................................................................................................................... 20
IP Commands...........................................................................................................................23
IP Configuration................................................................................................................23
Setting an IP address ........................................................................................................ 24
Erasing an IP Configuration ............................................................................................. 25
Configuring a Gateway...................................................................................................... 25
Bootp Configuration........................................................................................................... 25
Address Resolution Protocol (ARP) ..........................................................................................26
Port configuration....................................................................................................................27
Displaying the Port Configuration .................................................................................... 27
Setting the port configuration ...........................................................................................28
Setting the flow control......................................................................................................29
EtherChannel........................................................................................................................... 30
Getting the EtherChannel Configuration..........................................................................30
Setting the EtherChannel Configuration..........................................................................30
Deleting the EtherChannel Configuration........................................................................31
Port Priority.............................................................................................................................31
Set Port Priority................................................................................................................. 31
Get Port Priority................................................................................................................32
VLAN Priority.................................................................................................................... 32
Modifying the Switch Policy ..............................................................................................32
Spanning Tree Protocol (STP).................................................................................................. 33
How the STP Topology Stabilizes......................................................................................33
Spanning Tree Parameters ................................................................................................34
Root Bridge........................................................................................................................ 34
Manually Designating a Root Bridge ................................................................................ 34
Selecting a Designated Switch/Bridge............................................................................... 34
Topology Change Notification BPDU ................................................................................35
Using STP to Manage Redundant Links...........................................................................35
Spanning Tree and VLAN restrictions..............................................................................35
Spanning Tree Commands ................................................................................................ 35
Enabling/Disabling STP...................................................................................................35
Viewing Bridge Parameters............................................................................................... 36
Configuring the Bridge ......................................................................................................36
Viewing the Port Configuration.........................................................................................37
Setting Port Configuration ................................................................................................37
Switching Commands ..............................................................................................................39
Learning Table................................................................................................................... 39
Aging Configuration ..........................................................................................................39
Deleting Entries .................................................................................................................42
Adding Static Entries ........................................................................................................42
Virtual Broadcast Domain.......................................................................................................43
Viewing the VBC Mode......................................................................................................43
Setting the VBC mode .......................................................................................................43
Creating VBC Domains .....................................................................................................43
Viewing VBC Matrix..........................................................................................................44
Deleting a VBC..................................................................................................................45
ii
Virtual Networking..................................................................................................................45
Important Considerations .................................................................................................46
Viewing the VLAN Mode...................................................................................................46
Setting the VLAN Mode ....................................................................................................46
Inter-Switch VLAN or ISVLAN ...............................................................................................47
Tag Field Format ...............................................................................................................47
Principles of ISVLAN ........................................................................................................47
Viewing the ISVLAN Mode ................................................................................................47
Setting a Tagged Port........................................................................................................47
Removing a Tagged Port....................................................................................................48
Server Port ........................................................................................................................48
Creating a Server Port.......................................................................................................48
Removing a Server Port.....................................................................................................49
VLAN.................................................................................................................................49
Creating a VLAN...............................................................................................................49
Viewing VLAN Configuration............................................................................................49
Deleting a VLAN................................................................................................................50
VLAN Management...........................................................................................................51
Viewing the Management Tag...........................................................................................51
Modifying the Management Tag........................................................................................51
Deleting the Management from a VLAN............................................................................51
Creating a VLAN with Port Management .........................................................................52
VLAN, Server-port, Example of Configuration.................................................................52
Physical configuration schema..........................................................................................52
VLAN Server Port Configuration:......................................................................................52
VLAN Configuration .........................................................................................................53
Payroll VLAN Configuration:............................................................................................53
Finance VLAN Configuration:...........................................................................................53
Checking the Configuration:..............................................................................................53
Utilities Commands.................................................................................................................54
Ping Commands.................................................................................................................54
Port mirroring ...................................................................................................................54
Setting the Monitoring Port...............................................................................................55
Monitoring with: monitor ..................................................................................................55
Saving the Configuration ..................................................................................................55
Stopping Monitoring..........................................................................................................55
Viewing the NVRAM Configuration..................................................................................56
Erasing the NVRAM configuration ...................................................................................56
Frame Generator...............................................................................................................56
Setting the Frame Generator .............................................................................................56
Starting the Frame Generation..........................................................................................56
Stopping the Frame Generation.........................................................................................57
SNMP.......................................................................................................................................57
NBase-Xyplex SNMP Support ...........................................................................................57
SNMP basic configuration.................................................................................................57
SNMP Community String Commands..............................................................................58
Viewing the Community String.........................................................................................58
Setting the Read or Write Community...............................................................................58
SNMP Traps......................................................................................................................59
Setting Authentication Traps ............................................................................................59
iii
Viewing the Authentication Trap Status ........................................................................... 59
Setting the Authentication Trap ........................................................................................59
Configuring the Trap Stations........................................................................................... 60
Statistics ..................................................................................................................................61
Clearing the Switch Counters............................................................................................ 61
Getting Collisions on a Port...............................................................................................61
Rmon Statistics ..................................................................................................................62
Getting Rmon Statistics Group for a Port.......................................................................... 62
Getting the Packet Size Distribution.................................................................................. 62
Getting the Management Counters..................................................................................... 63
Console Commands..................................................................................................................67
System Commands................................................................................................................... 67
IP Commands...........................................................................................................................68
Ping Commands.......................................................................................................................68
ARP Commands.......................................................................................................................68
EtherChannel Commands........................................................................................................68
SNMP Commands....................................................................................................................68
Switching Database Commands .............................................................................................. 69
Virtual LAN Commands..........................................................................................................69
Port Monitoring........................................................................................................................ 70
Port Configuration Commands................................................................................................70
Switching Statistics Commands ..............................................................................................70
Spanning Tree Commands.......................................................................................................71
Download Procedure - "Client Mode".................................................................................75
Download Procedure - "Server mode"................................................................................75
TFTP Recovery - Breaking into the BootROM ..................................................................76
iv
Overview
The NH2025-10 is a robust switch platform, representing the next generation in switching technology. It boasts a combination of cutting-edge hardware architecture, a rich set of Virtual LAN (VLAN) options and advanced network management features.
Figure 1 - General View
The NH2025-10 contains a built-in SNMP agent running on the SNMP Processor Board. This allows each unit to be managed from a centralized management station through any SNMP­compliant NMS.
The SNMP agent software complies with the following standards:
RFC 1155 The Structure of Management Information (SMI) for TCP/IP Based Internets, May 1990
RFC 1212 The Management Information Base I (MIB I)
RFC 1213 The Management Information Base II (MIB II), March 1991.
RFC 1284 The Ethernet MIB
RFC 1286 The Bridge MIB
RFC 1757 The RMON MIB
The NH2025-10 also supports two NBase-Xyplex private MIBs: switch.mib and gswitch.mib. The SNMP agent utilizes UDP/IP (RFC 768, RFC950, RFC1071 and RFC791) as OSI layers 3
and 4 protocols, ICMP (RFC792) and ARP (RFC826) to complete the UDP/IP protocol suite. The UDP/IP stack implementation conforms to:
RFC 1122 Requirements for Internet hosts - communication layers.
RFC 1123 Requirements for Internet hosts - application and support.
The NH2025-10 may be managed by any SNMP Manager that conforms to the above standards. It may be fully managed by MegaVision, NBase-Xyplex’s multi-platform network management system. For more information on MegaVision, view our web site, or contact NBase-Xyplex for a data sheet.
The NH2025-10 implements an NBase-Xyplex Enterprise MIB and an NBase-Xyplex Product MIB that may be provided upon request.
1
Overview
Applications
A switch boosts network performance by segmenting a single large collision domain into smaller, separate collision domains. It also provides dedicated connections for heavily loaded networks using work stations and servers. In addition, the Full Duplex capability of Ethernet switches permits long distance connectivity for backbone applications or high throughput for high-performance dedicated servers. The NH2025-10 combines 10/100Mbps switched ports with a dport for accommodating an optional module.
The NH2025-10 switch can connect up to twenty-four 10/100Mbps ports and with a dport for accommodating an optional module Figure 2 illustrates various connection possibilities: Two NH2025-10 switches ,with Gigabit Ethernet uplink modules, located in different buildings can be connected via MM or SM fiber optic cable to a Gigabit Ethernet backbone. VLAN Tagging allows the creation of one logical VLAN across all switches. Additional connections include dedicated 10/100Mbps workgroup connections and 100Mbps dedicated servers.
Figure 2 - Typical Application Example
NOTE: The NH2025-10 does not count as a repeater. Each of the segments connected to the switch can support a full Ethernet network; there can be up to four 10Base-T repeaters/hubs between any NH2025-10 port and any station.
Network Management Systems
Network management functions greatly assist in monitoring and controlling the network. The NH2025-10 can be monitored and controlled through MegaVision or through a generic SNMP­based NMS. The connection to the NH2025-10 may be achieved through Ethernet.
To enable management of an NH2025-10 device, you must define the device and provide specific parameters to establish communication. The Describe window is used to define a new device or to change the parameters of a previously defined device.
The NH2025-10 can also be configured and managed through the Command Line Interface.
2
Overview
Feature Summary
The following are the Performance/Configuration and Management features supported on the NH2025-10 switch.
Performance/Configuration
24 switched 10/100Mbps ports and a dport to accommodate one of the following uplink modules:
Single Gigabit Ethernet port (MM,SM)
Dual Gigabit Ethernet ports (MM,SM)*
8 10/100 auto-negotiation ports module
2 100Base-FX ports (MM,SM)
The highest common port speed is automatically set when connecting any standard
compliant (802.3u Auto-negotiation) network device or station.
Each 10/100Base port operates in half duplex mode, for shared networks, or in a dedicated full duplex link, running at up to 200Mbps.
All ports support auto-polarity detection and correction.
Store-and-Forward switching.
Flow Control (IEEE 802.3x) provides effective packet loss protection under heavy load
conditions, minimizing delays and retransmission of data, thus improving network performance.
Supports the creation of up to 64 Virtual LANs.
Supports the Inter-Switch VLAN tagging standard which enables the creation of multiple
groups across the network (IEEE 802.1q).
MAC address table (up to 12K unicast entries).
Maximum wire speed throughput on all ports simultaneously.
Supports RMON (groups 1,2,3,9), Telnet for rapid fault detection and isolation.
Port Mirroring.
Spanning Tree Algorithm prevents broadcast loops
Management
Fully managed through the comprehensive NBase-Xyplex MegaVision Network Management System, or any SNMP-based management platform.
Extensive Command Line Interface (CLI) management provides out-of-band administration.
Supports NBase-Xyplex's private MIB, Ethernet MIB and bridge MIB. The status of each
port is displayed by an LED on the front panel. This LED indicates active and link status.
3
Installing and Setting Up the Unit
The NH2025-10 can operate as a stand-alone unit or in conjunction with any of NBase-Xyplex’s other Ethernet offerings. Switch management is through NBase-Xyplex MegaVision software, any SNMP-compatible NMS, or through the Command Line Interface (CLI).
Installing the Unit
This section outlines the installation and operation of the NH2025-10. The NH2025-10 comes as a 19” rack-mountable unit. However, it can be placed either in a rack
mount, using the enclosed rack-mount brackets, or on a secure flat surface. Ensure that the unit is within reach of the necessary connections (i.e. power outlet, Ethernet connections, and if the NH2025-10 is monitored through the serial port, a PC, UNIX workstation, or modem). The unit is powered by a wide-range power supply for either 110 or 220 VAC operation.
WARNING
Free airflow must be maintained in order to permit adequate cooling of the unit. All FAN holes MUST be unobstructed.
Rack Mounting
If rack-mounted units are installed in a closed or multi-rack assembly, they may require further evaluation by certification agencies. The following items must be considered when rack mounting a unit:
1. The ambient temperature within the rack may be greater than room ambient temperature, however the amount of airflow required for safe operation should not be compromised. The maximum temperature for this equipment is 50°C (122F). Consideration should be given to the maximum rated ambient temperature.
2. The rack should be stable, verify that stability is not inadvertently compromised during and after installation.
Front Panel
The front panel of the NH2025-10 is illustrated below in Figure 3. The table below describes its various components, LED indications and their functions.
Figure 3 - Front Panel
5
Installing and Setting Up the Unit
1 Global LEDs
PWR Green ON indicates Power ON MGMT Blinking Green indicates that the firmware is initializing
Solid Green indicates that firmware is installed and in proper operational mode
2 10/100 Port LEDs
L
A Solid Green indicates network activity.
3 10/100 Base-T ports
4 DB-9 Connector 5 Optional Module LEDs
Optional Module
6
Port/s
Solid Green indicates a valid connection. During LINK test, there is an intermittent flash on all the ports.
One of three groups of switched Ethernet ports for 10/100Mbps connection
RS-232 connection for NMS
Rear Panel
The rear panel of the NH2025-10, which houses the power connection and ON/OFF switch, is illustrated in Figure 4. Two fan holes, which MUST be kept unobstructed, are located on the left side of the unit.
Figure 4 - Rear Panel
Installing Modules in the Unit
To insure proper installation, complete the following:
1. Power OFF the NH2025-10 switch.
2. Carefully slide an NH2025-10 module into a free dport and press firmly to insert.
3. Tighten the thumbscrews securely.
4. Power ON the NH2025-10 switch. If you have a flash version lower than 1.20 and you are installing F/O modules, you must download a new software version to the switch so that the firmware recognizes the new uplinks and the modules operate correctly.
6
Modules for NH 2025-10
Figure 5 - Front Panels of the EM2003-1GE and EM2003-2FO Uplink Modules
EM2003-1GE
Installing and Setting Up the Unit
EM2003-1GE
LEDs
Type Connector Wavelength Budget Estimated
SX/M LX/M DSC 1310nm NA 0–500 km 2 dB/km -13 dBm LX/S1 DSC 1310nm NA 0–6 km 0.5 dB/km -13 dBm LX/S2 LX/S3
DSC 850nm NA 0–350 km 3 dB/km -9.5 dBm
DSC 1550nm 8 dB 0–32 km 0.25 dB/km -13 dBm DSC 1550nm 15 dB 30–60 km 0.25 dB/km -6 dBm
One 1000BaseLX port (SM 1500nm, .0-60km)
L A
Green ON = Link, OFF = No Link Green ON = Activity, OFF = No Activity
Range
Attenuation Minimum
Committed Power
EM2003-2FO
EM2003-2FO
Two port 100Base-FX (MM, 1310nm, 0-2, DSC).
LEDs
L A
Green ON = Link, OFF = No Link Green ON = Activity, OFF = No Activity
Type Connector Wavelength Budget Estimated
Range
M DSC 1310 nm 9 dB 0–2 km 2 dB/km -16 dBm MX DSC 1310 nm 19 dB 2–7 km 2 dB/km -6 dBm S1 S2 S3
DSC 1310 nm 17 dB 0–25 km 0.5 dB/km -13 dBm DSC 1310 nm 24 dB 25–50 km 0.5 dB/km -8 dBm DSC 1550 nm 24 dB 50–100 km 0.25 dB/km -8 dBm
7
Attenuation Minimum
Committed Power
Installing and Setting Up the Unit
Figure 6 - Front Panels of the EM2003-8TP and EM2025-2GE* Modules
EM2003-8TP
EM2003-8TP Eight port 10/100Base-TX switch module
L A
Green ON = Link, OFF = No Link Green ON = Activity, OFF = No Activity
Em2003-2GE*
EM2003-2GE* Two port Gigabit 1000Base-SX (MM, 850nm, 0-350m)
*Future release
L A
Green ON = Link, OFF = No Link Green ON = Activity, OFF = No Activity
Connecting Power to the Unit
The power cord should be plugged into an easily accessible outlet. A built-in power supply automatically adjusts to any outlet providing between 90 VAC and 264 VAC at 50/60 Hz.
For a 115 volt configuration, the power cord to be used is minimum type SJT (SVT) 18/3, rated 250 Volts AC, 10 Amps with a maximum length of 15 feet. One end is terminated in an IEC 320 attachment plug, the other in a NEMA 5-15P plug.
The power cord to be used with a 230 Volt configuration is minimum type SJT (SVT) 18/3, rated 250 Volts AC, 10 Amps with a maximum length of 15 feet. One end is terminated in an IEC 320 attachment plug. The other end is terminated as required by the country where the unit is installed.
Utilisez uniquement un câble secteur adapté à 230 volts, de type SJT (SVT) 18/3 minimum, 250 volts AC nominal, 10 Amps, et d’une longueur maximale de 4.5m. l’une des extrémités étant raccordée à un connecteur Type IEC320, tandis que l’autre extrémité correspondra aux spécifications du pays concerné.
Das Netzkabel ist das hauptsachliche Diskonnektionsmittel, es sollte in eine leicht erreichbare steckdos gesteckt werden. Das Netzkabel kann mit einer 230 Volts Konfiguration verwonder werden vom typ: Minimum VDE or HAR, 3 X 1.00 mm2, 250 VAC, 10 Amps, maximal 4.5m long. Ein Ende ontspriche dem Stecker IEC 320. Das andere Ende entspricht den Anfoderungen des entsprechenden Landes.
Input Supply
Check voltage ratings to assure there is no possibility of overloading the electrical circuits that could effect current overload protection and electrical wiring.
8
Installing and Setting Up the Unit
Grounding
Reliable grounding of this equipment must be maintained. Particular attention should be given to electrical connections when connecting to a power strip, rather than direct connections to the electrical outlet.
Connecting Ethernet Devices
For optimum performance, the Ethernet segments connected to the NH2025-10 must be configured carefully. Generally, the segments should be configured so that machines on a given port communicate primarily among themselves; that is, most traffic does not need to cross the switch. However, this is not the best configuration for certain situations.
Connecting Your Network
The cable connections to the 10/100BaseTX ports can be UTP or STP Category 3 and above, and cable length is limited to 100 meters on each port. STP cable carries a higher quality of signal and is less sensitive to environmental noise.
The RJ-45 ports of the switch are defined as MDI-X ports. The 10/100BaseTX ports on the NH2025-10 are designed to be connected directly to a
workstation, using a standard straight through patch cable. In order to cascade switches or connect a hub to the switch, a crossover cable must be used.
Figure 7 - Straight Cable Connection Between a NH2025-10 and a Workstation
Figure 8 - Crossover Cable Connection Between an NH2025-10 and a Hub
9
Getting Started
This section describes how to connect to the management port, log into the Command Line Interface, and set the unit’s IP Address.
Connecting to the Management Port
With the product we supply a management cable. You can use it to get access to the management port.
To configure the serial ports do the following items:
1. Connect the cable provided to the management port and communication interface (COM1 or COM2) of your PC.
2. Start Windows HyperTerminal and create a new connection with the property set to 9600 bit per second, 8 bits per character and no flow control.
3. Start HyperTerminal session and then type Enter to get the login prompt.
Logging Into the Command Line Interface
The Command Line Interface is protected with a login name and password. To access the CLI the Network Administrator has to provide his name and a password.
Example
Please Login username: don password: (not echoed)
The factory default password is a null string. To log in just press the Enter key. Once you are logged into the CLI, you may change the password in order to avoid unauthorized access.
Setting the IP Address
To manage the MegaSwitch using an SNMP Network Management Application or to use the ping command to test the switch, it is necessary to assign an IP Address, a netmask and a broadcast address. The Network Administrator should assign the IP address in accordance with the existing IP addressing scheme.
Set the IP configuration using the
Example
SYS_console> set-ip-cfg 192.1.1.64 255.255.255.0 255.255.255.255
set-ip-cfg
command.
11
Getting Started
NOTE: If the switch has no IP Address, then the provided IP Configuration changes the
running parameters as well as the NVRAM-based database. If the switch was already configured, the command only changes the NVRAM database. Therefore, to use the new parameters you should reset the Switch, using the warm-reset command.
You can also use the are automatically set to defaults according to the IP address class.
Example
SYS_console> set-ip 192.1.1.64
set-ip
command to accomplish this. When you do, the mask and broadcast
Verifying the Installation
After the installation is complete and the IP Address configured, use the Ping utility to test the connectivity.
The ping command sends an echo request to the host specified in the command line. For example, to test connectivity from the Switch to a workstation with an IP Address of 192.1.1.1, use the following command:
SYS_console> ping 192.1.1.1 100
Accessing the Command Line Interface Remotely
When the switch has an IP address, the administrative interface can be accessed remotely through Telnet. All commands work exactly as if the serial interface were being used. Please note that only one console session may be active at any given time. This means that after the first Telnet session is established, all other Telnet connections are refused until the current session is closed.
12
Using the Command Line Interface
This section describes how to use the Command Line Interface (CLI) to configure and manage the NH2025-10 switch.
Command Conventions
The following conventions are used within this guide to make understanding and using the CLI easier.
Command Items appearing in this typeface are to be typed as shown. Italics Italicized items are variables and represent values. For example, <IPaddress>
represents an IP address in dotted decimal notation as 123.1.2.3.
{ } | Items in { } and separated by | represent alternatives for the argument. For example:
get-comm {read|write|*}
means you can type one of the following:
get-comm read get-comm write
get-comm *
Command Line Help
The CLI provides command line help to ease in the entering of commands correctly. The following command line help is available:
Command parameter Help
Command group Help
Command wildcard Help
Command history
Getting Command Parameter Help
To get an explanation of a command’s parameters add a question mark (?) after the command name. For example:
SYS_console> ping ?
The unit displays the available parameters for the ping command:
ping IP traffic generator [arg #0] destination IP address [arg #1] number of packets to send or 0 for endless ping SYS_console> ping _
Note that the command is reprinted after the prompt. You can add the necessary parameters here. If a question mark is added after the first parameter, then the same explanation is provided, and the previous command, including the provided parameters, is redisplayed.
13
Using the Command Line Interface
Example
SYS_console> ping 129.1.1.7 ?
The unit displays the next level of parameters:
ping IP traffic generator [arg #0] destination IP address [arg #1] number of packets to send or 0 for endless ping SYS_console> ping 129.1.1.7
Getting Command Group Help
To find out the command groups that are available within the unit, enter a question mark at the CLI prompt. The CLI displays a list of all of the available command groups and a short explanation of each.
Example
SYS_telnet>?
Commands groups are:
----------------------­ console Console related commands system System related commands ip IP related commands snmp SNMP related commands switch-db Switching Database related commands vlan Virtual LANS related commands echannel EtherChannel Commands port-cfg Port Configuration related commands statistics Switching Statistics related commands sp-tree Spanning Tree related commands
----------------------------------------------------------------­ use ! for previous cmd, ^U to clear line, ^W to clear previous word
-----------------------------------------------------------------
Entering a group name from this list displays a list of the commands under that group.
Using Command Wildcards
The CLI allows you to use the question mark <?> as a wildcard when you are unsure of a command. To use the wildcard, place the question mark immediately after the command you are looking for.
NOTE: You can type all or just a portion of the command followed by the question mark and the CLI returns all commands that start with that string.
14
Using the Command Line Interface
Example
SYS_console>get-c? command ‘get-c’ not found Commands matching <get-c> get-comm show current read or/and write community get-con-matrix retrieves the VLAN connectivity matrix get-colls-cnt gets the collision distribution counters per port SYS_console>get-co
Retrieving Command History
The CLI allows you to retrieve a history of the last commands you have issued. Use the following keys to retrieve commands:
<!> or Ctrl/P Retrieves the last command in the command history. Ctrl/W Deletes the previous word. Ctrl/U Erases the entire current line. <Tab> Completes the command when a partial unique command is provided.
NOTE: If after entering a key sequence, more than one screen-full of text is to be printed, you can continue to scroll through the text by hitting any key or you can stop the process by hitting the Esc key.
SYS_console>system System related commands
--------------------------------------------------------­ sys-stat show system status get-stst-level show the selftest level set-stst-level change the selftest level warm-reset warm reset of the device cold-reset cold reset of the device get-last-err displays information about the last fatal error init-nvram initialize NVRAM to default values get-sw-file retrieves the SNMP Agent Software file name set-sw-file sets the SNMP Agent Software file name - for download get-tftp-srvr retrieves the TFTP download server IP address set-tftp-srvr sets the TFTP download server IP address set-tftp-mode sets the TFTP download mode get-tftp-mode retrieves the TFTP download mode sw-dnld software download BY TFTP set-fg-param sets the Ethernet frame generator parameters start-fg starts the Ethernet frame generator stop-fg stop the Ethernet frame generator
15
Using the Command Line Interface
Command Line Errors
The CLI displays messages when you enter a command incorrectly. The following command line error messages are used:
Nonexistent command
Incorrect number of parameters
Nonexistent Command
If you enter a command incorrectly or if the command does not exist, the CLI returns an error message indicating the type of error that occurred.
Example
SYS_console> pin command ‘pin’ not found
Incorrect Number of Parameters
If you enter a command correctly but the number of parameters is incorrect, the following message is displayed:
SYS_console> ping too few arguments
16
Configuring, Modifying, and Monitoring the Unit
You can configure, modify, and monitor the unit using the following categories of commands:
Console
System
IP configuration
SNMP Agent
Switching database and database entry management
Virtual LAN
EtherChannel
Port Configuration
Switching Statistics
Spanning Tree
Refer to Appendix A for a quick reference of the available commands.
Console Commands
Console commands allow you to configure the CLI parameters and user interface. To view the console commands, enter console at the CLI prompt. The following are the available console commands.
help-kbd
This command lists the console function keys.
Example
SYS_console>help-kbd
--------------------------------------------------------­ Ctrl/U (or Escape) clears the current line. Ctrl/W clears the previous word. ! or Ctrl/P presents the previous command. TAB completes command. ? or help presents help. Depending on position: in 1st column, list of the categories. in command, list of completed commands that start with the presented
string. in parameters, lists of the parameters. # - with line number Repeats command from history, For example: #26 Presents help for line 26. Without line number Shows entire history list.
--------------------------------------------------------
17
Configuring, Modifying, and Monitoring the Unit
banner
The banner command displays the Nbase-Xyplex CLI logo.
clear
The clear command clears the screen and displays the CLI prompt.
login
The login command exits the CLI, but does not disconnect a Telnet session. This allows you to test a password (or other activity) without reconnecting.
logout
The logout command ends the actual CLI Session. To use the CLI, you must login again.
set-page
The set-page command sets the console page size (in lines per page). Valid values in lines are 5 to 127. The value of 0 means no paging. The default value is 21.
set-prompt
The set-prompt command allows you to set a new command line prompt for the CLI. This can be a more meaningful prompt, such as the location of a switch, or the name of a workgroup. The default prompt is SYS_console>. To change the prompt, use the following command:
set-prompt <new_prompt>
Example
SYS_console> set-prompt R&D_grp> R&D_grp> _
set-attr-prompt
The set-attr-prompt command sets the prompt attributes. To set the prompt attributes, use the following command:
set-attr-prompt <number of option> [arg #0] options: 0-normal, 1-bold, 2-underline, 4-blink, 8-reverse
set-attr-msg
The set-attr-msg command allows you to define how the display message appears. To define how messages appear, use the following command:
set-attr-msg <number of option> [arg #0] options: 0-normal, 1-bold, 2-underline, 4-blink, 8-reverse
set-attr-text
The set-attr-text command sets the text display attributes. To define how text appears, use the following command:
set-attr-text <number of option> [arg #0] options: 0-normal,1-bold,2-underline,4-blink,8-reverse
18
Loading...
+ 60 hidden pages