|
|
Monitoring LightStream Switches
LightStream Statistics and Data Collection
Audience · Organization · Related Documentation · Notation
The LightStream 2020 Operations Guide is a task-oriented guide that describes how to operate a network of LightStream 2020 enterprise ATM switches. The guide presents an overview of network operation tasks, describes the command line interface (CLI), and provides procedures for monitoring switches and collecting statistics.
Your network should be fully installed and configured before you attempt to operate it. Refer to the LightStream 2020 Installation and Troubleshooting Manual for installation instructions and to the LightStream 2020 Configuration Guide for information on configuration.
The LightStream 2020 Operations Guide is intended for anyone who operates a LightStream network. This guide provides detailed procedures to help you operate the LightStream network after the network has been installed and configured.
Users of the LightStream document set are expected to have a general understanding of basic data communications concepts, some knowledge of UNIX, and a familiarity with the interfaces used by the devices connecting to their LightStream network.
It is recommended that you have a working knowledge of TCP/IP networks. For more information about TCP/IP networks, refer to Internetworking with TCP/IP, Volume 1, Principals, Protocols, and Architecture by Douglas E. Comer, 1991, Prentice-Hall, Inc. (ISBN 0-13-468505-9).
This guide is organized as follows:
The following is a list of LightStream manuals and other material relevant to LightStream users.
Before attempting to install, configure, operate, or troubleshoot a network of LightStream switches, read the LightStream 2020 System Overview. This overview provides important background information about the LightStream product and the ATM technology on which the product is based. After reading the LightStream 2020 System Overview, refer to Table 1-1 to determine which manuals you should read next.
Table 1-1 : LightStream Reading Path
| If you want to: | Read the following manuals in the order listed below: |
|---|---|
| Install LightStream switches | LightStream 2020 Release Notes1
LightStream 2020 Site Planning and Cabling Guide LightStream 2020 Installation and Troubleshooting Manual |
| Configure LightStream switches | LightStream 2020 Release Notes1
LightStream 2020 Configuration Guide LightStream 2020 Online Help Screens |
| Set up or expand a LightStream network | LightStream 2020 Release Notes1
LightStream 2020 Administration Guide LightStream 2020 Online Help Screens |
| Operate a LightStream network | LightStream 2020 Release Notes1
LightStream 2020 Operations Guide LightStream 2020 Command and Attribute Reference Guide LightStream 2020 Command Line Interface (CLI) Reference Card LightStream 2020 Traps Reference Manual LightStream 2020 Online Help Screens |
| Manage or troubleshoot a LightStream network | LightStream 2020 Release Notes1
LightStream 2020 Operations Guide LightStream 2020 Administration Guide LightStream 2020 Command and Attribute Reference Guide LightStream 2020 Command Line Interface (CLI) Reference Card LightStream 2020 Traps Reference Manual LightStream 2020 Online Help Screens |
| Troubleshoot LightStream hardware | LightStream 2020 Release Notes1
LightStream 2020 Installation and Troubleshooting Manual LightStream 2020 Site Planning and Cabling Guide |
| 1We recommend that you review the release notes before attempting to install, configure, operate, or troubleshoot a LightStream switch. The release notes contain important information that does not appear in other documents. | |
In this document, several conventions distinguish different types of graphics and text.
Figure 1-1 : Icons
| Convention | Purpose | Example |
|---|---|---|
Bold screen literal
type
|
Represents user input. | $
date
|
Screen literal
type
|
Represents system output. |
Wed May 6 17:01:03 EDT 1994
|
| Boldface type | Denotes names of commands, command arguments, and switches. Command names are case sensitive; enter them exactly as they appear in the text. | Issue the clear command. |
| Italic type | Used for titles of documents and for emphasis. | LightStream 2020 Configuration Guide. File names are case sensitive. |
| Angle brackets < > | Indicate user-specified parameters or classes of user responses. When you see this notation in a syntax statement, make the substitution but do not type the angle brackets. | If you see:
set port
<c.p> <state>
you might type:
set port 4.3 active
|
| Square brackets [ ] | Indicate keys on the keyboard, or optional arguments or parameters for commands. You can omit optional arguments and parameters in any command. | Press [Return].
cli>
help
[<topic>]
|
| Caret symbol ^ | When the caret symbol precedes a character, it refers to the control key. | ^X is the same as [Control]X |
| Curly braces { } | Indicate a choice of arguments or parameters for commands. Arguments or parameters are separated by a vertical line {|}, and you must select one. |
cli>
set cli traplevel
{off|info|oper|trace|debug}
|
Where to Begin · Network Operations Tasks · Tools for Network Operation
This chapter provides a list of activities you should complete before you attempt to operate your network of LightStream 2020 enterprise ATM switches. It then describes operations activities that you can perform on a LightStream network.
This chapter also explains some of the different ways you can operate your LightStream network, depending on your hardware and software. Once you determine how you will operate your network, you can use that information to determine whether you need to start the command line interface (CLI) or a third-party network management system (NMS). The LightStream CLI is described in detail in this guide. For information on a third-party NMS, refer to the documentation that came with the NMS.
Before you attempt to operate your network, each LightStream switch should be fully installed, powered on, and configured. The following checklist describes the tasks that should be complete before you begin operating your network. For information on these tasks, refer to the LightStream 2020 Installation and Troubleshooting Manual and the LightStream 2020 Configuration Guide, or check with your network administrator.
Things to Do Before Operating Your LightStream Network
You can perform a wide variety of tasks on your LightStream network. You will perform some tasks every day and others only occasionally. This section lists the different types of tasks that you can perform.
General Monitoring and Control
Statistics and Data Collection
This guide covers general monitoring and control and statistics and data collection. General monitoring and control refers to all the day-to-day activities you perform on the LightStream network, except for monitoring traps. Trap monitoring is discussed in the LightStream 2020 Administration Guide.
A LightStream network can be operated and managed in two different ways:
This section describes these two methods of network operation.
The LightStream switch comes with a configuration program called the configurator. The configurator is a user-friendly graphical interface that, in many cases, reduces configuration tasks to the simple click of a mouse button. A network administrator uses the configurator (for the most part) to manage a network of LightStream 2020 enterprise ATM switches. See the LightStream 2020 Configuration Guide for further details.
LightStream technology provides graphical displays of individual LightStream switches, cards, and ports via the LightStream monitor. In most instances, you will want to monitor the network with the LightStream monitoring tool. (See Chapter 5 of this guide.) However, if the monitor is unavailable to you, you can use the CLI commands in this document to perform many monitoring tasks.
Every LightStream switch includes a software program called the CLI. The CLI is a simple, line-based interface that runs on a LightStream switch or a Sun SPARCstation. You can access the CLI by connecting a terminal to a LightStream switch, by telnetting to the NP, or by running the CLI on a Sun SPARCstation.
In many instances you will want to perform operational procedures with the LightStream monitor or configurator. However, if the LightStream monitor or configurator is unavailable to you, you can use the CLI to perform many procedures. You should be aware, however, if you make changes to any configuration attributes, those changes you make may cause the local configuration database to be out of synchronization with the global database.
Third-Party Network Management Tools
You can use any industry-standard, SNMP-compatible NMS to manage a LightStream network. The following three systems can be used with the LightStream switch:
You cannot configure a LightStream network using a third-party NMS. The LightStream configurator that runs on a Sun 4 workstation running SunOS 4.1.x/Solaris 1.1.x is used to configure LightStream switches and networks. For information on the LightStream configurator, refer to the LightStream 2020 Configuration Guide.
The LightStream documentation set does not provide instructions on how to use a third-party NMS. Use the product documentation for your third-party NMS to get specific instructions.
You can perform operations tasks in a number of different ways, depending on your hardware and software and whether or not traps are interleaved with, or separated from, your general monitoring and control functions. (See Table 2-1.) In most cases, you will perform all monitoring and control functions from a central site. Before operating your LightStream network, you need to know what method of operation you will use. Refer to the "Before You Begin" chapter of the LightStream 2020 Administration Guide or see your network administrator to find the appropriate method for your network. The following table describes possible network operation scenarios.
Table 2-1 : Network Operation Scenarios
| No. | Hardware | Software | Interleave Traps? | Reference |
|---|---|---|---|---|
| 1 | Sun SPARC-station | Configure, monitor, and control the network on a Sun SPARCstation using LightStream management software. The configurator, the monitor, and the CLI, run and display on the SPARCstation running SunOS 4.1.x. HP OpenView is optional. If you cannot access the SPARCstation, you can use CLI to perform management tasks. (Optionally, other third-party SNMP-compatible network management software can be used.) | Yes | Manage Network from a Sun SPARC- station Using the Light-Stream configurator, LightStream monitor, and the CLI. |
| 2 | VT100- compatible terminal | After configuring the network using the LightStream configurator on a Sun SPARCstation, monitor and control the network from the VT100 terminal. However, if you must add or move hardware or add ports or VCs, you must access the Sun SPARCstation to run the configurator. The CLI runs on a LightStream network processor (NP) and displays on the VT100. | Yes | Manage Network from VT 100 Terminal Using CLI. |
| 3 | Sun SPARC-station | After configuring the network using the LightStream configurator, monitor and control the network from the Sun SPARCstation using the CLI and the third-party NMS. The configurator, the CLI, and the third-party NMS trap monitoring tool run and display on the SPARCstation. | No | Manage Network from a Sun SPARC- station Using CLI and a Third-party Trap Monitoring Tool. |
| 4 | Non-Sun workstation | After configuring the network using the LightStream configurator on a Sun SPARCstation, monitor and control the network from the non-Sun workstation using the CLI. However, if you must add or move hardware or add ports or VCs, you must access the Sun SPARCstation to run the configurator to complete these tasks. The CLI runs on a LightStream NP and displays on the workstation. | No | Manage Network from a Non-Sun Workstation Using CLI Only. |
| 5 | Non-Sun workstation | After configuring the network using the LightStream configurator on a Sun SPARCstation, monitor and control the network from the non-Sun workstation. However, if you must add or move hardware or add ports or VCs, you must access the Sun SPARCstation to run the configurator to complete these tasks. The CLI runs on a LightStream NP and displays on the workstation. The third-party NMS trap monitoring tool runs and displays on the workstation. | No | Manage Network from a Non-Sun Workstation Using CLI and a Third-party Trap Monitoring Tool. |
Introduction to the CLI · User Accounts · Commands Available in the CLI · CLI Command Syntax · Port Number Formats · Normal and Protected Mode · Command Completion Feature · Line Editing Keys
This chapter is an introduction to the command line interface (CLI) that is used to operate and manage LightStream 2020 enterprise ATM switches. It contains a list of CLI commands and describes their syntax and port number formats. It also discusses normal and protected modes, the command completion feature, line editing keys, and the user accounts that are provided with your LightStream switch.
The CLI is a simple line-oriented interface that you use to perform network operations from any node in the network. The CLI can also be loaded and run on a Sun SPARCstation. The CLI allows you to operate your LightStream network with or without a third-party network management system (NMS).
The CLI allows you to issue commands to only one node at a time. This means that you cannot view the status of several LightStream chassis by entering a single command. You must issue a separate command to each chassis.
You can access the CLI in three different ways:
Refer to Chapter 4 for detailed instructions on how to access the CLI using each of the methods described above. From the CLI, you can access any LightStream node in the network and perform network operations on that node
To issue a CLI command, type the command, then press [Return]. Output is displayed on the screen. Error messages or traps may be displayed on a separate terminal or window, or they may be interleaved with the CLI commands and their output. Figure 3-1 shows a sample CLI session with traps interleaved with the commands and output.
If you are running the CLI on an NP, any command you issue is executed on the LightStream switch you are logged in to. However, you have the option of executing any of the commands listed in Table 3-1 on another LightStream switch. To do this, you must first specify the name of the other switch. This is called setting the target switch. Once you set the target switch, you can issue any of the commands in Table 3-1 to that switch.
Table 3-1 : Commands Available for Use with a Specified Target Switch
| Command Type | Command Name | Command Arguments |
|---|---|---|
| MIB | browse | MIBaddress |
| set | card, chassis, cli, collection, pid, port, stb | |
| show | bflt, card, chassis, cli, collection, gid, nd, pid, port stb | |
| SNMP | getsnmp | MIBaddress |
| getnextsnmp | MIBaddress | |
| setsnmp | MIBaddress | |
| walksnmp | MIBaddress | |
| VLI | define | bflt |
| delete | bflt | |
| Monitor and Control | clear | none |
| exit | none | |
| help | none | |
| protected | none |
Figure 3-2 shows a CLI session displaying the
primaryswitch
attribute for two switches. Before viewing the
primaryswitch
attribute on the second switch, the target switch is reset to the appropriate switch. (Callouts in the figure indicate when the target is reset.)
Figure 3-2 : Sample CLI session
When you install your LightStream switch, the system automatically creates the four accounts shown in Table 3-2. None of these accounts has default passwords. Passwords for the accounts are usually set when the LightStream switch is installed. If you do not know the password for these accounts, see your network administrator.
Table 3-2 : System Accounts, Purposes, and Prompts
| Account Name | Purpose | Default Prompt |
|---|---|---|
| Operator (oper) | Used to access the CLI in the normal mode |
cli>
|
| NP Administration (npadmin) | Used primarily for protected mode. Can also be used to access the CLI in the normal mode. |
*cli>
|
| Field Support (fldsup) | Used primarily by field support personnel to perform advanced troubleshooting and maintenance using the LynxOS bash shell. |
bash$
|
| root | Used for installation and for certain administration tasks using the LynxOS bash shell. |
bash#
|
When you access either the operator or the NP administration accounts, the LightStream switch automatically runs the CLI so you can start operations immediately. If you access either of the other accounts, the LightStream switch runs the bash shell or command interpreter and displays the bash (UNIX) prompt.
All users can access shared accounts to operate and manage the network from the CLI. If you prefer, additional accounts can be created so that each user has his or her own account. For more information, see your network administrator.
The CLI supports the following types of commands:
Table 3-3 lists the commands by type and gives a brief description of what each command does. For a detailed description of each command, refer to the LightStream 2020 Command and Attribute Reference Guide or to the LightStream 2020 Command Line Interface (CLI) Reference Card.
Table 3-3 : Commands Available in CLI
| Type | Name | Function |
|---|---|---|
| CLI control commands | browse | Allows you to move through the MIB tree and follow any branch down to its endpoint. |
| clear | Clears the screen. | |
| define | Defines bridge filters. | |
| delete | Deletes bridge filters. | |
| exit | Exits either the CLI program or the protected mode of the CLI program. | |
| help | Provides online help for CLI commands. | |
| password | Allows you to change the password for the protected mode of CLI. | |
| ping | Sends ICMP echo packets to any IP address and reports on any returned packets. | |
| protected | Allows access to protected mode commands. | |
| quit | Exits protected mode or the CLI program. | |
| shell | Executes a shell command to allow you access to the LynxOS shell. | |
| source | Executes a CLI script file stored on a disk. | |
| test1 | Runs diagnostics on a specified card to determine whether it should be replaced. | |
| Object-oriented commands | set | Changes the state of the object specified. |
| show | Displays the value of the object specified. | |
| SNMP protocol emulation commands | getsnmp | Displays the value of the specified MIB object. |
| getnextsnmp | Displays the value of the object in the MIB tree that follows the object specified in this command. | |
| setsnmp | Changes the state of the specified MIB object. | |
| walksnmp | Displays the values of all MIB objects in the MIB subtree starting with the object that you specified. | |
| TCS commands | connect | Logically attaches the console/modem I/O ports to a given slot within a LightStream switch. |
| loadcard | Loads the specified file into the card located in the specified slot, starts the card, and establishes a console connection between CLI and the TCS slave on the card. This command is usually used for diagnostics. | |
| 1This command is not available for CLCs or PLCs. | ||
This section shows you some sample CLI commands and describes their syntax. All CLI commands start with the command name. Some commands require no further information; others require arguments such as file names, component names, or values. For a full description of the CLI command syntax, refer to the LightStream 2020 Command and Attribute Reference Guide or to the LightStream 2020 Command Line Interface (CLI) Reference Card.
Table 3-4 shows sample CLI syntax and command examples. In the syntax examples, optional arguments are surrounded by square brackets ([ ]); placeholders that you must replace with meaningful arguments are surrounded by angle brackets (<>).
Table 3-4 : CLI Syntax and Command Examples
| Syntax | Command Examples |
|---|---|
| exit | exit |
| protected | protected |
| help [<topic>] | help
help setsnmp |
| show <object type> [<component name>] <parameter> | show card 1 all
show chassis all |
| set <object type> [<component name>] <parameter> [<value>] | set chassis traplevel debug
set port 3.4 loop internal |
| getsnmp <MIB-address> [<MIB-address>] | getsnmp cardName.4 pidName.23 |
Several CLI commands require port numbers. The port number must be entered in the card.port format. The card number is between 1 - 10 for line cards. The port number is between 0 - 7 for a low-speed line card(LSC) and a packet line card (PLC) and 0 - 1 for a medium-speed line card (MSC) and a cell line card (CLC). For example, to issue a show all command to port 4 on card 3 in card.port format, you would enter the following command:
show port 3.4 all
The CLI has two modes: normal and protected.
The protected commands are shown in Table 3-5.
Table 3-5 : Protected Commands and Their Functions
| Protected Command | Command Function |
|---|---|
| connect | Connect to a card in a specific slot. |
| loadcard | Perform a diagnostics load. |
| password | Change the password for protected mode. |
| set | Set the values of certain CLI attributes in the runtime environment. Not all set commands are protected. Protected sets include set trap and set tcs. |
| setsnmp | Set the value of a MIB object. |
| shell | Execute a shell command and give the user access to the LynxOS shell. |
| write | Write to TCS/board memory. (This command is for use only by LightStream support personnel.) |
It is not always necessary to enter the full name of a CLI command or its argument. If you have typed enough letters to make the command or argument unambiguous, the CLI will accept the abbreviated name. Once you type enough letters of a command name or command argument to make it unambiguous, you can use the [Tab] key to complete the name. (See the examples in Table 3-6.)
Table 3-6 : CLI Command Completion Examples
| If you type: | CLI completes the command and displays: |
|---|---|
br[TAB]
|
browse
|
sh[TAB]
|
show
|
walk[TAB]
|
walksnmp
|
If you type,
cli> show por 4.2 statistics
The CLI cannot interpret the command because the component name (port) is not fully spelled out.
However, any of the following commands would work:
cli> show port 4.2 statistics cli> sho port 4.2 stati cli> sho[TAB] por[TAB] 4.2 stati[TAB]
cli> show port 4.2 stati cli> sho[TAB] por[TAB] 4.2 stati
The CLI uses a set of line editing keys that is a subset of those found in the Emacs editor. In general you can use these line editing keys for any terminal type except a hard copy terminal.
Table 3-7 shows the line editing keys that are available from the CLI.
Table 3-7 : CLI Line Editing Keys
| Key Sequence | Result |
|---|---|
| ^A | Moves cursor to beginning of line. |
| ^B | Moves cursor back one space. |
| ^C | Interrupts command being executed. |
| ^D | Deletes character at cursor position. |
| ^E | Moves cursor to end of line. |
| ^F | Moves cursor forward one character. |
| ^K | Deletes all characters from cursor position to end of line. |
| ^L | Redisplays current line. |
| ^N | Scrolls forward through all commands that have been entered. (You must scroll backwards using ^P before this command provides any results.) |
| ^O | Toggles between overwrite mode and insert mode. |
| ^P | Scrolls backwards through all commands, beginning with the most recent command. |
| ^R | Searches backwards through all commands for a particular word that you specify at the question mark prompt. |
| ^S | Searches forward through all commands for a particular word that you specify at the question mark prompt. (You must scroll backwards using ^P before this command provides any results.) |
| ^T | Transposes the character at the cursor position with the previous character. |
| ^U | Deletes all characters on line, regardless of cursor position. |
| [Backspace] | Deletes character to left of cursor. |
| [Rubout] | Deletes character to left of cursor. |
| [Return] | Executes command. |
| [Line feed] | Executes command. |
| [Tab] | Completes command entry. |
Procedures to Start CLI · Basic CLI Functions
This chapter describes how to log in to the command line interface (CLI) and perform basic CLI functions.
This section describes how to start CLI and begin operating your network using the CLI.
The method you'll use to log in will vary depending on the network management option you select. Refer to Network Scenarios in Table 3-1 for a description of different network operation and management possibilities. If you choose an option that requires you to run CLI on a Sun SPARCstation, refer to the LightStream 2020 Installation and Troubleshooting Manual for installation instructions. To start a workstation (Sun or non-Sun) or load and start a third-party network management system (NMS), refer to the documentation for the workstation and NMS.
This section tells you how to log in to CLI. Step-by-step instructions are given for the following access methods:
If you will be using telnet to reach the NP, check with your network administrator to be sure a basic configuration to define the IP address of that NP was entered during installation. If you will be accessing the CLI from either a terminal or modem port, it is not necessary to have the IP addresses defined for the NP.
bash$
(UNIX) prompt.
Procedure 1: Accessing CLI by Telnetting to the NP
Procedure 3: Accessing CLI Running on a Sun SPARCstation
When you have successfully logged in to CLI, the following text appears on the screen:
If you are unable to start the CLI, you might see messages that indicate the shell cannot find a program, permission was denied because CLI is not an executable file, or this user is not allowed to access CLI. (See your network administrator if you need assistance.)
This section describes the following CLI functions:
This section explains how to access online help.
Procedure 1: Displaying a List of All CLI Commands Available
A list of all the commands available from CLI is displayed as shown in Figure 4-1. Commands preceded by an asterisk (*) can be used only in protected mode. All other commands are available in normal mode and protected mode.
Figure 4-1 : The output of the help command when executed without an argument
Procedure 2: Displaying Detailed Help on a Particular Topic
Whenever you use the help command with an argument, the display includes the command name, a syntax statement, and a description, as shown in Figure 4-2.
Figure 4-2 : The output of the help command when executed with the argument quit
Procedure 3: Displaying the Options Available for a Particular Command
Figure 4-3 : Output of the show ? command
Figure 4-4 : Sample CLI session showing how to use the question mark for help
This section describes how to clear your screen of the current display.
This section explains how to set a number of CLI attributes. These attributes determine how CLI operates. The attributes that you can set are:
Setting the Echo Source Attribute
This attribute specifies whether or not the commands in a script file are displayed as they are executed by the source command. If echosource is set to yes, the commands are displayed. If echosource is set to no, the commands are not displayed.
Setting the Line Edit Attribute
Set lineedit to on to use the emacs-like editing commands on the command line. Set lineedit to off if you use a hard copy terminal.
This attribute specifies whether the LightStream switch logs all input to and output from CLI. To keep a log of CLI activity, enter a log file name as the value shown in Step 1. Otherwise, set the value to off.
Setting the Terminal Type Attribute
This attribute specifies the type of terminal you are using. Valid terminal types include VT100 and xterm. A complete list of valid terminal types can be found in the /etc/termcap file on your LightStream switch.
This attribute resets the CLI timer, which indicates the elapsed time since CLI was restarted or since this timer was reset.
Setting the Traplevel Attribute
This attribute specifies the severity level of traps to be displayed by CLI or sets the trap level so that no traps are displayed. (Refer to the LightStream 2020 Administration Guide for information on trap severity levels.)
A screen similar to the following is displayed:
This attribute turns on the debugging mode. This feature is available in protected mode only and is used for development and testing purposes.
A screen similar to the following is displayed:
This procedure shows you how to access protected mode. Your network administrator can provide you with the protected mode password, if you need access.
Procedure 1: Entering Protected Mode
If you enter the password correctly, you enter protected mode. The If you enter an invalid password, the following message appears:
If you enter a command that requires protected mode while you are in normal mode, the following message appears:
Once you enter protected mode, you remain in that mode until you take explicit action to return to normal mode. (Refer to Procedure 2: Exiting Protected Mode, below.) To prevent unauthorized access, always return to normal mode when you are finished or before you leave your terminal. It is also good practice to log out whenever you leave your terminal to prevent unauthorized access.
Procedure 2: Exiting Protected Mode
When you exit protected mode, the Forcing a Switch Card to Become Active or Backup
In a LightStream switch with two switch cards (SA and SB), one card is the active switch card and the other card is the backup switch card (a hot spare). In case of a problem with the active switch card, the backup switch card automatically becomes the active switch card, assuming the IP address associated with the active switch card.
In addition, you can force either of the switch cards to become the active (or backup) switch card. This is called a planned cutover. You would do this, for example, if you planned to swap out the active switch card. When you force the backup switch card to become the (new) active switch card, the process forces the (original) active switch card to become the (new) backup switch card. The procedure below shows how to do this.
The switch card you designate is set to be the active switch card. It takes approximately four seconds to switch the active and backup switch cards.
Setting the Target Switch for CLI Commands
If you are running CLI on an NP, CLI commands are executed on the LightStream switch you are logged in to. You can issue some CLI commands to a different LightStream switch. Table 3-1 lists those commands. However, to execute any of those commands on another switch, you must first specify the name of the other LightStream switch. This is referred to as setting the target switch. You set the target switch by issuing the set snmp hostname command.
This procedure tells you how to display a list of all LightStream switches in the network and then describes how to set the target switch.
When you issue commands that affect the operation of a particular switch, be sure to check that the target is set to the correct switch.
The log files include the trap log file, the configurator log file, and the collection files. You can use the LynxOS cbufpr command to display these files. Both commands begin the display with the oldest entry and end with the most current entry.
Fixed-size, circular files are used to limit the amount of space required to store data. When a log file becomes full, the oldest data is overwritten by new data.
Procedure: Displaying a Log File Using the cbufpr Command
Depending on the switches and file you select, the results displayed using cbufpr will vary. A screen similar to the following is displayed if you enter shell "cbufpr -tail /usr/tmp/mma/mma.traplog" at the Figure 4-5 : A typical cbufpr command
This section explains how to execute a CLI script file. (Refer to the LightStream 2020 Administration Guide for instructions on how to create your own CLI script files.)
The results of the source command depend upon the contents of the CLI script file that it runs and the value of the CLI attribute called echosource. If you have turned on the echosource attribute in CLI (the default), the command being executed by the CLI script file is echoed to the screen preceded by a plus sign (+).
Introduction to Monitoring · Monitoring Hardware Components from CLI · Using the LightStream Monitor · Monitoring Software Components from CLI · Monitoring the Test and Control System · Accessing the MIB Tree
This chapter tells you how to determine the status of LightStream 2020 enterprise ATM switches and their components. It shows command examples and explains how you can obtain additional information.
The LightStream monitor is described in this chapter. The monitor displays a graphical representation of a LightStream switch, its cards and ports.
This chapter discusses the browse command, which allows you to view the value of any object in the LightStream management information base (MIB). Information about every object in a LightStream switch is stored in the MIB. You can issue CLI (command line interface) commands to retrieve and display the MIB information so you can determine how a switch is configured and how it is operating. This chapter also discusses the show command. When you issue a show command, the switch retrieves the requested information from the MIB. You may see a collection of MIB attributes displayed or you may see only a single attribute.
Two tools are available for monitoring: the LightStream monitor program and the CLI. In the CLI, you use the show command to monitor a switch or its components. In the monitor program, you click on components to display information about them. You can monitor the following LightStream components and subsystems:
CLI procedures to monitor all of these components and subsystems, except traps, are described next. Monitoring traps is described in the LightStream 2020 Administration Guide. Use of the LightStream graphical monitor to view switches, cards, and ports begins in the section entitled "Using the LightStream Monitor."
Monitoring Hardware Components from CLI
This section provides the procedures for monitoring the hardware components of a LightStream switch:
This procedure allows you to monitor the chassis. The information displayed by this procedure applies to the LightStream switch.
When you enter show chassis all, information similar to the following is displayed:
Figure 5-1 : Example of the show chassis all command
Figure 5-2 : Example of the show chassis all command (concluded)
If you enter any parameter except all, a subset of the screen shown above is displayed. For example, if you enter the command show chassis agent, information similar to the following is displayed:
Figure 5-3 : Example of the show chassis agent command
This procedure allows you to monitor the cards in the LightStream switch. You can monitor network processor (NP) cards, edge cards, trunk cards, and switch cards. You select the card you want to monitor by specifying its card number (slot number). When you specify a card, you also get information on its associated access card.
The results of this command will very, depending on the type of card in the slot. If you enter any parameter except the all parameter, a subset of the attributes is displayed.
When you enter show card 5 all, information similar to the following (for a low speed edge card) is displayed:
Figure 5-4 : Example of the show card all command
The csumon tool, available from the bash shell, lets you monitor the DSU/CSU for the following:
In addition, you can use csumon to issue commands to an external DSU/CSU attached to a low-speed interface.
Monitoring the DSU/CSU on a Low-speed Line Card
You can obtain CSU statistics by connecting to an external data service unit/channel service unit (DSU/CSU) from a LightStream switch through a serial line. This provides a terminal to the DSU/CSU. You use its own interface to set up and monitor the DSU/CSU. (Refer to the documentation for the DSU/CSU for details.)
Procedure to Monitor a Low-speed Line Card DSU/CSU
Figure 5-5 shows a screen displaying the kind of information you might see in a DSU/CSU status display. The display you see will probably look different, depending on the DSU/CSU you are using.
Figure 5-5 : Example - csumon display
Monitoring the DSU/CSU on a Medium-speed Line Card
The medium-speed line card has a built-in DSU/CSU. Use the procedure below to monitor and display the DS3 MIB statistics for MSC ports. MSC CSU statistics are available using the standard DS3 MIB variables.
Procedure to Monitor a Medium-speed Line Card DSU/CSU
A screen similar to Figure 5-6 will be displayed. Although you enter only one port number, information for both ports on the MSC is displayed.
Figure 5-6 : Example - csumon display
The DS3 MIB maintains these counters over a 24-hour period in 15-minute intervals. The Total column in the display includes up to 96 complete intervals. The Current column includes all counts that will make up the next complete interval. The Intrvl column shows the selected complete interval (from 1 to 96), depending on the actual number of complete intervals. The values that change are updated once per second.
Table 5-1 explains the counters displayed in Figure 5-6.
Table 5-1 : csumon Display Term Definitions
This procedure allows you to monitor the ports on a particular card. You can look at information for a single port, a collection of ports, or a range of ports.
An example for some of the port types is shown in this section. When you enter show port 5.0 all for an MS trunk port, information similar to the following is displayed:
Figure 5-7 : Example of the show port all command for an MS trunk port
When you enter show port 3.0 all for a frame forwarding port, information similar to the following is displayed:
Figure 5-8 : Example of the show port all command for a frame forwarding port
Figure 5-9 : Example of the show port all command for a frame forwarding port (concluded)
This procedure allows you to monitor the modem port on the switch card's console/modem assembly. If you have a redundant switch card, you can monitor the modem port on either the active or backup switch card. (This command is not used for monitoring modems connected to line card ports.)
When you enter show modem sa all, information similar to the following is displayed:
Monitoring Switch Cards, NPs, and Power Supplies
This procedure tells you how to monitor the status of your redundant components (switch cards, NP, and power supplies).
The following shows the output for the three commands described in the procedure above:
Figure 5-10 : Example of the show chassis commands
The LightStream monitor provides a graphical display of individual LightStream switches, cards, and ports. When the monitor is opened, it displays the front of a LightStream switch with bulkheads for the cards as they appear in the actual switch. Information pertinent to the switch is displayed above the bulkheads. This section shows you how to access the monitor to display switches, cards, and ports. You must have a color monitor to use the monitor software.
Table 5-2 : Monitor Menu Options
Table 5-3 : Monitor Object/Color Display Explanations
Monitoring Software Components from CLI
This section provides procedures to monitor the software components (ATM UNI, frame relay, frame forwarding, Ethernet, FDDI, and OC3 connections; CLI; collector; GID; ND; processes; and SNMP) of a LightStream switch.
This procedure allows you to monitor the ATM UNI virtual channel identifiers (VCIs) configured on a particular ATM UNI port. It provides you with information on the individual connections configured on each port. This information is available for ATM UNI ports only.
When you enter show port 6.0 vci 16, information similar to the following is displayed:
Figure 5-11 : Example of the show port vci display
Monitoring Frame Relay Connections
This procedure allows you to monitor individual data link connections configured on frame relay ports. These connections are recognized by their data link connection identifiers (DLCIs).
When you enter show port 10.7 dlci 141, information similar to the following is displayed:
Figure 5-12 : Example of the show port dlci display
This procedure allows you to monitor the attribute settings for the CLI program.
When you enter show cli, information similar to the following is displayed:
The collector allows you to run up to 25 collections at one time. You can set up the collections to save user-defined data at a user-defined time interval and you can use this data for future analysis. This procedure describes how to monitor the status of a particular collection. For further information on creating collections, see Chapter 6.
When you enter show collection 5, information similar to the following is displayed:
Figure 5-13 : Example of the show collection display
This procedure allows you to monitor the status of the global information distribution (GID) software.
When you enter show gid all, information similar to the following is displayed:
Figure 5-14 : Example of the show gid all command
Figure 5-15 : Example of the show gid all command (concluded)
If you enter any parameter except all, a subset of the attributes is displayed.
This procedure allows you to monitor the status of the neighborhood discovery (ND) software. This information can tell you what hardware configuration the running software is using or the neighbors of the switch.
When you enter show nd all, information similar to the following is displayed:
Figure 5-16 : Example of the show nd all command
Figure 5-17 : Example of the show nd all command (concluded)
If you enter any parameter except all, a subset of the attributes shown above is displayed.
This procedure allows you to monitor the status of a particular process. You select the process you want to monitor by entering either its number or name.
When you enter show pid 9 all, information similar to the following is displayed:
The same information is displayed when you enter show pid lcc9 (The lcc9 entry is the alias name for process 9).
If you enter any parameter except all, a subset of these attributes is displayed.
This procedure allows you to monitor the way in which SNMP operates. SNMP operation is controlled by a number of parameters that are set to default values when the system is started. These parameters can be changed using the set snmp command. (See the subsection entitled "Creating a Collection" for a discussion of this command.)
Monitoring the Test and Control System
This section gives you procedures to monitor the Test and Control System (TCS).
The procedure allows you to monitor the values collected by the TCS on a particular card in the chassis. The cards you can monitor are in slots 1 - 10, SA, and SB.
Table 5-4 : Parameter Options---show tcs Command
When you enter show tcs 1 all, a display similar to Figure 5-18 is displayed. If you use any value except all for the argument, a subset of this information is displayed.
Figure 5-18 : Example show tcs 1 all
This section explains how to use the browse command. The CLI browse command lets you travel through the MIB from the top down and display the value of any MIB object. The browse command is easy to use and allows you to move through the MIB even if you are not familiar with its structure. When the MIB tree branches, you can go in any direction. At any time you can return to the branch and go in a different direction. Refer to the LightStream 2020 Command and Attribute Reference Guide for an illustration of the MIB tree.
This procedure allows you to travel down through the MIB tree and obtain the value of any MIB object you see.
The following example shows the information that is displayed when you enter the browse command.
The highest level object of the MIB tree is the iso object and the only subtree below it is the org subtree.
Figure 5-19 shows an example of how you can use the browser to travel through the MIB and look at the values of the chassisId and chassisActiveIpAddr objects. (User input is shown in bold.)
Figure 5-19 : Sample session of browse command
Figure 5-20 : Sample session of browse command (continued)
Figure 5-21 : Sample session of browse command (concluded)
The next screen shows how you can access information quickly by entering the name of the subtree you want to look at. For example, instead of going through all of the steps to get to the chassisId as shown in Figure 5-19, you can enter the command browse chassisInfo as shown in Figure 5-22 and immediately access the chassisId object.
Figure 5-22 : Example of the browse command using a subtree name
Using LightStream Statistics · Using Data Collection
Statistics are counters collected by a LightStream 2020 enterprise ATM switch. This chapter tells you how to monitor and evaluate the state and performance of your LightStream switch by reviewing and sometimes processing the statistics.
LightStream statistics are stored in MIB objects. Examples of statistics include the following MIB objects:
Many statistics of interest for the LightStream switch are defined in the Frame Relay DCE MIB, FDDI MIB, Ethernet MIB, OC3 MIB, and MIB-2. For a complete list of MIB objects, refer to the LightStream 2020 Command and Attribute Reference Guide.
All statistics in a LightStream switch are initialized at system startup. When they reach their maximum value (or if you do another startup), they are reset to 0. You can use the collector to collect statistics at regular intervals. Refer to the subsection entitled "Using Data Collection" for more information.
This procedure shows you how to view port statistics with the show command. All of the information displayed for port interfaces is generic and applies to all interfaces, regardless of the interface type.
When you enter show port 2.0 statistics, information similar to the following is displayed:
Figure 6-1 : Sample port statistics display
where
The first time you request statistics for a particular port, you see a display like the one shown in Figure 6-1. However, if you again show statistics on that port, the current value of each statistic is displayed with additional information. The additional information shows the amount that each statistic increased since your last request and the rate at which the statistic is changing. The following figure shows the statistics display when you enter show port 2.0 statistics anytime after the first time.
Figure 6-2 : Sample subsequent port statistics display
In addition to displaying statistics, the LightStream switch provides a data collection facility called the collector. The collector allows you to define a set of MIB objects, collect their values at regular intervals, and save the information in a file. The set of MIB objects and their collected values is a collection.
The collector maintains a table called collectTable in the private section of the LightStream MIB. It uses the information in this table to control the operations of its collections. A sample collection table is shown in Table 6-1. Each row defines a collection.
Table 6-1 : Sample Collection Table
You can use the begintime and endtime arguments to control the collection duration and the filesize argument to control the collection size. If you do not specify the begintime and endtime arguments, the collection runs continually.
The collector can run up to 25 collections simultaneously on a particular LightStream switch. If you attempt to start more than 25 collections, any additional collections will have an operational status of waiting. When the number of running collections falls below 25, the next waiting collection will begin running.
You can collect any set of MIB objects you want at any time interval you want. For example, you can define a collection of ifInErrors and ifOutErrors objects for a particular set of ports to be collected once an hour or once a day. Once the collection is started, the specified information is collected at the correct interval and appended to the collection file.
The collector automatically generates the file and file name for every collection that you create. The file name is of the form collect.<collection number>. All collection files are placed in the /usr/tmp/collector directory. Sample names are /usr/tmp/collector/collect.6 and /usr/tmp/collector/collect.128.
Collection files are circular ASCII files containing the time each object was collected, the object name, and the object value. Figure 6-3 shows a sample collection file. When the circular file is full, the oldest data is overwritten by newer data. Files are displayed in chronological order from the oldest entries to the newest.
You can view and use the collection files as they are or you can process the data. (You may want to sort the data or make calculations to determine when changes in performance or state occur.)
To begin a new collection, follow the procedures described in this chapter in the order listed below.
You may also want to perform the following functions on your collections.
Each of these procedures is explained in the sections that follow.
This procedure tells you how to create a collection. It sets up a row in the collectTable object for a collection with the number you specify.
If you enter the number of a collection that already exists, a message is displayed telling you that you cannot create that collection.
If you enter the walk collectIndex command, you will see a display similar to the following:
The numbers that appear after Setting the Collection Interval
This procedure shows you how to set the time interval for collecting data for a particular collection.
Table 6-2 : Collection Interval Details
Adding or Deleting Collection Objects
This procedure explains how to specify a MIB object and add or delete it from a collection. Each MIB object is added or deleted individually.
Procedure 1: Adding Objects to a Collection
Procedure 2: Deleting Objects from a Collection
telnet <IP address of the NP>
telnet <host name>
Trying <IP address or host name>
Connected to <IP address or host name>
Escape character is '^]'.
Lynx OS (<host name>)
user name:
password:
bash$
prompt.
bash$
prompt, enter the following:
cli
TCS HUB<<A>>
connect <slot #>
<slot #>
user name:
password:
bash$
prompt is displayed.
bash$
prompt, enter the following at the prompt:
cli
cli [<flags>]
[<flags>]
= any of the following options:
help
Prints this help message.
community=<community>
Defines the default community name
hostname=<hostname>
Defines the name or address of the host to manage
prompt=<string>
Defines the line prompt
logfile=<filename>
Turns on logging of all CLI activities. The entry
<filename>
specifies the name of the log file.
nolinedit
Turns off line edit
nomore
Turns off more-like scrolling
notraps
Disables reception of traps
trapmon
Acts only as a trap monitor (no user input is allowed)
cli>
prompt:
cli>
set snmp hostname <hostname>
<host name>
cli>
prompt:
cli>
help
cli>
?
cli>
prompt:
cli>
help [<topic>]
[<topic>]
cli>
show card 5 ?
cli>
prompt:
cli>
clear
cli>
prompt reappears at the top of the screen.
cli>
prompt:
cli> set cli echosource <value>
<value>
cli>
prompt:
cli>
show cli echosource
*cli> show cli echosource
Echo source: on
*cli>
cli>
prompt:
cli>
set cli lineedit <value>
<value>
cli>
show cli lineedit
cli>
prompt:
cli>
set cli log <value>
<value>
cli>
prompt:
cli>
show cli log
*cli> show cli log
Logging: off
*cli>
cli>
prompt:
cli>
set cli term <terminal type>
<terminal type>
cli>
prompt:
cli>
show cli term
*cli> show cli term
Terminal type: sun
*cli>
cli>
prompt:
cli>
set cli timer
cli>
prompt:
cli>
show cli timer
*cli> show cli timer
Timer: 30 Minute(s) 1 Seconds
*cli>
cli>
prompt:
cli>
set cli traplevel <value>
<value>
cli>
prompt:
cli>
set chassis consoletraplevel off
cli>
prompt:
cli>
show cli traplevel
*cli> show cli traplevel
Traplevel: Debug
*cli>
cli>
prompt:
*cli>
set cli debug <value>
<value>
cli>
prompt:
*cli>
show cli debug
*cli> show cli debug
Debug: off
*cli>
cli>
prompt:
cli>
protected
Enter password:
cli
> prompt changes to
*
cli>
. You can now execute protected mode commands in addition to normal mode commands.
Sorry
Command requires 'protected' mode.
*
cli>
prompt:
*cli>
exit
*cli>
quit
*
cli>
prompt reverts to
cli>
.
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show chassis primaryswitch
cli>
prompt, enter:
cli>
set chassis primaryswitch <slot #>
<slot #>
cli>
prompt:
cli>
protected
Enter password:
*
cli>
prompt:
*cli>
shell "more /etc/hosts"
*
cli>
prompt:
*cli>
set snmp hostname <host name>
<host name>
*
cli>
prompt:
*cli>
set snmp hostname {localhost|127.0.0.1}
*
cli>
prompt:
*cli>
show snmp
bash$
prompt:
bash$
cbufpr [-h] [-v] [-all] [-tail] -<number> [-f] [-trap] <file> |more
*
cli>
prompt:
*cli>
shell "cbufpr [-h] [-v] [-all] [-tail] -<number> [-f] [-level] <file> |more"
h
Displays this help message.
v
Displays cbufpr version information.
all
Allows you to read files of all formats, including files that are not circular.
tail
Reads the last 20 lines of the trap log file.
<number>
Specifies the number of lines to display. This switch can be used with the tail switch to specify the number of lines from the bottom of the file to display.
f
Continues reading from end of file rather than exiting. The switch allows you to display traps that accumulate during the time you are viewing other parts of a circular file.
level
Defines the level of traps to be displayed (SNMP, oper, info, trace, or debug).
<file>
Name of the log file to be printed, for example: usr/tmp/mma/mma.traplog
|more
Displays one page of the file at a time. Press the spacebar to display the next page. If you do not use
|more
, the file will scroll across the screen.
*cli>
prompt.
cli>
prompt:
cli>
source "<file name>"
Monitoring LightStream Switches
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show chassis <parameter>
<parameter>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show card <card #> <parameter>
<card #>
The slot in which the card you want to monitor is located.
<parameter>
all (default)
bash$
csumon <.card.port#>
<.card.port#>
Input
Action
?
Refresh screen
+
Display the next interval counters
-
Display the previous interval counters
bash$
prompt.
bash$
prompt:
bash$
csumon
bash$
csumon <.card.port#>
<.card.port#>
Counter*
Definition
PES
P-bit Errored Seconds
PSES
P-bit Severely Errored Seconds
SEFS
Severely Errored Framing Seconds
UAS
UnAvailable Seconds
LCV
Line Coding Violations
PCV
P-bit Coding Violations
LES
Line Error Seconds
CCV
C-bit Coding Violations
CES
C-bit Errored Seconds
CSES
C1-bit Severely Errored Seconds
Status Term
Definition
OK
No alarms present
RED
Loss of Framing
YELLOW
Far End Receive Failure
BLUE
Receiving an Alarm Indication Signal
* See RFC 1407 for a further description of these counters.
Input
Action
?
Refresh screen
+
Display the next interval counters
-
Display the previous interval counters
bash$
prompt.
bash$
prompt:
bash$
csumon
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show port <port#> <parameter1> <parameter2>
<port#>
<parameter>
all (default)
cli>
prompt:
cli>
show snmp
cli>
show modem <slot #> <parameter>
<slot #>
cli>
switch cards
<parameter>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show chassis primaryswitch
cli>
prompt:
cli>
show chassis general
cli>
prompt:
cli>
show chassis powersupply
%
monitor <chassisname>
<chassisname>
Menu Name
Options
File
Open
New Chassis
Exit
Edit
No Options Available
Slot
Open Selected Object
Show Access Card for Slot
Show Line Card for Slot
Show All Access Cards
Show All Line Cards
General
snmp CLI
Object
Color
Meaning/Cause
LED
Amber
LED is amber in color. LED is lit.
LED
Black
Shut off the machine. Bad connection.
LED
Green
LED is green in color. LED is lit.
LED
Red
Shut off the machine. Over voltage condition exists. Serious power supply problem.
LED
White
LED state is unknown.
Screw
Black
No information available for card.
Screw
Gray
Card is missing.
Screw
Red
Card is not operational. (The card has failed or it has been powered off.)
Screw
White
Normal card.
Any Icon
Red
Abnormal condition. The orange rectangle around a red icon emphasizes the abnormal condition.
Any Icon
Yellow
Abnormal condition. The orange rectangle around a yellow icon emphasizes the abnormal condition.
Power Supply
Red
Power supply is not operational.
Thermometer
Blue
Temperature is within normal range.
Thermometer
Red
Temperature is over normal range. Cause unknown.
Thermometer
Orange
Temperature is in the warning range. Cause unknown.
Thermometer
Yellow
Temperature is in the warning range. Cause unknown.
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show port <port#> listvci
<port#>
port
=0 - 1 for ports on an MS line card or CLC).
cli
> prompt:
cli>
show port <port#> vci <vci#>
<vci#>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show port <port#> listdlci
<port#>
port
= 0 - 7).
cli>
prompt:
cli>
show port <port#> dlci <dlci#>
<dlci#>
cli>
prompt:
cli>
show cli <parameter>
<parameter>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
walk collectIndex
cli
walk collectIndex
Name: collectIndex.2 Value: 2
Name: collectIndex.3 Value: 3
Name: collectIndex.5 Value: 5
Name: collectIndex.6 Value: 6
cli>
cli>
prompt:
cli>
show collection [<collection #>]
[<collection #>]
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show gid <parameter>
<parameter>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show nd <parameter>
<parameter>
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
walksnmp lwmaTrapCliAlias
cli>
prompt:
cli>
show pid {<#>|<alias>} [<parameter>]
{<#>|<alias>}
[<parameter>]
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show tcs <card #> [<parameter1>] [<parameter2>]
<card #>
<parameter1>
and
<parameter2>
.
<parameter1> =
<parameter2>a =
all (default)
N/A
state
N/A
config
all
assembly
postcode
serialnum
slavecode
type
daughter
all
assembly
serialnum
paddle
all
assembly
serialnum
oem
all
assembly
serialnum
midplane
all
assembly
serialnum
nodeaddress
temperature
N/A
voltage
N/A
power
aParameter2 is dependent on parameter1. When you enter a command, you first select the value of parameter1 from this table. Based on that selection, you can choose a value of parameter2 that is associated with parameter1.
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
browse [<mib-address>]
[<mib-address>]
browse>
prompt.
browse>
1
browse>
prompt:
browse>
exit
browse>
quit
LightStream Statistics and Data Collection
cli>
prompt:
cli>
show snmp
cli>
prompt:
cli>
show port <port#> statistics
<port#>
port
= 0 - 7).
Octets Rcvd
= Total octets received from the media
Normal Packets Rcvd
= Number of unicast packets delivered (a portion of the total)
Multicast Packets Rcvd
= Number of broadcast/multicast packets delivered (a portion of the total)
Discarded Rcvd Packets
= Packets discarded due to resource limitation
Receive Errors
= Packets discarded due to format error
Unknown Protocols Rcvd
= Packets destined for unknown protocols
Octets Sent
= Total octets sent on the media
Normal Packets Sent
= Number of unicast packets sent (a portion of the total)
Multicast Packets Sent
= Number of broadcast/multicast packets sent (a portion of the total)
Discarded Output Packets
= Packets discarded due to resource limitation
Output Errors
= Packets discarded due to error
Collection Number
Collection Status
Operational Status
Begin Time
End Time
Interval
File Name
File Size
1
valid
Running
10:00:00 Tues 5/4/94
11:00:00 Tues 5/4/94
60
collect.1
100
2
under Creation
Waiting
12:30:15 Fri 5/14/94
12:00 Fri 5/28/94
360
collect.2
100
75
valid
Running
00:01:00 Mon 8/2/94
00:01:00 Tues 8/3/94
3600
collect.75
50
cli>
prompt:
cli>
set snmp community <community name>
<community name>
cli>
prompt:
cli>
set collection <collection number> create
<collection number>
cli>
prompt:
cli>
walk collectIndex
cli> walk collectIndex
Name: collectIndex.2 Value: 2
Name: collectIndex.3 Value: 3
Name: collectIndex.5 Value: 5
Name: collectIndex.6 Value: 6
cli>
Value
: are the numbers of the collections that have been created. The display above indicates that collection numbers 2, 3, 5, and 6 have been defined.
cli>
prompt:
cli>
set snmp community <community name>
<community name>
cli>
prompt:
cli>
set collection <collection number> frequency <interval>
<collection number>
<interval>
Typical Time Interval
Number of Seconds in Interval
1 second
1 seconds
10 seconds
10 seconds
30 seconds
30 seconds
1 minute
60 seconds
5 minutes
300 seconds
10 minutes
600 seconds
15 minutes
900 seconds
30 minutes
1800 seconds
1 hour
3600 seconds
2 hours
7200 seconds
12 hours
43200 seconds
24 hours
86400 seconds
1 week
604800 seconds
cli>
prompt:
cli>
show collection <collection number>
cli>
prompt:
cli>
set snmp community <community name>
<community name>
cli>
prompt:
cli>
set collection <collection number> addvar
<MIB address>
<collection number>
<MIB address>
cli>
prompt:
cli>
set collection 10 addvar ifInOctets.3.1
cli>
set collection 10 addvar ifInOctets.3.2
cli>
prompt:
cli>
show collection <collection number>
cli>
prompt:
cli>
set snmp community <community name>