Network Analysis Module Command Reference: Release 3.4
Network Analysis Module Command Reference: Release 3.4
Command Reference
Release 3.4(1)
Corporate Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCBs public
domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and
iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco
Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering the Internet Generation,
Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ
Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing,
ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StrataView Plus, TeleRouter, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered
trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship
between Cisco and any other company. (0502R)
Network Analysis Module Command Reference
Copyright 20042005 Cisco Systems, Inc. All rights reserved.
C ON T E N T S
Preface
ix
Audience
ix
Organization
ix
Related Documentation
Conventions
ix
Obtaining Documentation xi
Cisco.com xi
Documentation DVD xii
Ordering Documentation xii
Documentation Feedback
xii
xiv
CHAPTER
Command-Line Interface
1-1
1-1
Getting Help
1-3
Subcommand Mode
1-3
1-4
cdp enable
2-1
2-2
2-4
2-6
application group
autostart
xv
1-2
Command Mode
CHAPTER
xiii
2-8
2-10
2-11
iii
Contents
cdp hold-time
2-12
cdp interval
2-13
2-14
clear system-alerts
config clear
2-16
config network
config upload
coredump
2-15
2-17
2-18
2-19
custom-filter capture
2-20
custom-filter decode
2-22
diffserv aggregate
diffserv profile
entity alias
2-28
2-29
exsession
help
2-30
2-31
ip address
2-32
ip broadcast
ip gateway
ip host
2-25
2-27
entity assetid
exit
2-24
2-33
2-34
2-35
ip hosts add
2-36
ip hosts delete
ip http port
2-37
2-38
2-39
2-42
2-44
2-46
ip nameserver
logout
2-41
2-43
ip http tacacs+
ip interface
2-40
2-47
2-48
monitor addrmap
monitor art
2-49
2-51
iv
OL-6397-01
Contents
2-53
2-55
2-57
2-59
monitor etherstats
2-61
2-64
monitor hlhost
2-66
monitor hlmatrix
monitor host
2-63
2-68
2-70
monitor ifstats
2-72
monitor matrix
2-73
monitor mpls
2-75
monitor nbar
2-76
monitor pdist
2-77
monitor priostats
2-79
monitor protocol
2-80
2-82
2-83
2-84
2-85
2-86
2-88
2-90
monitor vlanstats
2-92
2-97
2-99
netflow data-source
2-101
nslookup
password
patch
2-94
2-95
2-87
2-103
2-104
2-105
2-106
Contents
ping
2-107
preferences
reboot
2-108
2-110
rmon buffer
2-111
rmon channel
rmon filter
2-113
2-115
rmwebusers
2-117
show access-log
2-118
2-119
2-120
2-121
2-122
2-125
2-126
2-127
show certificate
2-128
show certificate-request
show configuration
2-129
2-130
2-132
2-133
show date
2-134
2-137
show hosts
2-138
show ip
2-135
2-136
2-139
2-140
2-141
2-142
2-143
2-144
2-145
2-146
2-147
2-148
vi
OL-6397-01
Contents
2-149
2-150
2-152
2-153
2-151
2-154
2-155
2-156
2-157
2-158
2-159
2-160
2-161
2-162
2-163
2-165
2-166
2-167
2-170
2-171
show preferences
2-172
2-173
2-174
2-175
show rxcounters
show snmp
2-176
2-177
show syslog-settings
show system-alerts
show tech-support
show time
2-178
2-179
2-180
2-181
show trap-dest
show version
2-168
2-169
2-164
2-182
2-183
vii
Contents
show web-users
shutdown
snmp
2-184
2-185
2-186
syslog
2-187
syslog mib
2-188
syslog remote-server
syslog system
syslog voice
terminal
time
2-189
2-190
2-191
2-192
2-193
traceroute
trap-dest
upgrade
web-user
2-195
2-196
2-198
2-199
APPENDIX
APPENDIX
Acronyms
B-1
A-1
viii
OL-6397-01
Preface
This preface describes the audience, organization, and conventions of this publication, and provides
information on how to obtain related documentation.
Audience
This publication is for experienced network administrators who are responsible for configuring and
maintaining Catalyst 6500 series switches, the Catalyst 6500 series and Cisco 7600 series Network
Analysis Module (NAM), and the Cisco Branch Routers Series Network Analysis Module (NM-NAM).
Organization
This publication is organized as follows:
Chapter
Title
Description
Chapter 1
Command-Line Interface
Chapter 2
Appendix A
Appendix B
Acronyms
Related Documentation
The Catalyst 6500 series switch Cisco IOS documentation set includes these documents:
ix
Preface
Conventions
Release Notes for Catalyst 6500 Series Switch and Cisco 7600 Series Router Network Analysis
Module
Catalyst 6500 Series Switch and Cisco 7600 Series Router Network Analysis Module Installation
and Configuration Note
User Guide for the Network Analysis Module Traffic Analyzer, Release 3.1
Release Notes for Catalyst 6500 Series Switch Cisco IOS Software, Release X.X
Command Reference
For information about the NM-NAM network module, refer to this URL:
http://lbj.cisco.com/targets/ucdit/cc/td/doc/product/software/ios123/123newft/123limit/123x/123xd/nm
_nam.htm
For information about MIBs, refer to this URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
For information about the Support Information for Platforms and Cisco IOS Software Images, use the
Cisco Feature Navigator. The Cisco Feature Navigator allows you to find information about platform
support and Cisco IOS software image support. Access the Cisco Feature Navigator at
http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or
have forgotten your username or password, click Cancel at the login dialog box and follow the
instructions that appear.
Conventions
This document uses the following conventions:
Convention
Description
boldface font
italic font
[ ]
{x|y|z}
[x|y|z]
OL-6397-01
Preface
Obtaining Documentation
Convention
Description
string
screen
font
screen
boldface screen
screen
font.
font
italic screen font
< >
[ ]
!, #
Note
Means reader take note. Notes contain helpful suggestions or references to material not covered in
the publication.
Cautions use the following conventions:
Caution
Means reader be careful. In this situation, you might do something that could result in equipment
damage or loss of data.
Obtaining Documentation
Cisco documentation and additional literature are available on Cisco.com. Cisco also provides several
ways to obtain technical assistance and other technical resources. These sections explain how to obtain
technical information from Cisco Systems.
Cisco.com
You can access the most current Cisco documentation at this URL:
http://www.cisco.com/univercd/home/home.htm
You can access the Cisco website at this URL:
http://www.cisco.com
xi
Preface
Documentation Feedback
Documentation DVD
Cisco documentation and additional literature are available in a Documentation DVD package, which
may have shipped with your product. The Documentation DVD is updated regularly and may be more
current than printed documentation. The Documentation DVD package is available as a single unit.
Registered Cisco.com users (Cisco direct customers) can order a Cisco Documentation DVD (product
number DOC-DOCDVD=) from the Ordering tool or Cisco Marketplace.
Cisco Ordering tool:
http://www.cisco.com/en/US/partner/ordering/
Cisco Marketplace:
http://www.cisco.com/go/marketplace/
Ordering Documentation
You can find instructions for ordering documentation at this URL:
http://www.cisco.com/univercd/cc/td/doc/es_inpck/pdi.htm
You can order Cisco documentation in these ways:
Registered Cisco.com users (Cisco direct customers) can order Cisco product documentation from
the Ordering tool:
http://www.cisco.com/en/US/partner/ordering/
Nonregistered Cisco.com users can order documentation through a local account representative by
calling Cisco Systems Corporate Headquarters (California, USA) at 408 526-7208 or, elsewhere in
North America, by calling 1 800 553-NETS (6387).
Documentation Feedback
You can send comments about technical documentation to bug-doc@cisco.com.
You can submit comments by using the response card (if present) behind the front cover of your
document or by writing to the following address:
Cisco Systems
Attn: Customer Document Ordering
170 West Tasman Drive
San Jose, CA 95134-9883
We appreciate your comments.
xii
OL-6397-01
Preface
Cisco Product Security Overview
A current list of security advisories and notices for Cisco products is available at this URL:
http://www.cisco.com/go/psirt
If you prefer to see advisories and notices as they are updated in real time, you can access a Product
Security Incident Response Team Really Simple Syndication (PSIRT RSS) feed from this URL:
http://www.cisco.com/en/US/products/products_psirt_rss_feed.html
Tip
Emergencies security-alert@cisco.com
Nonemergencies psirt@cisco.com
We encourage you to use Pretty Good Privacy (PGP) or a compatible product to encrypt any sensitive
information that you send to Cisco. PSIRT can work from encrypted information that is compatible with
PGP versions 2.x through 8.x.
Never use a revoked or an expired encryption key. The correct public key to use in your correspondence
with PSIRT is the one that has the most recent creation date in this public key server list:
http://pgp.mit.edu:11371/pks/lookup?search=psirt%40cisco.com&op=index&exact=on
1 877 228-7302
1 408 525-6532
xiii
Preface
Obtaining Technical Assistance
Note
Use the Cisco Product Identification (CPI) tool to locate your product serial number before submitting
a web or phone request for service. You can access the CPI tool from the Cisco Technical Support
Website by clicking the Tools & Resources link under Documentation & Tools. Choose Cisco Product
Identification Tool from the Alphabetical Index drop-down list, or click the Cisco Product
Identification Tool link under Alerts & RMAs. The CPI tool offers three search options: by product ID
or model name; by tree view; or for certain products, by copying and pasting show command output.
Search results show an illustration of your product with the serial number label location highlighted.
Locate the serial number label on your product and record the information before placing a service call.
xiv
OL-6397-01
Preface
Obtaining Additional Publications and Information
Cisco Marketplace provides a variety of Cisco books, reference guides, and logo merchandise. Visit
Cisco Marketplace, the company store, at this URL:
http://www.cisco.com/go/marketplace/
Cisco Press publishes a wide range of general networking, training and certification titles. Both new
and experienced users will benefit from these publications. For current Cisco Press titles and other
information, go to Cisco Press at this URL:
http://www.ciscopress.com
Packet magazine is the Cisco Systems technical user magazine for maximizing Internet and
networking investments. Each quarter, Packet delivers coverage of the latest industry trends,
technology breakthroughs, and Cisco products and solutions, as well as network deployment and
troubleshooting tips, configuration examples, customer case studies, certification and training
information, and links to scores of in-depth online resources. You can access Packet magazine at
this URL:
http://www.cisco.com/packet
iQ Magazine is the quarterly publication from Cisco Systems designed to help growing companies
learn how they can use technology to increase revenue, streamline their business, and expand
services. The publication identifies the challenges facing these companies and the technologies to
help solve them, using real-world case studies and business strategies to help readers make sound
technology investment decisions. You can access iQ Magazine at this URL:
http://www.cisco.com/go/iqmagazine
Internet Protocol Journal is a quarterly journal published by Cisco Systems for engineering
professionals involved in designing, developing, and operating public and private internets and
intranets. You can access the Internet Protocol Journal at this URL:
http://www.cisco.com/ipj
World-class networking training is available from Cisco. You can view current offerings at
this URL:
http://www.cisco.com/en/US/learning/index.html
xv
Preface
Obtaining Additional Publications and Information
xvi
OL-6397-01
C H A P T E R
Command-Line Interface
This chapter provides information for understanding and using the Network Analysis Module (NAM)
software by using the command-line interface (CLI). This chapter includes the following sections:
For an overview of the Catalyst 6500 series Cisco IOS configuration, refer to the Catalyst 6500 Series
Switch Cisco IOS Software Configuration Guide. For Catalyst 6500 series switch Cisco IOS commands,
refer to the Catalyst 6500 Series Switch Cisco IOS Command Reference.
For an overview of the Catalyst 6500 series operating system software configuration, refer to the
Catalyst 6500 Series Switch Configuration Guide. For Catalyst 6500 series switch operating system
software commands, refer to the Catalyst 6500 Series Switch Command Reference.
For information about supported platforms, Cisco IOS releases, and Catalyst operating system releases,
refer to this URL:
http://www.cisco.com/en/US/products/sw/cscowork/ps5401/index.html
Note
The root account uses the # prompt; the guest account uses the > prompt.
To log into the NAM, perform these steps:
Step 1
Log into the Catalyst 6500 series switch using the Telnet connection or the console port connection.
Step 2
Establish a console session with the NAM at the CLI prompt, using the session command:
1-1
Chapter 1
Command-Line Interface
Getting Help
Step 3
Log into the NAM by typing root to log in as the root user or guest to log in as a guest user at the login
prompt.
login: root
Step 4
At the password prompt, enter the password for the account. The default password for the root account
is root, and the default password for the guest account is guest.
Password:
Getting Help
When you have successfully logged in, type a ? and press Return or enter the help command for a list
of commands used to configure the NAM. For example:
Cisco Network Analysis Module (WS-SVC-NAM-1) Console, 3.1(0.22)
Copyright (c) 1999-2003 by cisco Systems, Inc.
root@localhost.cisco.com#
?
alarm
autostart
clear
config
coredump
custom-filter
diffserv
exit
exsession
help
ip
logout
?
-
display help
configure NAM MIB/voice alarms
enable/disable autostart collections
clear access log / system alerts
configure NAM
retrieve the coredump file
configure capture/decode custom filters
differentiated service related configurations
log out of system
enable/disable outside logins
display help
set ip parameters
log out of system
1-2
OL-6397-01
Chapter 1
Command-Line Interface
Command Mode
mfgtest
monitor
no
nslookup
password
patch
ping
preferences
reboot
rmon
rmwebusers
show
shutdown
snmp
syslog
terminal
time
traceroute
trap-dest
upgrade
voice
web-user
Command Mode
The Network Analysis Module provides a configurable command mode accessible when you log into the
NAM as root. Certain commands enter into a subcommand mode. In all command and subcommand
modes, the asterisk (*) specifies that the subcommand is mandatory.
Subcommand Mode
Some commands enter into a subcommand mode, which provides additional configuration commands
that you can use in that mode. For example:
root@localhost.cisco.com# monitor host
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-monitor-host)#
When you have entered the subcommand mode, type a ? or enter the help command for a list of
commands available in that subcommand mode. For example:
root@localhost.cisco.com(sub-monitor-host)# ?
? - display help
cancel - discard changes and exit from sub-command mode
control-index - specify the collection control index
data-source - specify the collection data source (*)
exit - exit from the sub-command mode
help - display help
owner - specify the collection owner
Note
For the commands that enter into a subcommand mode, the actual configuration is completed only when
you enter the Exit command.
1-3
Chapter 1
Command-Line Interface
1-4
OL-6397-01
C H A P T E R
For information about Catalyst operating system commands that are used to configure the switch, refer
to the current Catalyst operating system documentation including:
For information about the NM-NAM network module, refer to this URL:
http://lbj.cisco.com/targets/ucdit/cc/td/doc/product/software/ios123/123newft/123limit/123x/123xd/nm
_nam.htm
2-1
Chapter 2
alarm event
alarm event
To enter the alarm event configuration subcommand mode, and then configure alarm NAM events, use
the alarm event command. To remove an alarm event, use the no form of this command.
alarm event
no alarm event 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the alarm event submode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
type [both | log | none | trap](Optional) Sets the event to both log and trap, log, none, or trap.
2-2
OL-6397-01
Chapter 2
type
- set type
root@hostname.cisco.com(sub-alarm-event)#
root@hostname.cisco.com(sub-alarm-event)#
root@hostname.cisco.com(sub-alarm-event)#
root@hostname.cisco.com(sub-alarm-event)#
root@hostname.cisco.com(sub-alarm-event)#
root@hostname.cisco.com(sub-alarm-event)#
Successfully created the event.
root@hostname.cisco.com# show alarm event
Index:
100
Description:test-event
Type:
Log and trap
Community: public
Owner:
monitor
root@hostname.cisco.com#
Related Commands
community public
description test-event
index 100
owner monitor
type both
exit
alarm mib
alarm voice
show alarm event
show alarm mib
show alarm voice
2-3
Chapter 2
alarm mib
alarm mib
To enter the alarm MIB configuration subcommand mode, and then configure NAM MIB alarms, use the
alarm mib command. To remove an alarm MIB entry, use the no form of this command.
alarm mib
no alarm mib 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the alarm MIB submode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
falling-threshold number (Optional) Sets the number of packets for the falling event threshold.
Default is 0 packets.
Note
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
rising-threshold number(Optional) Sets the number of packets for the rising event threshold.
Default is 0 packets.
startup-alarm both | falling | risingSets the startup alarm to both rising and falling, falling, or
rising.
2-4
OL-6397-01
Chapter 2
Examples
Related Commands
alarm mib
alarm voice
show alarm event
show alarm mib
show alarm voice
2-5
Chapter 2
alarm voice
alarm voice
To enter the alarm voice configuration subcommand mode, and then configure NAM voice alarms, use
the alarm voice command. To disable voice alarm, use the jitter-alarm disable or the pkt-loss-alarm
disable subcommands.
alarm voice
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the alarm voice submode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
jitter-threshold int(Optional) Sets the jitter threshold in milliseconds. Default for SCCP is
30 milliseconds, H.323 is 150 milliseconds, and MGCP is 30 milliseconds.
protocol H.323 | SCCP | MGCPSets the voice protocol to H323, SCCP, or MGCP.
The MGCP protocol option is specific to the Network Analysis Module (NAM) software release
running on network modules in the Cisco 2600, 3600, 3700 routers.
Examples
2-6
OL-6397-01
Chapter 2
Related Commands
alarm mib
show alarm event
show alarm mib
show alarm voice
2-7
Chapter 2
application group
application group
To enter the application group submode and define an application group, use the application group
command.
application group
no application group group-name
Syntax Description
group-name
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the application group submode, the following commands are available:
add protocol-specifierAdds a protocol to the group. You only can add one protocol to a group at
a time (for example, HTTPS). This command allows you to group statistics for more than one
specified protocol into one counter.
To add two or more protocols to an application group, repeat the add command for each protocol.
The protocols are added only when you exit application group subcommand mode.
cancelDiscards changes and exits from the subcommand mode; see the cdp enable command
section.
delete protocol-specifierRemoves a protocol from the group. You only can remove one protocol
from a group at a time.
To remove two or more existing protocols from an existing application group, repeat the delete
command for each protocol. The protocol is removed only when you exit the application group
subcommand mode.
exitSaves changes and exits from the subcommand mode; see the exit command section.
helpDisplays help and keeps you in the application group subcommand mode; see the help
command section.
You must provide protocol specifiers in the add or delete parameters, or both the add and delete
parameters.
Examples
This example shows how to create an application group named appBrpSample with two protocols in the
group:
root@NAM# application group
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@NAM(sub-application-group)# ?
2-8
OL-6397-01
Chapter 2
?
add
cancel
delete
exit
help
name
display help
add a protocol to the group (*)
discard changes and exit from subcommand mode
remove a protocol from the group (*)
exit from subcommand mode
display help
set application group name (*)
Related Commands
2-9
Chapter 2
autostart
autostart
To enable or disable autostart collections, use the autostart command.
autostart collection {enable | disable}
Syntax Description
collection
enable
Enables autostart.
disable
Disables autostart.
Defaults
Command Modes
Command mode
Examples
Related Commands
address map
art
ether stats
prio stats
vlan stats
show autostart
2-10
OL-6397-01
Chapter 2
cdp enable
To enable the Cisco Discovery Protocol (CDP) on the NM-NAM, use the cdp enable command. To
disable CDP on the NM-NAM, use the no form of this command.
cdp enable
no cdp enable
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
This command is supported only on the NM-NAM. This command is disabled on the NAM-1 and
NAM-2.
Examples
Related Commands
cdp hold-time
cdp interval
show cdp settings
2-11
Chapter 2
cdp hold-time
cdp hold-time
To set the Cisco Discovery Protocol (CDP) messages hold time, use the cdp hold-time command. To
return the CDP messages hold time to the default value, use the no form of this command.
cdp hold-time time
no cdp hold-time
Syntax Description
time
Defaults
180 seconds.
Command Modes
Command mode
Examples
This example shows how to set the CDP messages hold time:
Related Commands
cdp enable
cdp interval
show cdp settings
2-12
OL-6397-01
Chapter 2
cdp interval
To set the Cisco Discovery Protocol (CDP) messages interval on the NM-NAM, use the cdp interval
command. To return the CDP messages interval on the NM-NAM to the default value, use the no form
of this command.
cdp interval time
no cdp interval
Syntax Description
time
Defaults
60 seconds
Command Modes
Command mode
Examples
Related Commands
cdp enable
cdp hold-time
show cdp settings
2-13
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
clear system-alerts
config clear
2-14
OL-6397-01
Chapter 2
clear system-alerts
To clear the system alerts, use the clear system-alerts command.
clear system-alerts
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
2-15
Chapter 2
config clear
config clear
To reset the NAM and return it to the factory-default state, use the config clear command.
config clear [all | ip]
Syntax Description
all
ip
Defaults
Command Modes
Command mode
Examples
2-16
OL-6397-01
Chapter 2
config network
To import a NAM configuration into the NAM from a specified location, use the config network
command.
config network url
Syntax Description
url
Defaults
Command Modes
Command mode
Examples
This example shows how to download a configuration file to a NAM named kluu-test.config, which is
located at the FTP server namlab-pc1 in the user home directory named /home/kluu directory.
root@NAM #
root@NAM # config network ftp://kluu@namlab-pc1//home/kluu/kluu-test.config
Downloading ftp://kluu@namlab-pc1//home/kluu/kluu-test.config, please wait ...
Password for kluu@namlab-pc1:
ftp://kluu@namlab-pc1//home/kluu/kluu-test.config (9K)
/tmp/lrcfile.txt.1007
[########################]
9748 bytes transferred in 0.00 sec (4274.44k/sec)
9K | 4916.90K/s
Download completed.
Configuring the NAM. This may take few minutes, please wait ...
NAM configuration completed.
To view the results, use the command 'show log config'.
root@NAM #
2-17
Chapter 2
config upload
config upload
To upload the running NAM configuration to a specified location, use the config upload command.
config upload url [filename]
Syntax Description
url
filename
Defaults
Command Modes
Command mode
Examples
This example shows how to upload the NAM running configuration to the FTP server named namlab-pc1
with a filename of example.config:
root@NAM# config upload ftp://kluu@namlab-pc1.cisco.com example.config
Building configuration, please wait... Done.
Uploading the configuration to 'example.config'
on 'ftp://kluu@namlab-pc1.cisco.com', This may take few minutes ...
Password:
Successfully uploaded the NAM configuration.
root@NAM#
2-18
OL-6397-01
Chapter 2
coredump
To retrieve the core dump file, use the coredump command.
coredump ftp://user:passwd@host/full-path/
Syntax Description
ftp://user:passwd@host/full-path/
Defaults
Command Modes
Command mode
Examples
2-19
Chapter 2
custom-filter capture
custom-filter capture
To enter the custom filter capture subcommand mode, and then configure custom filter capture settings,
use the custom-filter capture command. To remove custom filter capture, use the no capture-filter
filtername command.
custom-filter capture
no capture-filter filtername
Syntax Description
filtername
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the custom filter capture submode, the following commands are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
2-20
OL-6397-01
Chapter 2
Related Commands
custom-filter capture
custom-filter decode
show custom-filter capture
show custom-filter decode
2-21
Chapter 2
custom-filter decode
custom-filter decode
To enter the custom-filter decode subcommand mode, and then configure custom filter decode settings,
use the custom-filter decode command. To remove custom filter decode, use the no decode-filter
filtername command.
custom-filter decode
no decode-filter filtername
Syntax Description
filtername
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the custom-filter decode submode, the following commands are available:
Examples
direction both | single(Optional) Applies the filter to both directions or a single direction.
exitSaves changes and exits from the subcommand mode; see the exit command section.
2-22
OL-6397-01
Chapter 2
Related Commands
custom-filter capture
custom-filter decode
show custom-filter capture
show custom-filter decode
2-23
Chapter 2
diffserv aggregate
diffserv aggregate
To enter the differentiated services aggregate configuration subcommand mode, and then configure
differentiated services aggregation, use the diffserv aggregate command. To remove differentiated
services aggregation, use the no form of this command.
diffserv aggregate
no diffserv aggregate control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the differentiated services aggregation submode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
Related Commands
diffserv profile
show diffserv aggregate
2-24
OL-6397-01
Chapter 2
diffserv profile
To enter the differentiated services profile configuration subcommand mode, and then configure
differentiated services profile, use the diffserv profile command. To remove differentiated services
aggregation, use the no form of this command.
diffserv profile
no diffserv profile profile-index
Syntax Description
profile-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the differentiated services profile submode, the following commands are available:
Note
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
profile-index profile-index Specifies the entry control index for an existing differentiated services
aggregate. Range is from 1 to 65535. Default is random.
To create a new differentiated services profile entry, you must obtain a new differentiated services
aggregate control index by using the diffserv aggregate command to create a new differentiated services
aggregate entry before using the diffserv profile command.
2-25
Chapter 2
diffserv profile
Related Commands
2-26
OL-6397-01
Chapter 2
entity alias
To configure an entity alias for the entity MIB, use the entity alias command.
entity alias string
Syntax Description
string
Defaults
Command Modes
Command mode
Usage Guidelines
The entity MIB makes the entPhysicalTable and entLastChangeTime available through SNMP.
The clear configuration command deletes the entity alias and asset ID by setting them to an empty
string.
Examples
Related Commands
show entity
2-27
Chapter 2
entity assetid
entity assetid
To configure an entity MIB asset ID, use the entity assetid command.
entity assetid string
Syntax Description
string
Defaults
Command Modes
Command mode
Usage Guidelines
The entity MIB makes the entPhysicalTable and entLastChangeTime available through SNMP.
The clear configuration command deletes the entity alias and asset ID by setting them to an empty
string.
Examples
Related Commands
show entity
2-28
OL-6397-01
Chapter 2
exit
To log out of the system or to leave a subcommand mode, use the exit command.
exit
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
To leave a subcommand mode, use the exit command. The exit command saves any changes before
leaving the submode.
Examples
2-29
Chapter 2
exsession
exsession
To enable or disable outside logins, use the exsession command.
exsession on [ssh]
exsession off
Syntax Description
on
off
ssh
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
2-30
OL-6397-01
Chapter 2
help
To display help, use the help command or ?. You must press the Enter key after entering the ?.
help | ?
Syntax Description
Defaults
Command Modes
Examples
display help
configure NAM MIB/voice alarms
enable/disable autostart collections
clear access log / system alerts
configure NAM
retrieve the coredump file
configure capture/decode custom filters
differentiated service related configurations
log out of system
enable/disable outside logins
display help
set ip parameters
log out of system
Manufacturing only tests
enable collections
delete various configurations
query nameservers
set new password
download and install new patch
ping a network device
configure web interface preferences for all users
reboot the system
configure RMON collections
remove all web users from local web user database
show system parameters
shut down the system
set snmp parameters
configure NAM syslog
configure NAM timezone/time sync settings
traceroute to a network device
create/edit NAM trap destination
download and install new maintenance image
enable/disable voice collections
create/edit local web user
2-31
Chapter 2
ip address
ip address
To set the system IP address, use the ip address command.
ip address ip-address subnet-mask
Syntax Description
ip-address
subnet-mask
Defaults
Command Modes
Command mode
Usage Guidelines
After setting the IP address, the gateway address may be set to 0.0.0.0. When this situation occurs, use
the ip gateway command to set the gateway address.
The broadcast address is automatically set with an address that is created using the new IP address and
network mask. To select a different broadcast address, use the ip broadcast command
Examples
Related Commands
ip broadcast
ip gateway
ip host
show ip
2-32
OL-6397-01
Chapter 2
ip broadcast
To set the system broadcast address, use the ip broadcast command.
ip broadcast broadcast-address
Syntax Description
broadcast-address
Defaults
Command Modes
Command mode
Examples
Related Commands
ip address
ip gateway
ip host
ip interface
show ip
2-33
Chapter 2
ip gateway
ip gateway
To set the system default gateway address, use the ip gateway command.
ip gateway default-gateway
Syntax Description
default-gateway
Defaults
Command Modes
Command mode
Examples
Related Commands
ip address
ip broadcast
ip host
ip interface
show ip
2-34
OL-6397-01
Chapter 2
ip host
To set the system host name, use the ip host command.
ip host name
Syntax Description
name
Defaults
Command Modes
Command mode
Examples
Related Commands
ip address
ip gateway
ip interface
show ip
2-35
Chapter 2
ip hosts add
ip hosts add
To add or replace host entries, use the ip hosts add command.
ip hosts add ip-address host-name [alias1] [alias2]
ip hosts add ftp://user:passwd@host/full-path/filename
Syntax Description
ip-address
host-name
alias1 alias2
ftp://user:passwd@host/full-path/filename
Defaults
Command Modes
Command mode
Usage Guidelines
Use the ip hosts add ftp://user:passwd@host/full-path/filename command to import host entries to the
NAM. A maximum of 1,000 entries can exist on the NAM.
Examples
Related Commands
ip hosts delete
show hosts
2-36
OL-6397-01
Chapter 2
ip hosts delete
To delete host entries, use the ip hosts delete command.
ip hosts delete ip-address
ip hosts delete ftp://user:passwd@host/full-path/filename
Syntax Description
ip-address
ftp://user:passwd@host/full-path/filename
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
Related Commands
ip hosts add
show hosts
2-37
Chapter 2
ip http port
ip http port
To set the HTTP port, use the ip http port command.
ip http port 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Examples
This example shows how to specify an HTTP port for the NAM:
Related Commands
2-38
OL-6397-01
Chapter 2
Syntax Description
certificate-request
self-signed-certificate
Defaults
Command Modes
Command mode
Examples
Related Commands
ip http port
ip http secure install certificate
ip http server
ip http tacacs+
show ip
2-39
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
ip http port
ip http secure generate
ip http server
ip http tacacs+
show ip
2-40
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
Related Commands
ip http port
ip http secure generate
ip http secure install certificate
ip http server
ip http tacacs+
show ip
2-41
Chapter 2
Syntax Description
port
Defaults
Command Modes
Command mode
Examples
Related Commands
ip http port
ip http secure generate
ip http secure install certificate
ip http server
ip http tacacs+
show ip
2-42
OL-6397-01
Chapter 2
ip http server
To enable an HTTP server, use the ip http server command.
ip http server {enable | disable}
Syntax Description
enable
disable
Defaults
Command Modes
Command mode
Examples
Related Commands
ip http port
ip http secure generate
ip http tacacs+
show ip
2-43
Chapter 2
ip http tacacs+
ip http tacacs+
To enable a TACACS+ server, use the ip http tacacs+ command.
ip http tacacs+ enable primary-srv [backup-srv] [en-secret-key encrypted-secret-key]
ip http tacacs+ disable
Syntax Description
disable
enable
primary-srv
backup-srv
en-secret-key
encrypted-secret-key
Defaults
Command Modes
Command mode
Usage Guidelines
The en-secret-key keyword is used only during the importing of NAM configurations. This key cannot
be used unless you can specify a DES-encrypted string as the argument to this keyword, as in this
example:
root@localhost# ip http tacacs+ enable 10.0.0.1 10.0.0.2 en-secret-key "dEAF="
Examples
2-44
OL-6397-01
Chapter 2
SSH:
Disabled
root@hostname.cisco.com#
Related Commands
ip http port
ip http secure generate
ip http server
show ip
2-45
Chapter 2
ip interface
ip interface
To select the external port or the internal ports for the NM-NAM, use the ip interface command.
ip interface external | internal
Syntax Description
external
internal
Selects the internal LAN segment to the router through the PCI interface for
IP communication (for example Telnet, SNMP, HTTP, and so forth) to the
NM-NAM.
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
This example shows how to specify an interface port for the NM-NAM:
root@localhost# ip interface external
Related Commands
ip address
show ip
2-46
OL-6397-01
Chapter 2
ip nameserver
To set or disable system name server entries, use the ip nameserver command.
ip nameserver ip-addr ip-addr ip-addr
or
ip nameserver disable
Syntax Description
ip-addr
disable
Defaults
Command Modes
Command mode
Examples
Related Commands
ip address
show ip
2-47
Chapter 2
logout
logout
To log out of the system, use the logout command.
logout
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-48
OL-6397-01
2 2
Chapter 2
monitor addrmap
To enter the address map collection configuration subcommand mode, and then configure address map
collections, use the monitor addrmap command. To remove address map collections, use the no form
of this command.
monitor addrmap
no monitor addrmap control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the address map collection submode, the following commands are available:
Note
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
The collections that are configured in the CLI will not be visible in the GUI. For collections that use a
GUI screen, you can make them visible in the GUI by using the owner string LocalMgr.
2-49
Chapter 2
monitor addrmap
Related Commands
2-50
OL-6397-01
Chapter 2
monitor art
To enter the ART MIB collection subcommand mode, and then monitor ART MIB collections, use the
monitor art command. To remove ART MIB collection monitoring, use the no form of this command.
monitor art
no monitor art control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the ART MIB collection subcommand mode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
max-entries int(Optional) Specifies the maximum collection entries. Range is from 1 to 65535.
Default is 500.
Note
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
rsp-time2 int(Optional) Specifies the collection response time of 1 millisecond. Range is from 0
to 2147483647 (milliseconds). Default is 15 milliseconds.
rsp-time4 int(Optional) Specifies the collection response time of 1 millisecond. Range is from 0
to 2147483647 (milliseconds). Default is 100 milliseconds.
rsp-time5 int(Optional) Specifies the collection response time of 1 millisecond. Range is from 0
to 2147483647 (milliseconds). Default is 200 milliseconds.
rsp-time6 int(Optional) Specifies the collection response time of 1 millisecond. Range is from 0
to 2147483647 (milliseconds). Default is 500 milliseconds.
2-51
Chapter 2
monitor art
Examples
rsp-timeout int(Optional) Specifies the collection response time timeout in milliseconds. Range
is from 0 to 2147483647 (milliseconds). Default is 3000 milliseconds.
Related Commands
2-52
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the differentiated services host collection subcommand mode, the following commands
are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-53
Chapter 2
Examples
This example shows how to configure the differentiated services host collections:
root@localhost.cisco.com# monitor diffserv host
Entering into sub-command mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-monitor-diffserv-host)# data-source vlan1
root@localhost.cisco.com(sub-monitor-diffserv-host)# exit
Successfully created a diffserv host collection.
root@localhost.cisco.com#
root@localhost.cisco.com# show monitor diffserv host
Control index:
24864
Data source:
vlan1
Owner is
monitor
Status:
1
Max entries:
Max possible
Profile index:
23723
IPv4 prefix length:
32
IPv6 prefix length:
128
root@localhost.cisco.com# no monitor diffserv host 24864
Successfully removed the diffserv host collection.
Related Commands
2-54
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the differentiated services matrix collection subcommand mode, the following
commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
This example shows how to configure the differentiated services matrix collections:
root@localhost.cisco.com# monitor diffserv matrix
Entering into sub-command mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-monitor-diffserv-matrix)# data-source vlan1
root@localhost.cisco.com(sub-monitor-diffserv-matrix)# max-entries 50
root@localhost.cisco.com(sub-monitor-diffserv-matrix)# owner test
2-55
Chapter 2
root@localhost.cisco.com(sub-monitor-diffserv-matrix)# exit
Successfully created a diffserv matrix collection.
root@localhost.cisco.com# show monitor diffserv matrix
Control index:
1269
Data source:
vlan1
Owner:
test
Status:
1
Max entries:
50
Profile index:
23723
root@localhost.cisco.com# no monitor diffserv matrix 1269
Successfully removed the diffserv matrix collection.
Related Commands
2-56
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the differentiated services protocol distribution collection subcommand mode, the
following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
This example shows how to configure the differentiated services protocol distribution collections:
root@localhost.cisco.com# monitor diffserv pdist
Entering into sub-command mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-monitor-diffserv-pdist)# profile-index 31645
root@localhost.cisco.com(sub-monitor-diffserv-pdist)# data-source allspan
2-57
Chapter 2
Related Commands
2-58
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Usage Guidelines
When you enter the differentiated services statistics collection subcommand mode, the following
commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
This example shows how to configure the differentiated services statistics collections:
root@localhost.cisco.com# monitor diffserv stats
Entering into sub-command mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-monitor-diffserv-stats)# data-source vlan1
root@localhost.cisco.com(sub-monitor-diffserv-stats)# exit
Successfully created a diffserv stats collection.
root@localhost.cisco.com# show monitor diffserv stats
Control index:
42204
Data source:
vlan1
2-59
Chapter 2
Owner:
monitor
Status:
1
Profile index:
23723
root@localhost.cisco.com# no monitor diffserv stats 42204
Successfully removed the diffserv stats collection.
Related Commands
2-60
OL-6397-01
Chapter 2
monitor etherstats
To enter the Ethernet statistics collection configuration subcommand mode, and then configure Ethernet
statistics collections, use the monitor etherstats command. To remove the Ethernet statistics
collections, use the no form of this command.
monitor etherstats
no monitor etherstats control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor Ethernet statistics collection subcommand mode, the following commands
are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
2-61
Chapter 2
monitor etherstats
Related Commands
2-62
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
This command is supported only on the NAM-1 and NAM-2. This command is not supported on the
NM-NAM.
Examples
This example shows how to enable the supervisor engine mini-RMON statistics polling on the NAM:
root@localhost.cisco.com# monitor etherstats on-switch
Related Commands
2-63
Chapter 2
monitor history
monitor history
To enter the history collection configuration subcommand mode, and then configure history collections,
use the monitor history command. To remove the history collections, use the no form of this command.
monitor history
no monitor history control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor history collection subcommand mode, the following commands are
available:
Examples
buckets number(Optional) Specifies the bucket size. Range is from 1 to 65535. Default is 50.
exitSaves changes and exits from the subcommand mode; see the exit command section.
2-64
OL-6397-01
Chapter 2
Related Commands
2-65
Chapter 2
monitor hlhost
monitor hlhost
To enter the host layer host collection configuration subcommand mode, and then configure host layer
collections, use the monitor hlhost command. To remove the host layer collections, use the no form of
this command.
monitor hlhost
no monitor hlhost control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor host layer host collection subcommand mode, the following commands are
available:
al-max max-entries(Optional) Specifies the maximum entries for the application layer. Range is
from-1 to 2147483647. Default is -1.
exitSaves changes and exits from the subcommand mode; see the exit command section.
nl-max seconds(Optional) Specifies the maximum entries for the network layer. Range is from -1
- 2147483647. Default is -1.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-66
OL-6397-01
Chapter 2
Related Commands
2-67
Chapter 2
monitor hlmatrix
monitor hlmatrix
To enter the host layer matrix collection configuration subcommand mode, and then configure host layer
matrix collections, use the monitor hlmatrix command. To remove the host layer matrix collections,
use the no form of this command.
monitor hlmatrix
no monitor hlmatrix control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor host layer matrix collection subcommand mode, the following commands
are available:
al-max max-entries(Optional) Specifies the maximum entries for the application layer. Range is
from-1 to 2147483647. Default is -1.
exitSaves changes and exits from the subcommand mode; see the exit command section.
nl-max seconds(Optional) Specifies the maximum entries for the network layer. Range is from -1
- 2147483647. Default is -1.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-68
OL-6397-01
Chapter 2
root@localhost.cisco.com(sub-monitor-hlmatrix)# exit
Successfully created a hlmatrix collection.
root@localhost.cisco.com# show monitor hlmatrix 15
Control index:
15
Data source:
vlan1
Owner:
monitor
Status:
1
Network layer max entries:
15
Application layer max entries:15
root@localhost.cisco.com# no monitor hlmatrix 15
Successfully removed the hlmatrix collection.
Related Commands
2-69
Chapter 2
monitor host
monitor host
To enter the host collection configuration subcommand mode, and then configure host collections, use
the monitor host command. To remove the host collections, use the no form of this command.
monitor host
no monitor host control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor host collection subcommand mode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-70
OL-6397-01
Chapter 2
Related Commands
2-71
Chapter 2
monitor ifstats
monitor ifstats
To enable router interface statistics collection on the NM-NAM, use the monitor ifstats command. To
disable router interface statistics collection, use the no form of this command.
monitor ifstats
no monitor ifstats
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
Related Commands
2-72
OL-6397-01
Chapter 2
monitor matrix
To enter the matrix collection configuration subcommand mode, and then configure matrix collections,
use the monitor matrix command. To remove the host collections, use the no form of this command.
monitor matrix
no monitor matrix control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor matrix collection subcommand mode, the following commands are
available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-73
Chapter 2
monitor matrix
Related Commands
2-74
OL-6397-01
Chapter 2
monitor mpls
To enable the NAM to parse Multiprotocol Label Switching (MPLS) IP payloads and populate the data
to the NAM RMON collections, use the monitor mpls command. To disable MPLS parsing, use the no
form of this command.
monitor mpls
no monitor mpls
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to parse IP payloads and populate the data to the NAM RMON collections:
root@localhost.cisco.com# monitor mpls
Related Commands
2-75
Chapter 2
monitor nbar
monitor nbar
To enable supervisor NBAR statistics polling, use the monitor nbar command. To disable polling, use
the no form of this command.
monitor nbar
no monitor nbar
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
The NAM-1 or NAM-2 statistics are polled from the supervior engine.
Related Commands
2-76
OL-6397-01
Chapter 2
monitor pdist
To enter the protocol distribution collection configuration subcommand mode, and then configure
protocol distribution collections, use the monitor pdist command. To remove the protocol distribution
collections, use the no form of this command.
monitor pdist
no monitor pdist control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor protocol distribution collection subcommand mode, the following
commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-77
Chapter 2
monitor pdist
Related Commands
2-78
OL-6397-01
Chapter 2
monitor priostats
To enter the priority statistics collection configuration subcommand mode, and then configure priority
statistics collections, use the monitor priostats command. To remove the priority statistics collections,
use the no form of this command.
monitor priostats
no monitor priostats control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor priority statistics collection subcommand mode, the following commands
are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
Related Commands
2-79
Chapter 2
monitor protocol
monitor protocol
To enter the protocol directory entries configuration subcommand mode, and then configure protocol
directory entries, use the monitor protocol command. To remove the protocol directory entries, use the
no form of this command.
monitor protocol
no monitor protocol prot-specifier
Syntax Description
prot-specifier
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor protocol directory entries subcommand mode, the following commands are
available:
addressmap enable | disable | not-applicable Enables or disables address map statistics or sets
the address map as not applicable for this protocol.
exitSaves changes and exits from the subcommand mode; see the exit command section.
host enable | disable | not-applicable Enables or disables host statistics or sets the host as not
applicable for this protocol.
name stringEnters the full name of the protocol. The name string can contain multiple words.
Note
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
prot-specifier protocol-specifier-string | ip 1-255 | tcp 1-65535 | udp 1-65535 | ncp 1-255 | sunrpc
1-4294967295Specifies the collection protocol by protocol.
range 1-255Specifies the number of consecutive TCP or UDP ports included in the protocol.
2-80
OL-6397-01
Chapter 2
Examples
Related Commands
2-81
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
2-82
OL-6397-01
Chapter 2
Syntax Description
entries
Defaults
100 entries.
Command Modes
Command mode
Examples
Related Commands
2-83
Chapter 2
Syntax Description
begin-port
end-port
Defaults
Command Modes
Command mode
Examples
Related Commands
2-84
OL-6397-01
Chapter 2
Syntax Description
max-port
Defaults
Command Modes
Command mode
Usage Guidelines
If you apply the monitor protocol auto-learned tcp max-port 100 command to the NAM, the NAM
does not learn protocols that have TCP port values of 101 or more.
Examples
Related Commands
2-85
Chapter 2
Syntax Description
begin-port
end-port
Defaults
Command Modes
Command mode
Examples
Related Commands
2-86
OL-6397-01
Chapter 2
Syntax Description
max-port
Defaults
Command Modes
Command mode
Usage Guidelines
If you apply the monitor protocol auto-learned udp max-port 100 command to the NAM, the NAM
does not learn protocols that have UDP port values of 101 or more.
Examples
Related Commands
2-87
Chapter 2
monitor urlcollection
monitor urlcollection
To enter the URL collection submode and configure URL collections, use the monitor urlcollection
command. To disable the URL collection, use the no form of this command.
monitor urlcollection
no monitor urlcollection
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the URL collections submode, the following commands are available:
cancelDiscards changes and exits from the subcommand mode; see the cdp enable command
section.
exitSaves changes and exits from the subcommand mode; see the exit command section.
ignore(Optional) Sets the host, path, and the URL matching argument.
ignore hostSpecifies that you ignore or do not ignore the URLs host part when collecting
match-only string(Optional) Specifies collecting only the URL data that matches the string in the
URL.
recycle enable | disableEnables or disables aging of the URL collection data entries.
There is only one URL collection in the NAM. The collection owner is always LocalMgr. The index is
always one.
This command is supported by the NAM1, NAM2, and NM-NAM.
2-88
OL-6397-01
Chapter 2
Examples
Related Commands
2-89
Chapter 2
monitor urlfilter
monitor urlfilter
To enter the URL filter collection configuration subcommand mode, and then configure URL filters, use
the monitor urlfilter command. To remove the URL filters from the configuration, use the no form of
this command.
monitor urlfilter
no monitor urlfilter control-index
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor URL filter subcommand mode, the following commands are available:
?Displays help.
control-index control-indexSpecifies the URL entrys control index. Range is from 1 to 65535.
Default is random.
exitSaves changes and exits from the subcommand mode; see the exit command section.
helpDisplays help.
The clear configuration command removes the URL filters from the configuration. There is no SNMP
support for configuring the URL filters.
Examples
2-90
OL-6397-01
Chapter 2
2
IPv4
www.example.com
(not-set)
To remove this URL filter entry, use the no form of the command:
root@nam# no monitor urlfilter 2
Successfully delete urlfilter entry.
Related Commands
2-91
Chapter 2
monitor vlanstats
monitor vlanstats
To enter the VLAN statistics collection configuration subcommand mode, and then configure VLAN
statistics collections, use the monitor vlanstats command. To remove the VLAN statistics collections,
use the no form of this command.
monitor vlanstats
no monitor vlanstats control-index
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor VLAN statistics collection subcommand mode, the following commands
are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-92
OL-6397-01
Chapter 2
Related Commands
2-93
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
This example shows how to configure supervisor engine VLAN statistics collections:
root@localhost.cisco.com# monitor vlanstats on-switch
Successfully enable supervisor vlanstats on-switch.
This example shows how to display supervisor engine VLAN statistics collections:
root@localhost.cisco.com# show monitor vlanstats on-switch
Supervisor vlanstats collection is enabled.
This example shows how to disable supervisor engine VLAN statistics collections:
root@localhost.cisco.com# no monitor vlanstats on-switch
Successfully disable supervisor vlanstats on-switch.
Related Commands
2-94
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor voice H.323 statistics collection subcommand mode, the following
commands are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
max-callsSpecifies the number of call table rows. Range is from 10 to 1000. Default is 200.
max-phonesSpecifies the number of phone table rows. Range is from 10 to 1000. Default is 200.
top-jitter-rowsSpecifies the number of top jitter rows. Range is from 1 to 20. Default is 5.
top-loss-rowsSpecifies the number of top loss rows. Range is from 1 to 20. Default is 5.
2-95
Chapter 2
Related Commands
2-96
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor voice SCCP statistics collection subcommand mode, the following
commands are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
max-callsSpecifies the number of call table rows. Range is from 10 to 1000. Default is 300.
max-phonesSpecifies the number of phone table rows. Range is from 10 to 1000. Default is 300.
top-jitter-rowsSpecifies the number of top jitter rows. Range is from 1 to 20. Default is 5.
top-loss-rowsSpecifies the number of top loss rows. Range is from 1 to 20. Default is 5.
voice sccp
Enabled
300
100
20
20
2-97
Chapter 2
Related Commands
2-98
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the monitor voice MGCP statistics collection subcommand mode, the following
commands are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
max-callsSpecifies the number of call table rows. Range is from 10 to 1000. Default is 200.
max-phonesSpecifies the number of phone table rows. Range is from 10 to 1000. Default is 200.
top-jitter-rowsSpecifies the number of top jitter rows. Range is from 1 to 20. Default is 5.
top-loss-rowsSpecifies the number of top loss rows. Range is from 1 to 20. Default is 5.
2-99
Chapter 2
Related Commands
2-100
OL-6397-01
Chapter 2
netflow data-source
To enter the NetFlow data source configuration subcommand mode and then create or edit a custom data
source, use the netflow data-source command. To remove a NetFlow custom data source, use the no
form of this command.
netflow data-source
no netflow data-source data-source-name
Syntax Description
data-source-name
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the NetFlow data source configuration subcommand mode, the following commands are
available:
both (* * * ...)Specifies a list of ifIndices separated by a space for both input and output data flow
directions.
cancelDiscards changes and exits from the subcommand mode; see the cdp enable command
section.
exitSaves changes and exits from the subcommand mode; see the exit command section.
index (* * * ...)Specifies the ifIndex of the NetFlow data source. Use 0 when creating a new
ifIndex.
input direction (* * * ...)Specifies a list of ifIndices separated by a space for the input data flow
direction.
output direction (* * * ...)Specifies a list of ifIndices separated by a space for the output data
flow direction.
To create a new NetFlow custom data source, you must not provide an index value in the subcommand
mode. If an index value is provided, it is an edit of an existing NetFlow custom data source.
The NetFlow custom data source name is prepended with nde-. For example, nde-exampleNetFlow.
You must give NetFlow device information.
All the if-indices values are provided by the NetFlow device. You do not need to provide all three
directions (input, output, and both) but there must be at least one of the three.
2-101
Chapter 2
netflow data-source
Examples
Related Commands
netflow device
2-102
OL-6397-01
Chapter 2
netflow device
To configure remote NetFlow devices and create a default data source for the NetFlow device, use the
netflow device command. To remove a remote NetFlow device, use the no form of this command.
netflow device device-address [community-string]
no netflow device address
Syntax Description
address
community-string
Defaults
Command Modes
Command mode
Examples
2-103
Chapter 2
nslookup
nslookup
To configure name server queries, use the nslookup command.
nslookup hostname [server]
Syntax Description
hostname
server
Defaults
Command Modes
Command mode
Examples
2-104
OL-6397-01
2 2
Chapter 2
password
To set a new password, use the password command.
password username
Syntax Description
username
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
2-105
Chapter 2
patch
patch
To download and install a software patch, use the patch command.
patch ftp://user:passwd@host/full-path/filename
Syntax Description
ftp://user:passwd@host/full-path/filename
Defaults
Command Modes
Command mode
Examples
root@localhost.cisco.com# patch
ftp://hostname/fullpath/c6nam-3.1-strong-cryptoK9-patch-1-0.bin
Proceeding with installation. Please do not interrupt.
If installation is interrupted, please try again.
Downloading c6nam-3.1-strong-cryptoK9-patch-1-0.bin. Please wait...
ftp://hostname/fullpath/c6nam-3.1-strong-cryptoK9-patch-1-0.bin (1K)
[########################]
1K | 1886.33K/s
1891 bytes transferred in 0.00 sec (1569.00k/sec)
Verifying c6nam-3.1-strong-cryptoK9-patch-1-0.bin. Please wait...
Patch c6nam-3.1-strong-cryptoK9-patch-1-0.bin verified.
Applying /usr/local/nam/patch/workdir/c6nam-3.1-strong-cryptoK9-patch-1-0.bin. Please
wait...
########################################### [100%]
########################################### [100%]
Patch applied successfully.
root@localhost.cisco.com#
Related Commands
show patches
show version
2-106
OL-6397-01
Chapter 2
ping
To check connectivity to a network device, use the ping command.
ping [-n | -v] [-c count] [-i wait] [-p pattern] [-s packetsize] hostname | IP address
Syntax Description
-n
-v
-c count
-i wait
(Optional) Specifies the time interval in seconds between sending each packet.
-p pattern
(Optional) Specifies the pad bytes to fill out packets sent in the ping. You may
specify up to 16 pad bytes to fill out packets being sent.
-s packetsize
hostname
IP address
Defaults
Command Modes
Command mode
Examples
This example shows how to check the connectivity of a network device with ping:
root@localhost# ping -n -v ralph 100.20.19.23
root@localhost#
2-107
Chapter 2
preferences
preferences
To enter the preferences subcommand mode, and then configure how your screen displays information,
use the preferences command.
preferences
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the preferences subcommand mode, the following commands are available:
Examples
csv-export all | current-screen Sets the comma-separated values export monitor data options.
entries-per-screen 1-100(Optional) Sets the number of rows to display in tabular screens. Default
is 15.
exitSaves changes and exits from the subcommand mode; see the exitcommand section.
graph-bars 1-15 (Optional) Sets the number of bars on a displayed graph. Default is 10.
refresh-interval 15-3600(Optional) Sets the screen refresh interval in seconds. Default is 60.
This example shows how to configure preferences for your screen display:
root@localhost.cisco.com# preferences
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost.cisco.com(sub-preferences)# entries-per-screen 15
root@localhost.cisco.com(sub-preferences)# refresh-interval 60
root@localhost.cisco.com(sub-preferences)# graph-bars 10
root@localhost.cisco.com(sub-preferences)# hostname-resolution disable
root@localhost.cisco.com(sub-preferences)# data-displayed bytes
root@localhost.cisco.com(sub-preferences)# format-large-number enable
root@localhost.cisco.com(sub-preferences)# number-notation comma-dot
2-108
OL-6397-01
Chapter 2
root@localhost.cisco.com(sub-preferences)# exit
NAM web interface preferences updated successfully.data
Related Commands
show preferences
2-109
Chapter 2
reboot
reboot
To shut down and then restart the NAM, use the reboot command.
reboot
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-110
OL-6397-01
Chapter 2
rmon buffer
To enter the RMON buffer configuration subcommand mode, and then configure RMON buffers, use the
rmon buffer command. To remove RMON buffer configurations, use the no form of this command.
rmon buffer
no rmon buffer 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the RMON buffer configuration subcommand mode, the following commands are
available:
capture-slice bytes(Optional) Sets the capture slice size. Default is 500 bytes.
download-slice bytes(Optional) Sets the download slice size. Default is 500 bytes.
exitSaves changes and exits from the subcommand mode; see the exit command section.
full-action lock | wrap(Optional) Sets full action type to lock or wrap. Default is lock when full
(lock).
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-111
Chapter 2
rmon buffer
Related Commands
2-112
OL-6397-01
Chapter 2
rmon channel
To enter the RMON channel subcommand mode, and then configure RMON channel collections, use the
rmon channel command. To remove RMON channel configurations use the no form of this command.
rmon channel
no rmon channel 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the RMON channel configuration subcommand mode, the following commands are
available:
accept-type failed | matched(Optional) Sets the accept type to either failed or matched. Default
is matched.
data-control off | on(Optional) Turns the capture channel off or on. Default is on.
event-status always | ready(Optional) Sets the event status to either always or ready.
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-113
Chapter 2
rmon channel
?
accept-type
cancel
data-control
data-source
description
event-status
exit
help
index
match-event
off-event
on-event
owner
display help
set accept type
discard changes and exit from subcommand mode
set capture channel mode
set data source (*)
set description
set event status
exit from subcommand mode
display help
set index
set match-event index
set off-event index
set on-event index
set owner string
Related Commands
2-114
OL-6397-01
Chapter 2
rmon filter
To enter the RMON filter subcommand mode, and then configure RMON filters, use the rmon filter
command. To remove RMON filter configurations use the no form of this command.
rmon filter
no rmon filter 1-65535
Syntax Description
1-65535
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the RMON filter configuration subcommand mode, the following commands are
available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
Note
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
pd-data-index number(Optional) Sets the protocol directory data local index. Default is 0.
2-115
Chapter 2
rmon filter
Examples
Related Commands
2-116
OL-6397-01
22
Chapter 2
rmwebusers
To remove all web users from the local web user database, use the rmwebusers command.
rmwebusers
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to remove web users from the local web user database:
root@localhost.cisco.com# rmwebusers
WARNING:Doing this will stop the web server and remove
all locally defined web users from web user database.
Are you sure you want to continue (y/n) [n]? y
Disabling HTTP server...
Successfully disabled HTTP server.
All locally defined web users have been
removed from web user database.
root@localhost.cisco.com#
Related Commands
show web-users
2-117
Chapter 2
show access-log
show access-log
To display the web access log, use the show access-log command.
show access-log
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-118
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the NAM system event alarms:
Related Commands
alarm event
alarm mib
alarm voice
2-119
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the NAM system event alarms:
root@nam# show alarm
Index:
Polling interval:
Variable:
Sample type:
Startup:
Rising threshold:
Falling threshold:
Rising event index:
Falling event index:
Owner:
mib 4800
4800
60 secs
nlHostInPkts.1.0.1.4.172.20.98.129
Absolute
Rising & falling
50 Pkts
40 Pkts
3816
3816
LocalMgr
Related Commands
alarm event
alarm mib
alarm voice
2-120
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
This command is specific to the NAM software release running on network modules in the Cisco 2600,
3600, and 3700 routers.
Examples
This example shows how to display the NAM system event alarms:
root@nam# show
SCCP:
Jitter
Packet
Jitter
Packet
alarm voice
alarm:
lost alarm:
threshold:
lost threshold:
Disabled
Disabled
30 msecs
5%
Jitter
Packet
Jitter
Packet
alarm:
lost alarm:
threshold:
lost threshold:
Disabled
Disabled
150 msecs
5%
Jitter
Packet
Jitter
Packet
root@nam#
alarm:
lost alarm:
threshold:
lost threshold:
Disabled
Disabled
30 msecs
5%
H.323:
MGCP:
Related Commands
alarm event
alarm mib
alarm voice
2-121
Chapter 2
Syntax Description
group-name
Defaults
Command Modes
Command mode
Examples
2-122
OL-6397-01
Chapter 2
2-123
Chapter 2
- sccp
16.1.0.0.1.0.0.8.0.0.0.0.6.0.0.7.208.4.0.1.0.0
Related Commands
application group
2-124
OL-6397-01
Chapter 2
show autostart
To display autostart collections, use the show autostart command.
show autostart
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
autostart
2-125
Chapter 2
show bios
show bios
To display BIOS information, use the show bios command.
show bios
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-126
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
cdp enable
cdp hold-time
cdp interval
2-127
Chapter 2
show certificate
show certificate
To display the installed certificate, use the show certificate command.
show certificate
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
show certificate-request
2-128
OL-6397-01
Chapter 2
show certificate-request
To display the certificate-signing requests, use the show certificate-request command.
show certificate-request
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
show certificate
2-129
Chapter 2
show configuration
show configuration
To display the NAM running configuration, use the show configuration command.
show configuration
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
The following configurations are not included in the generated configuration file:
Examples
Reports
CLI users
2-130
OL-6397-01
Chapter 2
refresh-interval 15
graph-bars 10
resolve-hostname enable
exit
!
syslog
mib local enable
mib remote disable
voice local enable
voice remote disable
system debug enable
system local enable
system remote disable
exit
!
alarm voice
protocol H.323
jitter-alarm disable
pkt-loss-alarm disable
jitter-threshold 150
pkt-loss-threshold 5
exit
!
alarm event
index 7763
description Capture Start
cancel
!
alarm mib
index 63547
variable nlHostInPkts.9939.0.1.4.10.0.0.1
interval 60
sample-type absolute
startup-alarm rising
rising-threshold 10
falling-threshold 20
rising-event 63547
falling-event 63547
owner LocalMgr
exit
!
rmon buffer
index 47654
channel-index 22838
full-action lock
capture-slice 1500
download-slice 1500
download-offset 0
size 51200000
owner LocalMgr
exit
!
end
Related Commands
config clear
2-131
Chapter 2
Syntax Description
filter-name
Defaults
Command Modes
Command mode
Examples
Related Commands
custom-filter capture
2-132
OL-6397-01
Chapter 2
Syntax Description
filter-name
Defaults
Command Modes
Command mode
Examples
Related Commands
custom-filter decode
2-133
Chapter 2
show date
show date
To display the current date and time, use the show date command.
show date
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the current date and time:
Root@localhost# show date
Thu Jan 09 09:38:01 2003
Related Commands
show time
time
2-134
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
31645
VoIP
LocalMgr
1
Control index:
Description:
Owner:
Status:
41657
DragonBallZ
LocalMgr
1
Control index:
Description:
Owner:
Status:
47739
NoAggAllTech
LocalMgr
1
2-135
Chapter 2
Syntax Description
profile-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the profiles and their descriptions:
2-136
OL-6397-01
Chapter 2
show entity
To display the serial number and the values of the entity MIB entPhysicalAlias and entPhysicalAssetID,
use the show entity command.
show entity
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
entity alias
entity assetid
2-137
Chapter 2
show hosts
show hosts
To display the hosts entries, use the show hosts command.
show hosts
Syntax Description
Defaults
Command Modes
Command mode
Examples
slot1
slot2
slot3
slot4
slot5
slot6
slot7
slot8
2-138
OL-6397-01
Chapter 2
show ip
To display the NAM IP parameters, use the show ip command.
show ip
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
ip address
ip broadcast
ip gateway
ip host
ip hosts add
ip hosts delete
ip http port
ip http secure generate
ip http server
ip http tacacs+
ip interface
2-139
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the maintenance image import log entries:
Root@localhost# show log config
Related Commands
config clear
show log upgrade
upgrade
2-140
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the maintenance image import log entries:
Root@localhost# show log patch
2005/01/17 21:11 Sucessfully downloaded ftp://guest@namlab-pc1//home/guest/patch
_rpms/nam-app.3-4.cryptoK9.patch.1-0.bin.
2005/01/17 21:11 Patch nam-app.3-4.cryptoK9.patch.1-0.bin signature verified.
2005/01/17 21:11 Successfully applied patch /usr/local/nam/patch/workdir/nam-app
.3-4.cryptoK9.patch.1-0.bin.
Related Commands
config clear
show log upgrade
upgrade
2-141
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the maintenance image upgrade entries:
Root@localhost# show log upgrade
Fri Aug 23 10:32:27 2002 : path: ftp://namlab-pc1/pub/rmon/MP-KPLUS
Fri Aug 23 10:32:27 2002 : file: mp-dev.1-2-0-5.bin
Fri Aug 23 10:32:27 2002 : extn: .gz
Fri Aug 23 10:32:27 2002 : Downloading the image...
Fri Aug 23 10:32:28 2002 : Successfully downloaded the image...
Fri Aug 23 10:32:28 2002 : Uncompressing the image...
Fri Aug 23 10:32:29 2002 : Finished uncompressing the file /tmp/mp-dev.1-2-0-5. bin.gz.
Fri Aug 23 10:32:29 2002 : Successfully uncompressed the image.
Fri Aug 23 10:32:29 2002 : Verifying the image...
Fri Aug 23 10:32:29 2002 : opening file /tmp/mp-dev.1-2-0-5.bin.ver
Fri Aug 23 10:32:30 2002 : Successfully verified the image.
Fri Aug 23 10:32:30 2002 : Partition '/dev/hda1' unmounted.
Fri Aug 23 10:32:30 2002 : Applying the Maintenance image.
Fri Aug 23 10:32:30 2002 : This process may take several minutes...
Fri Aug 23 10:32:30 2002 : Writing mbr...
Fri Aug 23 10:32:30 2002 : Successfully wrote mbr.
Fri Aug 23 10:32:30 2002 : Number of Sectors: 31
Fri Aug 23 10:32:30 2002 : Writing grub and maint image.
Fri Aug 23 10:33:18 2002 : Successfully wrote the maint image.
Fri Aug 23 10:33:18 2002 : Partition '/dev/hda1' mounted.
Fri Aug 23 10:33:18 2002 : Performing post install...
Fri Aug 23 10:33:18 2002 : File /usr/local/nam/falcon_version copied to /mnt/mp
/boot/appl/daughter_card.info.
Fri Aug 23 10:33:18 2002 : Maintenance image upgrade completed successfully.
Related Commands
upgrade
2-142
OL-6397-01
Chapter 2
show memory
To display the installed memory, available memory, and the memory being used by the system, use the
show memory command.
show memory
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
show memory
858 MB
240 MB
617 MB
show bios
2-143
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the address map collection configuration:
Related Commands
monitor addrmap
2-144
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
Related Commands
18880
dataport1
LocalMgr
1
2197
5
15
50
100
200
500
3000
500
monitor art
2-145
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the differential service host collection:
23917
nde-fa0/0
LocalMgr
1
100
16917
32
128
root@nam#
Related Commands
2-146
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the differential service matrix collection:
Related Commands
2-147
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the differential service protocol distribution collection:
Related Commands
2-148
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
Related Commands
2-149
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the Ethernet statistics collection configurations:
Root@localhost#
Control index:
Data source:
Owner:
Status:
Related Commands
monitor etherstats
2-150
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
This command is supported only on the NAM-1 and NAM-2. This command is not supported on the
NM-NAM.
Examples
This example shows how to display the supervisor engine mini-RMON statistics polling on the NAM:
root@localhost.cisco.com# monitor etherstats on-switch
Supervisor mini-rmon statistics collection is enabled.
Related Commands
2-151
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the history collection configurations:
Related Commands
monitor history
2-152
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the host layer host collection configurations:
Related Commands
monitor hlhost
2-153
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the host layer matrix collection configurations:
Related Commands
monitor hlmatrix
2-154
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the host collection configurations:
Related Commands
monitor host
2-155
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
Examples
This example shows how to display the interface statistics collection status:
root@localhost.cisco.com# show monitor ifstats
Supervisor ifstats collection is enabled.
Related Commands
monitor ifstats
2-156
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the matrix collection configurations:
Root@localhost#
Control Index:
Data Source:
Owner:
Status:
Root@localhost#
Related Commands
monitor matrix
2-157
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the current MPLS parse setting:
root@localhost.cisco.com# show monitor mpls
Parsing mpls payload for rmon collections is enabled.
Related Commands
monitor mpls
2-158
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the NBAR collection configuration status:
Root@localhost# show monitor nbar
nbar collection is enabled
Root@localhost#
Related Commands
monitor nbar
2-159
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the protocol distribution collection configurations:
Related Commands
Root@localhost#
Control Index:
Data Source:
Owner:
Status:
Control Index:
Data Source:
Owner:
Status:
Root@localhost#
56899
dataport3
LocalMgr
1
monitor pdist
2-160
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the priority statistics collection configurations:
Root@localhost#
Control Index:
Data Source:
Owner:
Status:
Root@localhost#
Related Commands
monitor priostats
2-161
Chapter 2
Syntax Description
prot-specifiers
Defaults
Command Modes
Command mode
Examples
Displays a specific protocol with the protocol specifier set in the monitor
protocol command.
Related Commands
monitor protocol
2-162
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
monitor protocol
2-163
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the auto-learned protocol settings:
Root@localhost# show monitor protocol auto-learned settings
Protocol auto-learn:
Enabled
Max number of entries:
100
Max tcp port:
6553
Exclude tcp port range: (Not Configured)
Max udp port:
6553
Exclude udp port range: (Not Configured)
Root@localhost#
Related Commands
monitor protocol
2-164
OL-6397-01
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
monitor urlcollection
2-165
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
Related Commands
monitor urlfilter
2-166
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display all of the VLAN statistics collection configurations:
Root@localhost#
Control Index:
Data Source:
Owner:
Status:
Root@localhost#
Related Commands
monitor vlanstats
2-167
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the VLAN statistics collection configuration status:
Root@localhost# show monitor vlanstats on-switch
Supervisor vlanstats collection is enabled.
Root@localhost#
Related Commands
2-168
OL-6397-01
Chapter 2
Syntax Description
protocol
Defaults
Command Modes
Command mode
Usage Guidelines
The Media Gateway Control Protocol (MGCP) option is specific to the Network Analysis Module
(NAM) software release running on network modules in the Cisco 2600, 3600, 3700 routers.
Examples
Enabled
200
200
5
5
Disabled
300
300
5
5Console>
Disabled
150
150
7
7
This example shows how to only display information about the MGCP configuration:
Root@localhost# show monitor voice mgcp
MGCP voice monitoring:
Disabled
Number of phone table rows:
150
Number of call table rows:
150
Number of top packet jitter rows:
7
Number of top packet loss rows:
7
Related Commands
2-169
Chapter 2
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-170
OL-6397-01
Chapter 2
show patches
To display all of the installed patches, use the show patches command.
show patches
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
patch
2-171
Chapter 2
show preferences
show preferences
To display the configured preferences for your screen, use the show preferences command.
show preferences
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
preferences
2-172
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
This example shows how to display the RMON channels and buffers:
Related Commands
rmon buffer
rmon channel
rmon filter
2-173
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
Related Commands
rmon buffer
rmon channel
rmon filter
2-174
OL-6397-01
Chapter 2
Syntax Description
control-index
Defaults
Command Modes
Command mode
Examples
Related Commands
rmon buffer
rmon channel
rmon filter
2-175
Chapter 2
show rxcounters
show rxcounters
To display the RX data counters, use the show rxcounters command.
show rxcounters
Syntax Description
Defaults
Command Modes
Command mode
Examples
2-176
OL-6397-01
Chapter 2
show snmp
To display the SNMP parameters, use the show snmp command.
show snmp
Syntax Description
Defaults
Command Modes
Command mode
Examples
112.10.14.73
SNMPv1: Enabled
SNMPv2C: Enabled
SNMPv3: Disabled
community
community
private
public
trap community
trap community
write
read
public
public
112.10.17.237
112.10.17.244
sysDescr
Network Analysis Module (WS-SVC-NAM-2), Version 3.1(0.12)
Copyright (c) 1999-2003 by cisco Systems, Inc.
sysObjectID
sysContact
sysName
sysLocation
Related Commands
enterprises.9.5.1.3.1.1.2.291
engineer
mynam
top floor
snmp
2-177
Chapter 2
show syslog-settings
show syslog-settings
To display the NAM system log settings, use the show syslog-settings command.
show syslog-settings
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the NAM system log settings:
Root@localhost# show syslog-settings
MIB threshold events:
Local
Voice threshold events: Local
System alerts (debug): Local
Related Commands
syslog
2-178
OL-6397-01
Chapter 2
show system-alerts
To display NAM failures or problems, use the show system-alerts command.
show system-alerts
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
syslog remote-server
2-179
Chapter 2
show tech-support
show tech-support
To display technical support information, use the show tech-support command.
show tech-support
Syntax Description
Defaults
Command Modes
Command mode
Examples
This example shows how to display the NAM technical support information:
Root@localhost# show tech-support
PID TTY
STAT
TIME COMMAND
1 ?
S
0:08 init
2 ?
SW
0:00 [keventd]
3 ?
SWN
0:00 [ksoftirqd_CPU0]
4 ?
SWN
0:00 [ksoftirqd_CPU1]
5 ?
SW
0:00 [kswapd]
6 ?
SW
0:00 [bdflush]
7 ?
SW
0:05 [kupdated]
238 ?
S
0:00 /usr/local/nam/bin/scpd -l -d/var/log/scpd
246 ?
SW
0:10 [kjournald]
474 ?
S
0:01 syslogd -m 0
477 ?
S
0:00 klogd -2
501 ?
S
0:00 /usr/sbin/atd
2-180
OL-6397-01
Chapter 2
show time
To display NAM time zone or time synchronization settings, use the show time command.
show time
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
time
2-181
Chapter 2
show trap-dest
show trap-dest
To display all of the NAM trap destinations, use the show trap-dest command.
show trap-dest [trap-index]
Syntax Description
trap-index
Defaults
Command Modes
Command mode
Examples
Related Commands
trap-dest
2-182
OL-6397-01
Chapter 2
show version
To display the NAM version information, use the show version command.
show version
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
config clear
2-183
Chapter 2
show web-users
show web-users
To display the web user information, use the show web-users command.
show web-users [user-name]
Syntax Description
user-name
Defaults
Command Modes
Command mode
Examples
Related Commands
web-user
2-184
OL-6397-01
Chapter 2
shutdown
To shut down the NAM, use the shutdown command.
shutdown
Syntax Description
Defaults
Command Modes
Command mode
Examples
Related Commands
logout
preferences
exit
2-185
Chapter 2
snmp
snmp
To configure NAM system MIB objects, use the snmp command.
snmp community community-string { ro | rw }
snmp delete community community-string
snmp contact contact-string
snmp location location-string
snmp name name-string
Syntax Description
community community-string
ro | rw
delete community-string
contact contact-string
location location-string
name name-string
Defaults
Command Modes
Command mode
Examples
Related Commands
show snmp
2-186
OL-6397-01
Chapter 2
syslog
To enter the system log subcommand mode, and then configure system logging for the NAM, use the
syslog command.
syslog
Syntax Description
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the system log subcommand mode, the following commands are available:
Examples
exitSaves changes and exits from the subcommand mode; see the exit command section.
mib(Optional) Configures the system log for NAM MIB threshold events, see the syslog mib
command section.
remote-server(Optional) Configures the system log for remote logging, see the syslog
remote-server command section.
system(Optional) Configures the system log for NAM system alerts, see the syslog system
command section.
This example shows how to configure system logging for the NAM:
Root@localhost# syslog
root@localhost.cisco.com(sub-syslog)#
Related Commands
show syslog-settings
2-187
Chapter 2
syslog mib
syslog mib
To capture NAM MIB alarms and send them to the system log, use the syslog mib command from the
syslog subcommand mode.
syslog mib [local enable | disable] [remote enable | disable]
Syntax Description
Defaults
Command Modes
Examples
This example shows how to configure the NAM to capture MIB alarms:
root@localhost# syslog
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@localhost(sub-syslog)# mib local enable
root@localhost(sub-syslog)# exit
NAM syslog settings updated successfully.
root@localhost# show syslog
MIB threshold events:
Local
Voice threshold events: Local
System alerts (info):
Local
Related Commands
alarm mib
alarm voice
show alarm event
show autostart
show syslog-settings
syslog
syslog remote-server
web-user
2-188
OL-6397-01
Chapter 2
syslog remote-server
To capture NAM remote server alarms, use the syslog remote-server command from the syslog
subcommand mode.
syslog remote-server disable | [server1 [server2] [server3] [server4] [server5]
Syntax Description
remote-server
disable
Defaults
Command Modes
Examples
This example shows how to configure the NAM to capture remote server alarms:
Root@localhost<sub-syslog># syslog
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
Root@localhost<sub-syslog># voice remote enable
Root@localhost<sub-syslog># remote-server 172.20.98.136
Root@localhost<sub-syslog># exit
NAM syslog settings updated successfully.
Related Commands
alarm mib
alarm voice
show alarm event
show autostart
show syslog-settings
syslog
syslog remote-server
web-user
2-189
Chapter 2
syslog system
syslog system
To capture NAM system alarms, use the syslog system command from the syslog subcommand mode.
syslog system debug enable | disable local enable | disable remote enable | disable
Syntax Description
Defaults
Command Modes
Examples
This example shows how to configure the NAM to capture system alarms:
Root@localhost# syslog system local enable
Related Commands
alarm mib
alarm voice
show alarm event
show autostart
show syslog-settings
syslog
syslog remote-server
web-user
2-190
OL-6397-01
22
Chapter 2
syslog voice
To configure system logging for voice threshold events from the syslog subcommand mode, use the
syslog voice command.
syslog voice local enable | disable remote enable | disable
Syntax Description
Defaults
Command Modes
Examples
This example shows how to configure the NAM to capture voice alarms:
root@hostname.cisco.com<sub-syslog># syslog voice local enable
root@hostname.cisco.com# show options
ART mib:
Enabled
Voice monitoring:Enabled
root@hostname.cisco.com#
Related Commands
alarm mib
alarm voice
show alarm event
show autostart
show patches
show syslog-settings
syslog remote-server
2-191
Chapter 2
terminal
terminal
To set the number of lines on a screen for this session, use the terminal command.
terminal editor [enable | disable]
terminal length length
terminal mode { 0 | 1}
Syntax Description
length length
mode { 0 | 1}
Defaults
Command Modes
Command mode
Examples
This example shows how to set the number of lines on a sessions screen:
root@localhost# terminal length 24
Terminal length for this session set to 24.
Related Commands
config clear
2-192
OL-6397-01
Chapter 2
time
To enter the time configuration subcommand mode, and then configure NAM system time settings, use
the time command.
time
Syntax Description
Defaults
Command Types
Switch command
Command Modes
Privileged
Usage Guidelines
When you enter the time configuration subcommand mode, the following commands are available:
exitSaves changes and exits from the subcommand mode; see the exit command section.
sync ntp | switch(Optional) Synchronizes the NAM system time with the Network Time Protocol
(NTP) or with the switch.
zoneregion-name [zone-name]Synchronizes the time zone with the NAM for use with NTP.
Examples
This example shows how to configure system time settings on the NAM to synchronizes the time with
the switch:
root@hostname.cisco.com# time
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@hostname.cisco.com(sub-time)# ?
?
- display help
cancel
- discard changes and exit from subcommand mode
exit
- exit from subcommand mode
help
- display help
sync
- synchronize NAM system time with switch or ntp
root@hostname.cisco.com(sub-time)# sync switch
root@hostname.cisco.com(sub-time)# exit
Successfully updated NAM system time settings.
NOTE:You have configured the NAM synchronize time to the switch.
For this change to take effect, set the time from the switch or
reset the NAM.
2-193
Chapter 2
time
This example shows how to configure system time settings on the NAM to synchronize the time with the
NTP:
root@hostname.cisco.com# time
Entering into subcommand mode for this command.
Type 'exit' to come out of this mode.
Type 'cancel' to discard changes and to come out of this mode.
root@hostname.cisco.com(sub-time)# sync ntp ntp01.cisco.com ntp02.cisco.com
root@hostname.cisco.com(sub-time)# exit
Successfully updated NAM system time settings.
root@hostname.cisco.com# show time
NAM synchronize time to:
NTP
NTP server1:
ntp01.cisco.com
NTP server2:
ntp02.cisco.com
Current system time:
Thu Mar 20 09:23:36 GMT 2003
root@hostname.cisco.com#
Related Commands
show time
2-194
OL-6397-01
Chapter 2
traceroute
To trace the route to a network device, use the traceroute command.
traceroute [-I | n | v] [-f first_ttl] [-m max_ttl] [-p port] [-s src_addr] [-t tos] [-w waittime]
destination host name | IP address [packetlen]
Syntax Description
-I
-n
-v
-f first_ttl
(Optional) Sets the initial time-to-live used in the first outgoing packet.
-m max_ttl
-p port
-s src_addr
(Optional) Forces the source address to be an address other than the IP address
of the interface the packet is sent on.
-t tos
-w waittime
(Optional) Sets the time (in seconds) to wait for a response to a probe.
destination
host
name
IP address
packetlen
Defaults
Command Modes
Command mode
Examples
This example shows how to trace a route to a network device named aragon:
root@localhost.cisco.com# traceroute -I -n -v -f first_ttl -p 5 -w 10 aragon 123.34.54.12
root@localhost.cisco.com#
2-195
Chapter 2
trap-dest
trap-dest
To enter the trap destination subcommand mode and create or edit trap destinations on the NAM, use the
trap-dest command. To remove a trap destination entry, use the no form of this command.
trap-dest
no trap-dest [control-index]
Syntax Description
control-index
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the trap destination subcommand mode, the following commands are available:
cancelDiscards changes and exits from the subcommand mode; see the cdp enable command
section.
exitSaves changes and exits from the subcommand mode; see the exit command section.
index index(Optional) Sets the trap index. Range is from 1 to 65535. Default is random.
Note
Examples
The collections that are configured in the CLI will not be visible in the GUI. For collections
that use a GUI screen, you can make them visible in the GUI by using the owner string
LocalMgr.
2-196
OL-6397-01
Chapter 2
index
owner
port
Related Commands
alarm event
alarm mib
alarm voice
show alarm event
show autostart
show trap-dest
2-197
Chapter 2
upgrade
upgrade
To download and install a new maintenance image on the NAM, use the upgrade command.
upgrade ftp://user:passwd@host/full-path/filename
Syntax Description
ftp://user:passwd@host/full-path/filename
Defaults
Command Modes
Command mode.
Examples
This example shows how to download and install a new maintenance image:
Related Commands
show patches
show version
2-198
OL-6397-01
Chapter 2
web-user
To enter the web user configuration subcommand mode, and then configure local web users on the NAM,
use the web-user command. To remove a web user from your configuration, use the no form of this
command.
web-user
no web-user user-name
Syntax Description
user-name
Defaults
Command Modes
Command mode
Usage Guidelines
When you enter the web user subcommand mode, the following commands are available:
Examples
capture enable | disable(Optional) Enables or disables the packet capture and decode privilege.
exitSaves changes and exits from the subcommand mode; see the exit command section.
2-199
Chapter 2
web-user
Related Commands
show web-users
2-200
OL-6397-01
A P P E N D I X
Command
Usage
ip broadcast broadcast-address
ip gateway gateway-address
ip nameserver DNS-server-address1
[DNS-server-address2 [DNS-server-address3]]
ip host host-name
ip domain domain
show ip
show images
show version
passwd
ping address
clear ip
logout
exit
passwd-guest
enable-guest
disable-guest
reset
upgrade-bios
A-1
Appendix A
A-2
OL-6397-01
A P P E N D I X
Acronyms
Table B-1 defines the acronyms used in this publication.
Table B-1
List of Acronyms
Acronym
Expansion
ARP
ART
BGP
BPDU
BSTUN
BVI
CDP
CHAP
CIR
CLI
command-line interface
CMNS
COPS
CoS
class of service
CRC
DIFFSERV
differentiated services
DISL
DLC
DLSw
DNS
DoD
Department of Defense
DoS
denial of service
dot1q
802.1Q
dot1x
802.1x
DRAM
dynamic RAM
DSAP
B-1
Appendix B
Table B-1
Acronyms
Acronym
Expansion
DSCP
DSMON
DTR
EEPROM
EIA
ELAN
EOBC
EOF
end of file
FAT
fsck
FTP
GARP
HSRP
HTTP
IGMP
IGRP
IP
Internet Protocol
IPC
interprocessor communication
IPX
ISL
Inter-Switch Link
ISL VLANs
ISO
LAN
LANE
LAN Emulation
LLC
MAC
MD5
message digest 5
MFD
MGCP
MSFC
MIB
MII
media-independent interface
MLS
Multilayer Switching
MPLS
MRM
MSDP
B-2
OL-6397-01
Appendix B
Acronyms
Table B-1
Acronym
Expansion
MSFC
MTU
NAM
NBP
NDE
NetBIOS
NFFC
NSAP
NTP
NVRAM
nonvolatile RAM
OAM
OID
OSPF
PBD
PBR
policy-based routing
PC
PDU
PFC
PHY
physical sublayer
PIM
PPP
Point-to-Point Protocol
PVLANs
private VLANs
QoS
quality of service
RACL
RADIUS
RAM
random-access memory
RCP
RIF
RMON
ROM
read-only memory
ROMMON
ROM monitor
RP
RPC
RSPAN
remote SPAN
RSVP
ReSerVation Protocol
SAP
B-3
Appendix B
Table B-1
Acronyms
Acronym
Expansion
SCP
SCCP
SDLC
SLCP
SLIP
SNAP
SNMP
SPAN
SSL
STP
SVC
TACACS+
TCP/IP
TFTP
TIA
TopN
TOS
type of service
TLV
type-length-value
TTL
Time To Live
UDP
UTC
VACL
VINES
VLAN
virtual LAN
VMPS
VPN
VTP
WAN
WCCP
WFQ
WRED
XNS
B-4
OL-6397-01
I N D EX
alarm event
2-2
community string
access log
description
clearing
2-14, 2-15
index
2-199
B-1, A-1
2-2
alerts, clearing
2-4
2-14, 2-15
application
map collection
layer
displaying configuration
monitoring
2-144
2-49
2-80
ART
2-196
MIB collection
custom-filter capture
2-22
2-51
aggregate
displaying
2-66
type
2-145
ix
autostart collection
2-135
aggregation
differentiated services
2-24
2-10
available memory
displaying
alarm
2-143
2-4
sample type
displayed graph
2-108
2-6
2-199
2-20
2-22
BIOS information
2-190
displaying
2-6
jitter alarm
2-4
2-4
B
bars
2-4
2-4
2-4
voice
2-2
address
MIB
2-2
2-6
jitter threshold
2-126
2-6
displaying information
2-183, 2-184
broadcast address
setting
2-33
IN-1
Index
bucket size
command
history monitoring
help
2-64
buffer
1-2
modes
1-3
command-line interface
2-111
community string
2-111
download
alarm event
2-2
trap destination
2-111
configuration
2-111
1-1
2-111
2-196
console session
2-111
size
2-16
1-1
control index
RMON buffer
differentiated services
2-111
aggregate
matrix
2-53
2-24
2-55
protocol distribution
statistics
2-61
history monitoring
capture
filters
host monitoring
2-111
displaying information
address map
art
2-11
2-51
2-79
2-13
2-77
2-92
conversations statistics
2-129
protocol monitoring
channel index
2-80
core dump
2-111
retrieving
2-11
2-19
creating
collection
owner
2-49, 2-196
2-12
RMON buffer
2-68, 2-73
monitor
2-184
CDP
messages hold time
matrix monitoring
displaying
2-64
host layer
2-132
trap destinations
2-2
creation mode
2-199
2-25
1-4
2-196
1-4
crypto
certificate signing requests
installed certificates
collections
URL
2-59
Ethernet statistics
2-97
2-57
custom-filter capture
2-88
2-129
2-128
2-22
IN-2
OL-6397-01
Index
destination
trap index
data
2-196
trap owner
custom-filter capture
2-22
custom-filter capture
2-57
host layer
host monitoring
2-53
maximum entries
2-53
owner
2-53
2-51
for statistics
2-79
profile
2-77
2-92
2-134
2-25, 2-136
index
2-53, 2-57
data source
2-133
2-199
2-57
2-57
maximum entries
2-57
statistics collection
2-59
direction
default
custom-filter capture
2-101, 2-103
gateway
password
2-34
help
1-1
2-108
2-31
2-37
displaying
description
alarm event
2-22
display
graph bars
address setting
2-57
2-59
protocol distribution
decode
deleting
filter
2-53
2-55
2-49
2-59
monitor
2-59
2-53
matrix monitoring
2-135
2-59
Ethernet statistics
art
2-24
protocol distribution
address map
2-22
differentiated services
configurations
2-55
statistics
2-22
aggregate
differentiated services
matrix
2-196
destination address
2-20
data source
2-196
2-192
2-181
custom-filter capture
2-22
autostart collections
2-24
2-25
2-44
2-145
2-125
available memory
2-143
BIOS information
2-126
capture filters
2-144
2-132
2-129
IN-3
Index
2-134
decode filters
2-133
voice
differentiated services
configurations
profiles
configuration
access log
2-184
documentation
2-150
2-152
host
conventions
organization
ix
download
offset
2-153
RMON buffer
2-154
maintenance image
2-140
installed
patch software
certificate
patches
RMON buffer
2-143
2-142
editing
2-157
trap destinations
2-141
edit mode
2-161
protocol
configuration
distribution
string
2-28
2-137
2-28
2-28
Ethernet
2-176
statistics
2-177
2-61
2-27
asset ID
MIB
RX data counters
1-4
displaying values
RMON
2-196
entity
alias
channel
2-111
2-140, 2-141
buffers
2-106
2-171
maintenance
image
2-198
2-128
memory
filters
2-111
downloading
2-138
SNMP
2-118
user information
2-137
Ethernet
log
2-169
web
2-135
2-136
entity values
2-167, 2-168
2-178
2-143
2-180
2-142
statistics owner
2-61
Ethernet statistics
2-63
event
alarm
2-165
2-165
2-150
2-2
alarm index
alarms
2-2
IN-4
OL-6397-01
Index
collection owner
2-2
guest
2-2
access
2-191
account
1-1
1-1
MIB
alarm falling event threshold
rising, alarm MIB
exit
2-4
2-4
2-29
H
H.323
entries
2-48, 2-185
2-29
2-29
external port
IP interface
2-95, 2-99
2-46
voice monitoring
voice protocol
2-95, 2-99
2-95, 2-99
2-95, 2-99
2-95, 2-99
2-6
help
commands
failures
alerts
entry
1-2
2-31
history
2-179
falling event
collection configuration
2-4
filter
displaying
2-152
2-20
2-22
name
monitoring
custom-filter capture
2-64
2-22
full
2-64
2-64
2-64
2-64
host
2-111
1-1
collection
configuration
monitoring
gateway
setting
getting help
2-153
2-34
2-155
layer matrix
1-2, 2-31
collection configuration
graph
setting number of bars
2-70
2-66, 2-90
collection configuration
address
2-70
2-108
monitoring
2-68
2-154
2-68
2-35
2-70
IN-5
Index
statistics
deleting hosts
protocol monitoring
2-80
for system
2-68
2-34
2-68
hostname resolution
setting
2-108
hosts
2-35
HTTP
HTTP port
2-35
setting
2-37, 2-138
port setting
2-34
hostname
2-139
gateway
control index
data source
2-37
2-38
2-43
name server
2-38
2-47
2-196
2-53
image upgrading
differentiated services
2-198
importing configurations
IP interface
2-16
ports
2-53
2-46
IP parameters
2-140
2-139
index
alarm
MIB
2-4
alarm event
specifying
jitter
2-2
alarm
1-4
trap destination
2-6
threshold
2-196
2-6
installed
certificate
memory
patches
2-128
2-143
2-171
installing
patch software
internal port
2-106
2-46
levels of access
1-1
2-199
logging
interval
history monitoring
2-64
out
IP
2-188
2-48
adding hosts
2-191
2-36
2-32
2-33
IN-6
OL-6397-01
Index
messages
interval, CDP
maintenance
image
MIB alarms
image upgrade
2-13
2-4, 2-188
mini-RMON
2-198
statistics
mask
2-63
mode
2-20
command
matrix
creation
collection configuration
displaying
edit
2-157
2-55
1-4
1-4
subcommand
control index
for monitoring
2-55
1-3
modes, command
1-3
monitor
2-73
address
data source
2-55
art
2-73
2-49
2-51
1-3
2-55
Ethernet statistics
2-73
2-61
history collections
owner
2-64
MPLS
2-55
monitoring
2-55
maximum
entries, monitor art
2-51
name
maximum calls
H.323 monitoring
2-75
2-73
protocol monitoring
2-95, 2-99
server queries
maximum entries
application layer for host layer matrix monitoring
differentiated services
2-53
2-66
2-68
NetFlow devices
2-101, 2-103
network device
route tracing
protocol distribution
2-47
connectivity checking
2-55
2-57
2-80
2-104
matrix
2-12
2-107
2-195
network layer
network layer
2-66, 2-90
2-68
2-66,
2-90
2-68
maximum phones
H.323 monitoring
2-95, 2-99
Network Analysis Module Command Reference
OL-6397-01
IN-7
Index
2-6
parameters
object identifier
2-4
custom-filter capture
2-20
password
offset
custom-filter capture
2-22
outside login
2-30
1-1
setting
2-105
downloading software
owner
strong crypto
2-2
differentiated services
2-53
aggregate
displaying
2-30
2-141
2-55
statistics
SCCP monitoring
2-57
polling interval
2-59
2-97
2-4
ports
2-61
2-64
IP interface
2-46
preferences
host
screen display
2-66, 2-90
2-68
2-70
2-108
priority statistics
collection configuration
2-161
control index
matrix monitoring
2-73
for monitoring
monitor
2-79
data source
address map
2-49
for monitoring
2-51
monitoring
2-79
protocol
2-79
2-79
2-79
problems
distribution monitoring
monitoring
RMON buffer
trap destination
2-77
2-80
alerts
2-179
profile
2-111
differentiated services
2-4
index
2-196
2-25, 2-136
2-25, 2-53
profile index
2-92
differentiated services
matrix
2-55
protocol distribution
statistics
packet
2-57
2-59
prompt
2-106
2-24
protocol distribution
art
default
patch
matrix
2-139
2-199
2-6
guest account
root account
1-1
1-1
IN-8
OL-6397-01
Index
protocol
resolution
2-80
2-80
monitor art
2-22
reboot
2-110
rising event
2-77
2-77
2-4
2-57
2-4
RMON
2-77
buffer
2-77
collection
2-80
size
2-80
1-4, 2-111
2-111
channel
2-80
specifier
collection
protocol monitoring
filters
2-80
2-113
2-80
statistics polling
root account
custom-filter capture
See also OID
2-19
2-57
monitoring
2-160
2-52
restart
distribution
control index
2-51
2-108
response time
directory entries
monitoring
2-16
2-111
2-63
1-1
route
2-20
tracing
2-195
rows
read-only access
guest and root access
displaying
2-176
2-110
shutdown
2-110
related documentation
ix
remote
sample type
2-189
2-101, 2-103
2-4
SCCP
enabling and disabling monitoring
removing
alarms
2-130
RX data counters
1-1
reboot
restart
2-108
2-2
web users
2-199
2-97
2-97
2-97
IN-9
Index
differentiated services
2-97
Ethernet
2-97
2-61
VLAN monitoring
2-97
2-59
2-92
voice protocol
2-6
voice statistics
2-97
voice monitoring
screen display
mini-RMON
2-108
2-108
session
specifying terminal display configuration
2-192
2-30
subcommand mode
1-3
2-110
2-193
2-190
2-185
clearing alerts
2-97
2-33
2-14, 2-15
configuration privilege
web user
2-177
SNMP
2-199
devices, configuring
2-186
parameters, displaying
software patch
2-20
system
2-185
shutting down
2-34
2-35
IP address
2-177
setting
2-106
startup alarm
2-32
log
configuring
2-4
statistics
2-187
control index
2-188
differentiated services
VLAN monitoring
settings
2-59
log settings
2-191
2-178
name server
2-59
entries setting
2-92
differentiated services
2-59
2-189
2-178
voice events
2-92
data source
Ethernet
2-20
reboot
2-63
status
secure server
shut down
2-97
statistics polling
preferences
setup
2-59
system memory
2-47
2-143
2-63
Ethernet monitoring
data source
2-61
monitoring Ethernet
2-92
owner
tabular screens
row display
2-108
TACACS+
Network Analysis Module Command Reference
IN-10
OL-6397-01
Index
upgrade
2-44
2-44
collections
terminal setting
user name
2-4
2-6
2-199
V
version information
2-6
2-4
VLAN
configuration
2-183
virtual LAN
See VLAN
time
setting
2-88
2-192
threshold
jitter, alarm voice
2-167, 2-168
2-167, 2-168
2-193
2-52
synchronization settings
displaying
2-181
zone settings
2-181
alarm
SCCP monitoring
2-97
2-92
2-6
2-169
H.323 monitoring
2-95, 2-99
H.323 monitoring
SCCP monitoring
2-97
monitoring
tracing
2-95, 2-99
2-97
2-6
configuration
2-195
protocol H.323
2-6
2-6
protocol SCCP
community string
destinations
2-196
2-182
See SCCP
threshold events
2-196
owner
2-167, 2-168
voice
2-95, 2-99
IP address
2-92
collection configuration
monitoring
H.323 monitoring
index
2-92
statistics
2-181
trap
2-198
URL
2-180
rising event
2-142
maintenance image
2-44
log entries
logging
2-191
2-196
2-196
UDP port
2-196
web user
UDP port
trap destination
2-118
2-199
2-199
2-196
Network Analysis Module Command Reference
OL-6397-01
IN-11
Index
alarm privilege
2-199
collection privilege
configuring
2-199
decode privilege
information
2-199
2-199
2-184
packet capture
2-199
2-199
IN-12
OL-6397-01