Network Analysis Module Command Reference Guide, 3.6
M-N Commands
Downloads: This chapterpdf (PDF - 390.0KB) The complete bookPDF (PDF - 2.52MB) | Feedback

2e-2

Table Of Contents

logout

monitor addrmap

monitor art

monitor diffserv host

monitor diffserv matrix

monitor diffserv pdist

monitor diffserv stats

monitor etherstats

monitor etherstats on-switch

monitor history

monitor hlhost

monitor hlmatrix

monitor host

monitor ifstats

monitor interface

monitor matrix

monitor nbar

monitor pdist

monitor priostats

monitor protocol

monitor protocol auto-learned

monitor protocol auto-learned max-entry

monitor protocol auto-learned tcp exclude

monitor protocol auto-learned tcp max-port

monitor protocol auto-learned udp exclude

monitor protocol auto-learned udp max-port

monitor rtp-stream enable

monitor rtp-stream filter

monitor rtp-stream max-entry

monitor rtp-stream pkt-loss-alarm

monitor urlcollection

monitor urlfilter

monitor vlanstats

monitor vlanstats on-switch

monitor voice h.323

monitor voice mgcp

monitor voice sccp

monitor voice sip

mpls data-source label

mpls data-source vc

mpls data-source vrf

netflow data-source


2e-2

logout

To log out of the system, use the logout command.

logout

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to log out of the NAM:

root@localhost# logout

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the address map collection submode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default if random.

data-source data-source—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure address map collections:

root@localhost.cisco.com# monitor addrmap
     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-addrmap)# data-source vlan1
root@localhost.cisco.com(sub-monitor-addrmap)# exit
     Successfully created an addrmap collection.
root@localhost.cisco.com# show monitor addrmap
    Control index:                65465
    Data source:                  vlan1
    Owner is                      monitor
root@localhost.cisco.com# no monitor addrmap 65465
    Successfully removed the addrmap collection.

Related Commands

show monitor addrmap

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the ART MIB collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string— Specifies the collection data source.

exit—Saves 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.

owner string—(Optional) Specifies the collection owner. Default is monitor.


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-time1int—(Optional) Specifies the collection response time of 1 millisecond. Range is from 0 to 2147483647 (milliseconds). Default is 5 milliseconds.

rsp-time2 int—(Optional) Specifies the collection response time of 1 millisecond. Range is from 0 to 2147483647 (milliseconds). Default is 15 milliseconds.

rsp-time3int—(Optional) Specifies the collection response time of 1 millisecond. Range is from 0 to 2147483647 (milliseconds). Default is 50 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.

rsp-timeout int—(Optional) Specifies the collection response time timeout in milliseconds. Range is from 0 to 2147483647 (milliseconds). Default is 3000 milliseconds.

time-remaining seconds—(Optional) Specifies the time remaining in seconds. Range is from 1 to 86400 (seconds). Default is 1800 milliseconds.

Examples

This example shows how to monitor ART MIB collections:

root@localhost.cisco.com# monitor art
     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-art)# data-source vlan1 
root@localhost.cisco.com(sub-monitor-art)# exit 
     Successfully created an art collection.

root@localhost.cisco.com# show monitor art
     Control index:                33060
     Data source:                  vlan1
     Owner is                      monitor
     Status:                       1
     Time remaining:               1707
     Response time 1:              5
     Response time 2:              15
     Response time 3:              50
     Response time 4:              100
     Response time 5:              200
     Response time 6:              500
     Response timeout:             3000
     Maximum entries:              500
     Status:                       1              

root@localhost.cisco.com# no monitor art 33060
     Successfully removed the art collection.

Related Commands

show monitor art

monitor diffserv host

To enter the differentiated services host collection configuration subcommand mode, and then configure the differentiated services host collections, use the monitor diffserv host command. To remove the differentiated services host collections, use the no form of this command.

monitor diffserv host

no monitor diffserv host control-index

Syntax Description

control-index

Specifies the control index. The control index range is from 1 to 65535.

Note If the control-index value is not specified for the monitor diffserv host, monitor diffserv matrix, monitor diffserv pdist, and monitor diffserv stats commands, the command defaults to the index of the first aggregate created using the diffserv aggregate command.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the differentiated services host collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

ipv4-prefix-len ipv4-prefix-length—(Optional) Sets the IP version 4 prefix length. Default is 32.

ipv6-prefix-len ipv6-prefix-length—(Optional) Sets the IP version 6 prefix length. Default is 128.

max-entries number—(Optional) Specifies the maximum differentiated services maximum entries. Range is from 1 to 65535. Default is -1.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.


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."


profile-index profile-index—(Optional) Specifies the differentiated services profile index. Range is from 1 to 65535. Default is the first profile index that exists.

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

monitor diffserv host
show monitor diffserv host

monitor diffserv matrix

To enter the differentiated services matrix collection configuration subcommand mode, and then configure the differentiated services matrix collections, use the monitor diffserv matrix command. To remove the differentiated services matrix collections, use the no form of this command.

monitor diffserv matrix

no monitor diffserv matrix control-index

Syntax Description

control-index

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the differentiated services matrix collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

max-entries number—(Optional) Specifies the maximum differentiated services maximum entries. Range is from 1 to 65535. Default is -1.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.


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."


profile-index profile-index—(Optional) Specifies the collection profile index. Range is from 1 to 65535. Default is the first profile index that exists.

Examples

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

monitor diffserv matrix
show monitor diffserv host

monitor diffserv pdist

To enter the differentiated services protocol distribution collection configuration subcommand mode, and then configure the differentiated services protocol distribution collections, use the monitor diffserv pdist command. To remove the differentiated services protocol distribution collections, use the no form of this command.

monitor diffserv pdist

no monitor diffserv pdist control-index

Syntax Description

control-index

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the differentiated services protocol distribution collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

max-entries number—(Optional) Specifies the maximum differentiated services maximum entries. Range is from 1 to 65535. Default is 1.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.


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."


profile-index profile-index—(Optional) Specifies the profile index. Range is from 1 to 65535. Default is the first profile index that exists.

Examples

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 
root@localhost.cisco.com(sub-monitor-diffserv-pdist)# owner monitor 
root@localhost.cisco.com(sub-monitor-diffserv-pdist)# exit 
Successfully created a diffserv pdist collection.
root@localhost.cisco.com# show monitor diffserv pdist
Control index:                61188
Data source:                  allspan
Owner:                        monitor
Status:                       1
Max entries:                  Max possible
Profile index:                31645

root@localhost.cisco.com# no monitor diffserv pdist 61188
Successfully removed the diffserv pdist collection. 

Related Commands

show monitor pdist

monitor diffserv stats

To enter the differentiated services statistics collection configuration subcommand mode, and then configure the differentiated services statistics collections, use the monitor diffserv stats command. To remove the differentiated services statistics collections, use the no form of this command.

monitor diffserv stats

no monitor diffserv stats control-index

Syntax Description

control-index

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Monitor differentiated services command mode

Usage Guidelines

When you enter the differentiated services statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.


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."


profile-index profile-index—(Optional) Specifies the profile index. Range is from 1 to 65535. Default is the first profile index that exists.

Examples

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
Owner:                        monitor
Status:                       1
Profile index:                23723
root@localhost.cisco.com# no monitor diffserv stats 42204
Successfully removed the diffserv stats collection.

Related Commands

show monitor diffserv host

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor Ethernet statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index—(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string—(Optional) Specifies the collection owner. Default is monitor.

Examples

This example shows how to configure Ethernet statistics collections:

root@localhost.cisco.com# monitor etherstats
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-etherstats)# control-index 15 
root@localhost.cisco.com(sub-monitor-etherstats)# data-source vlan1 
root@localhost.cisco.com(sub-monitor-etherstats)# exit 
Successfully created a etherstats collection.
root@localhost.cisco.com# show monitor etherstats 15
Control index:                15
Data source:                  vlan1
Owner:                        monitor
Status:                       1

root@localhost.cisco.com# no monitor etherstats 15
Successfully removed the etherstats collection.

Related Commands

monitor etherstats on-switch
show monitor etherstats

monitor etherstats on-switch

To enable the supervisor engine mini-RMON statistics polling on the NAM, use the monitor etherstats on-switch command. To disable the supervisor engine mini-RMON statistics polling on the NAM, use the no form of this command.

monitor etherstats on-switch

no monitor etherstats on-switch

Syntax Description

This command has no arguments or keywords

Defaults

The control index is random.

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

show monitor etherstats on-switch

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor history collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

buckets number—(Optional) Specifies the bucket size. Range is from 1 to 65535. Default is 50.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

interval seconds—(Optional) Interval range is from 1 to 3600 (seconds). Default is 1800.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.

Examples

This example shows how to configure a history collection:

root@localhost.cisco.com# monitor history
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-history)# control-index 5 
root@localhost.cisco.com(sub-monitor-history)# interval 5 
root@localhost.cisco.com(sub-monitor-history)# owner test 
root@localhost.cisco.com(sub-monitor-history)# buckets 100 
root@localhost.cisco.com(sub-monitor-history)# data-source allspan 
root@localhost.cisco.com(sub-monitor-history)# exit 
Successfully created a history collection.
root@localhost.cisco.com# show monitor history 5
Control index:                5
Data source:                  allspan
Owner:                        test
Status:                       1
Buckets:                      100
Interval:                     5

root@localhost.cisco.com# no monitor history 5
Successfully removed the history collection.

Related Commands

show monitor history

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor host layer host collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

al-max max-entries—(Optional) Specifies the maximum entries for the application layer. Range is from-1 to 2147483647. Default is -1.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves 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.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure a host layer host collection:

root@localhost.cisco.com# monitor hlhost
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-hlhost)# al-max 200 
root@localhost.cisco.com(sub-monitor-hlhost)# nl-max 200 
root@localhost.cisco.com(sub-monitor-hlhost)# control-index 59 
root@localhost.cisco.com(sub-monitor-hlhost)# owner test 
root@localhost.cisco.com(sub-monitor-hlhost)# data-source allspan 
root@localhost.cisco.com(sub-monitor-hlhost)# exit 
Successfully created a hlhost collection.
root@localhost.cisco.com# show monitor hlhost
Control index:                59
Data source:                  allspan
Owner:                        test
Status:                       1
Network layer max entries:    200
Application layer max entries:200

root@localhost.cisco.com# no monitor hlhost 59
Successfully removed the hlhost collection.

Related Commands

show monitor hlhost

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor host layer matrix collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

al-max max-entries—(Optional) Specifies the maximum entries for the application layer. Range is from-1 to 2147483647. Default is -1.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves 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.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure host layer matrix collections:

root@localhost.cisco.com# monitor hlmatrix
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-hlmatrix)# control-index 15 
root@localhost.cisco.com(sub-monitor-hlmatrix)# data-source vlan1 
root@localhost.cisco.com(sub-monitor-hlmatrix)# al-max 15 
root@localhost.cisco.com(sub-monitor-hlmatrix)# nl-max 15 
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

show monitor hlmatrix

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor host collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure host collections:

root@localhost.cisco.com# monitor 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-host)# data-source allspan 
root@localhost.cisco.com(sub-monitor-host)# exit 
Successfully created a host collection.
root@localhost.cisco.com# show monitor host
Control index:                16850
Data source:                  allspan
Owner:                        monitor
Status:                       1

root@localhost.cisco.com# no monitor host 16850
Successfully removed the host collection.

Related Commands

show monitor host

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

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

This command is supported only on the NM-NAM.

Examples

This example shows how to enable router interface statistics collection:

root@localhost.cisco.com# monitor ifstats
Successfully enable ifstats collection.
root@localhost.cisco.com# no monitor ifstats
Successfully disable ifstats collection.

Related Commands

show monitor ifstats

monitor interface

To obtain more network traffic analysis GUI detail about the traffic entering or leaving the access router interface, use the monitor wan-interface command. To disable the interface statistics detail, use the no form of this command.

monitor interface if-index

no monitor interface if-index

Syntax Description

if-index

Specifies the SNMP interface index of the router interface.


Defaults

This command has not default settings.

Command Modes

Command mode

Usage Guidelines

This command is supported only on the NM-NAM only.

Examples

This example shows how to increase the detail in the interface traffic display:

root@namlab-jet5.cisco.com# monitor interface 24
Successfully enabled wan monitoring on interface ifIndex(24).
root@namlab-jet5.cisco.com#

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor matrix collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure monitor matrix collections:

root@localhost.cisco.com# monitor 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-matrix)# data-source allspan 
root@localhost.cisco.com(sub-monitor-matrix)# owner test 
root@localhost.cisco.com(sub-monitor-matrix)# control-index 5 
root@localhost.cisco.com(sub-monitor-matrix)# exit 
Successfully created a matrix collection.
root@localhost.cisco.com# show monitor matrix 5
Control index:                5
Data source:                  allspan
Owner:                        test
Status:                       1

root@localhost.cisco.com# no monitor matrix 5
Successfully removed the matrix collection.

Related Commands

show monitor matrix

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

This command has no arguments or keywords.

Defaults

This command has no defaults.

Command Modes

Command mode

Usage Guidelines

The NBAR-PD-MIB must be present to enable the collection of statistical information.

The device using the command determines where statistics are polled from as follows:

The NM-NAM statistics are polled from the router.

The NAM-1 or NAM-2 statistics are polled from the supervisor engine.

Examples

This example shows how to enable NBAR statistics polling:

root@localhost.cisco.com# monitor nbar
Successful enable nbar collection.
root@localhost.cisco.com# no monitor nbar
Successfully disable nbar collection.

This example shows how to display NBAR statistics polling:

root@localhost.cisco.com# show monitor nbar
nbar collection enabled

Related Commands

show monitor nbar

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor protocol distribution collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure monitor protocol distribution collections:

root@localhost.cisco.com# monitor 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-pdist)# data-source vlan1 
root@localhost.cisco.com(sub-monitor-pdist)# exit 
Successfully created a pdist collection.
root@localhost.cisco.com# show monitor pdist
Control index:                44272
Data source:                  vlan1
Owner:                        monitor
Status:                       1

root@localhost.cisco.com# no monitor pdist 44272
Successfully removed the pdist collection.

Related Commands

show monitor pdist

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor priority statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.

Examples

This example shows how to configure priority statistics collections:

root@localhost.cisco.com# monitor priostats
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-priostats)# data-source vlan1002 
root@localhost.cisco.com(sub-monitor-priostats)# exit 
Successfully created a prio stats collection.

Related Commands

show monitor priostats

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

Specifies the protocol entry's SNMP object identifier.


Defaults

This command has no default settings.

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-applicableEnables or disables address map statistics or sets the address map as not applicable for this protocol.

cancel—Discards changes and exits from the subcommand mode.

conversations enable | disable | not-applicableEnables or disables conversations statistics or sets the conversations as not applicable for this protocol.

exit—Saves 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 string—Enters the full name of the protocol. The name string can contain multiple words.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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-255—Specifies the number of consecutive TCP or UDP ports included in the protocol.

Examples

This example shows how to configure protocol directory entries:

root@localhost.cisco.com# monitor protocol
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-protocol)# prot-specifier 
12.1.0.0.1.0.0.8.0.0.0.0.17.3.0 .1.0 
root@localhost.cisco.com(sub-monitor-protocol)# host disable 
root@localhost.cisco.com(sub-monitor-protocol)# conversations disable 
root@localhost.cisco.com(sub-monitor-protocol)# exit 
Successfully updated the protocol directory entry.
root@localhost.cisco.com# show monitor protocol 12.1.0.0.1.0.0.8.0.0.0.0.17.3 .0.1.0 
w-ether2.ip.udp
  Protocol specifier:12.1.0.0.1.0.0.8.0.0.0.0.17.3.0.1.0
  Address map stats: N/A
  Host stats:        Disabled
  Conversation stats:Disabled
  ART stats:         N/A

root@localhost.cisco.com# no monitor protocol 12.1.0.0.1.0.0.8.0.0.0.0.17.3.0 .1.0
Successfully removed the protocol directory entry.
root@localhost.cisco.com# monitor protocol
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-protocol)# prot-specifier 
12.1.0.0.1.0.0.8.0.0.0.0.17.3.0 .1.0 
root@localhost.cisco.com(sub-monitor-protocol)# host enable 
root@localhost.cisco.com(sub-monitor-protocol)# addressmap not-applicable 
root@localhost.cisco.com(sub-monitor-protocol)# conversations enable 
root@localhost.cisco.com(sub-monitor-protocol)# art disable 
root@localhost.cisco.com(sub-monitor-protocol)# exit 
Successfully created a protocol directory entry.
root@localhost.cisco.com# show monitor protocol

  Protocol specifier:12.1.0.0.1.0.0.8.0.0.0.0.17.3.0.1.0
  Address map stats: N/A
  Host stats:        Enabled
  Conversation stats:Enabled
  ART stats:         Disabled

Related Commands

show monitor protocol

monitor protocol auto-learned

To enable the automatically learned protocols, use the monitor protocol auto-learned command. To disable automatically learned protocols, use the no form of this command.

monitor protocol auto-learned

no monitor protocol auto-learned

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned

Related Commands

show monitor protocol auto-learned settings

monitor protocol auto-learned max-entry

To set the maximum number of automatically learned protocol entries, use the monitor protocol auto-learned max-entry command. To reset the maximum number of automatically learned protocol entries to the default value, use the no form of this command.

monitor protocol auto-learned max-entry entries

no monitor protocol auto-learned max-entry

Syntax Description

entries

Sets the number of automatic learned protocol entries.


Defaults

100 entries.

Command Modes

Command mode

Examples

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned max-entry 20 

Related Commands

show monitor protocol auto-learned settings

monitor protocol auto-learned tcp exclude

To set the automatically learned protocol feature's TCP port exclusion, use the monitor protocol auto-learned tcp exclude command. To remove the automatically learned protocol feature's TCP port exclusion, use the no form of this command.

monitor protocol auto-learned tcp exclude begin-port | end-port

no monitor protocol auto-learned tcp exclude

Syntax Description

begin-port

Specifies the beginning port for the port exclusion.

end-port

Specifies the ending port for the port exclusion.


Defaults

No TCP port is excluded.

Command Modes

Command mode

Examples

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned tcp exclude 20 50 

Related Commands

show monitor protocol auto-learned settings

monitor protocol auto-learned tcp max-port

To set the maximum number of TCP port values that the automatically learned protocol feature can learn up to, use the monitor protocol auto-learned tcp max-port command. To reset the maximum TCP port value for automatically learned protocols to the default value, use the no form of this command.

monitor protocol auto-learned tcp max-port max-port

no monitor protocol auto-learned max-port

Syntax Description

max-port

Sets the maximum number of ports that the automatically learned protocol feature can learn up to. Ports above this setting are not learned. Range is from 1 to 65535.


Defaults

The maximum number of learned ports is 65535.

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

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned tcp 

root@localhost.cisco.com# monitor protocol auto-learned

Related Commands

show monitor protocol auto-learned settings

monitor protocol auto-learned udp exclude

To set the automatically learned protocol feature's UDP port exclusion, use the monitor protocol auto-learned udp exclude command. To remove the automatically learned protocol feature's UDP port exclusion, use the no form of this command.

monitor protocol auto-learned udp exclude begin-port | end-port

no monitor protocol auto-learned udp exclude

Syntax Description

begin-port

Specifies the beginning port for the port exclusion.

end-port

Specifies the ending port for the port exclusion.


Defaults

No UDP port is excluded.

Command Modes

Command mode

Examples

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned udp exclude 20 50 

Related Commands

show monitor protocol auto-learned settings

monitor protocol auto-learned udp max-port

To set the maximum number of UDP port values that the automatically learned protocol feature can learn up to, use the monitor protocol auto-learned udp max-port command. To reset the maximum UDP port values for automatically learned protocols to the default value, use the no form of this command.

monitor protocol auto-learned udp max-port max-port

no monitor protocol auto-learned max-port

Syntax Description

max-port

Sets the maximum number of ports that the automatically learned protocol feature can learn up to. Ports above this setting are not learned. Range is from 1 to 65535.


Defaults

The maximum number of learned ports is 65535.

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

This example shows how to set protocol automatic learning:

root@localhost.cisco.com# monitor protocol auto-learned udp 

Related Commands

show monitor protocol auto-learned settings

monitor rtp-stream enable

To enable RTP stream monitoring, use the monitor rtp-stream command. To disable RTP stream monitoring, use the no form of this command.

monitor rtp-stream enable

no monitor rtp-stream enable

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to enable RTP stream monitoring:

root@localhost.cisco.com# monitor rtp-stream enable

Related Commands

monitor rtp-stream filter
monitor rtp-stream max-entry
monitor rtp-stream pkt-loss-alarm

monitor rtp-stream filter

To set a RTP stream filtering entry, use the monitor rtp-stream filter command. To remove a RTP stream filtering entry, use the no form of the is command..

monitor rtp-stream filter source-address source-mask dest-address dest-mask

Syntax Description

source-address

Specifies the source address of the RTP stream being filtered.

source-mask

Specifies the subnet mask of the source address of the RTP stream being filtered.

dest-address

Specifies the destination address of the RTP stream being filtered.

dest-mask

Specifies the subnet mask of the RTP stream being filtered.


Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to enable RTP stream filtering:

root@localhost# monitor rtp-stream filter 1.2.3.0 255.255.255.0 4.5.0.0 255.255.0.0

Related Commands

monitor rtp-stream enable
monitor rtp-stream max-entry
monitor rtp-stream pkt-loss-alarm

monitor rtp-stream max-entry

To set the number RTP streams for monitoring, use the monitor rtp-stream max-entry command. To set the max number of RTP streams for monitoring to manufracturing default value (30), use the no form of this command.

monitor rtp-stream max-entry [max-entries]

no monitor rtp-stream max-entry

Syntax Description

max-entires

Specifies the maximum number of streams you can monitor. Range is from 1 to 100.


Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to enable RTP stream monitoring:

root@localhost.cisco.com# monitor rtp-stream max-entry 50

Related Commands

monitor rtp-stream enable
monitor rtp-stream filter
monitor rtp-stream pkt-loss-alarm

monitor rtp-stream pkt-loss-alarm

To enable alarm for RTP stream packet loss, use the monitor rtp-stream pkt-loss-alarm command. To disable alarm on RTP stream packet loss, use the no form of this command.

monitor rtp-stream pkt-loss-alarm enable threshold

no monitor rtp-stream pkt-loss-alarm

Syntax Description

enable

Enables packet lost monitoring.

threshold

Specifies one of two thresholds in the command. The first threshold is the number of consecutive RTP losses. The second threshold is the packet loss rate in 106 units.


Defaults

This command has no default settings.

Command Modes

Command mode

Examples

This example shows how to enable an alarm for RTP stream monitoring of lost packets:

root@localhost.cisco.com# monitor rtp-stream pkt-loss-alarm 23 44

Related Commands

monitor rtp-stream enable
monitor rtp-stream max-entry

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

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

When you enter the URL collections submode, the following commands are available:

? or help—Displays help; see the "help" command section.

cancel—Discards changes and exits from the subcommand mode; see the "cdp enable" command section.

data-source nam-data-source-nameSpecifies the NAM data source name.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

ignore(Optional) Sets the host, path, and the URL matching argument.

ignore host—Specifies that you ignore or do not ignore the URL's host part when collecting URL collection data.

ignore path—Specifies that you ignore or do not ignore the URL's parth part when collecting URL collection data.

ignore url-arg—Specifies that you ignore or do not ignore the URL's arguments when collecting URL collection data.

ignore enable | disableEnables or disables this command.

match-only string(Optional) Specifies collecting only the URL data that matches the string in the URL.

max-entry 100 | 50 | 1000(Optional) Specifies the maximum of URL collection entries.

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 NAM-1, NAM-2, and NM-NAM.

Examples

This example shows how to configure URL collections:

root@localhost# monitor urlcollections
root@localhost# 

Related Commands

clear access log
show monitor urlcollection

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

Specifies the collection control index. Range is from 1 to 65535.


Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor URL filter subcommand mode, the following commands are available:

?—Displays help.

cancel—Discards changes and exits from the subcommand mode.

control-index control-indexSpecifies the URL entry's control index. Range is from 1 to 65535. Default is random.

description string(Optional) Specifies the URL filter's description string.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

help—Displays help.

host-regexp—Specifies the regular expression for the URL's host.

path-regexpSpecifies the regular expression of the URL's pathr.

protocol-encap—(Optional) Specifies the protocol encapsulation of the HTTP packet.

The clear configuration command removes the URL filters from the configuration. There is no SNMP support for configuring the URL filters.

Examples

This example shows how to configure URL filters:

root@nam# monitor urlfilter
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-monitor-url-filter)# control-index 2
root@nam(sub-monitor-url-filter)# description urlfilter example
root@nam(sub-monitor-url-filter)# host-regexp www.example.com
root@nam(sub-monitor-url-filter)# protocol-encap ipv4
root@nam(sub-monitor-url-filter)# exit
Sucessfully created urlfilter entry.
root@nam# show monitor urlfilter
Description: urlfilter example
    Control index:             2
    Protocol encapsulation:    IPv4
    URL's host string:         www.example.com
    URL's path string:         (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

clear access log
show monitor urlfilter

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

This command has no arguments or keywords.

Defaults

The control index is random.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor VLAN statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

control-index control-index(Optional) Specifies the collection control index. Range is from 1 to 65535. Default is random.

data-source string—Specifies the collection data source.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

owner owner-string(Optional) Specifies the collection owner. Default is monitor.


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."


Examples

This example shows how to configure VLAN statistics collections:

root@localhost.cisco.com# monitor vlanstats
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-vlanstats)#
root@localhost.cisco.com(sub-monitor-vlanstats)# data-source vlan1002 
root@localhost.cisco.com(sub-monitor-vlanstats)# exit 
Successfully created a vlan stats collection.
root@localhost.cisco.com# show monitor vlanstats
Control index:                35955
Data source:                  vlan1002
Owner is                      monitor
Status:                       1

root@localhost.cisco.com# no monitor vlanstats 35955
Successfully removed the vlan stats collection.

Related Commands

show monitor urlcollection

monitor vlanstats on-switch

To configure supervisor engine VLAN statistics collections, use the monitor vlanstats on-switch command. To disable the VLAN statistics collections, use the no form of this command.

monitor vlanstats on-swtich

no monitor vlanstats on-switch

Syntax Description

This command has no arguments or keywords.

Defaults

This command has not default settings.

Command Modes

Command mode

Usage Guidelines

This command is supported only on the NAM-1 and NAM-2 only.

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

show monitor vlanstats on-switch

monitor voice h.323

To enter the H.323 voice collection configuration subcommand mode, and then configure H.323 voice collections, use the monitor voice h.323 command. To disable the H.323 voice collections, use disable in the monitor voice h.323 subcommand mode.

monitor voice h.323

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor voice H.323 statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

disable—Disables H.323 voice collections.

enable—Enables H.323 voice collections.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

max-calls—Specifies the number of call table rows. Range is from 10 to 1000. Default is 200.

max-phones—Specifies the number of phone table rows. Range is from 10 to 1000. Default is 200.

top-jitter-rows—Specifies the number of top jitter rows. Range is from 1 to 20. Default is 5.

top-loss-rows—Specifies the number of top loss rows. Range is from 1 to 20. Default is 5.

Examples

This example shows how to configure H.323 voice collections:

root@localhost.cisco.com# monitor voice h.323
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-voice-h.323)# disable 
root@localhost.cisco.com(sub-monitor-voice-h.323)# exit 
Successfully disabled the h.323 voice collection with changes.
root@localhost.cisco.com# show monitor voice h.323
H.323 voice monitoring:                Disabled
Number of phone table rows:            200
Number of call table rows:             1000
Number of top packet jitter rows:      5
Number of top packet loss rows:        5

Related Commands

monitor voice h.323
show monitor vlanstats

monitor voice mgcp

To enter the Media Gateway Control Protocol (MGCP) collection configuration subcommand mode, and then configure MGCP collections, use the monitor voice mgcp command. To disable MGCP collections, use disable in the monitor voice mgcp subcommand mode.

monitor voice mgcp

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor voice MGCP statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

disable—Disables MGCP collections.

enable—Enables MGCP collections.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

max-calls—Specifies the number of call table rows. Range is from 10 to 1000. Default is 200.

max-phones—Specifies the number of phone table rows. Range is from 10 to 1000. Default is 200.

top-jitter-rows—Specifies the number of top jitter rows. Range is from 1 to 20. Default is 5.

top-loss-rows—Specifies the number of top loss rows. Range is from 1 to 20. Default is 5.

Examples

This example shows how to configure MGCP collections:

root@localhost.cisco.com# monitor voice mgcp
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-voice-mgcp)# disable 
root@localhost.cisco.com(sub-monitor-voice-mgcp)# exit 
Successfully disabled the MGCP collection with changes.
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

monitor voice h.323
show monitor vlanstats

monitor voice sccp

To enter the Skinny Client Control Protocol (SCCP) voice statistics collection configuration subcommand mode, and then configure SCCP voice collection, use the monitor voice sccp command. To disable SCCP voice collection, use disable in the monitor voice sccp subcommand mode.

monitor voice sccp

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor voice SCCP statistics collection subcommand mode, the following commands are available:

cancel—Discards changes and exits from the subcommand mode.

disable—Disables SCCP voice collections.

enable—Enables SCCP voice collections.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

max-calls—Specifies the number of call table rows. Range is from 10 to 1000. Default is 300.

max-phones—Specifies the number of phone table rows. Range is from 10 to 1000. Default is 300.

top-jitter-rows—Specifies the number of top jitter rows. Range is from 1 to 20. Default is 5.

top-loss-rows—Specifies the number of top loss rows. Range is from 1 to 20. Default is 5.

Examples

This example shows how to configure voice SCCP statistics collections:

root@localhost.cisco.com# monitor voice sccp
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-voice-sccp)# top-loss-rows 500 
ERROR:You have specified a number of loss rows which is not valid.
The number of loss rows must be between 1 and 20.
root@localhost.cisco.com(sub-monitor-voice-sccp)# top-loss-rows 20 
root@localhost.cisco.com(sub-monitor-voice-sccp)# top-jitter-rows 20 
root@localhost.cisco.com(sub-monitor-voice-sccp)# exit 
Successfully enabled the sccp voice collection with changes.

root@localhost.cisco.com# show monitor voice sccp
SCCP voice monitoring:                 Enabled
Number of phone table rows:            300
Number of call table rows:             100
Number of top packet jitter rows:      20
Number of top packet loss rows:        20

Related Commands

monitor voice h.323
show monitor vlanstats

monitor voice sip

To enter the Session Initiation Protocol (SIP) voice statistics collection configuration subcommand mode, and then configure SIP voice collection, use the monitor sip command. To disable SIP voice collection, use disable in the monitor sip subcommand mode.

monitor voice sip

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

When you enter the monitor voice SIP statistics collection subcommand mode, the following commands are available:

? or help—Displays help; see the "help" command section.

cancel—Discards changes and exits from the subcommand mode.

disable—Disables SIP voice collections.

exit—Saves changes and exits from the subcommand mode; see the "exit" command section.

enable—Enables SIP voice collections.

max-calls—Specifies the maximum number of rows in the call table. Range is from 10 to 1000. Default is 200.

max-phones—Specifies the maximum number of rows in the phone table. Range is from 10 to 1000. Default is 200.

top-jitter-rows—Specifies the maximum number of rows in the top jitter table. Range is from 1 to 20. Default is 5.

top-loss-rows—Specifies the maximum number of rows in the top percent packet loss table. Range is from 1 to 20. Default is 5.

Examples

This example shows how to configure SIP collections:

root@namlab-kom6.cisco.com# monitor voice sip
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@namlab-kom6.cisco.com(sub-monitor-voice-sip)# enable
root@namlab-kom6.cisco.com(sub-monitor-voice-sip)# max-calls 250
root@namlab-kom6.cisco.com(sub-monitor-voice-sip)# max-phones 500
root@namlab-kom6.cisco.com(sub-monitor-voice-sip)# top-jitter-rows 20
root@namlab-kom6.cisco.com(sub-monitor-voice-sip)# top-loss-rows 20
root@namlab-kom6.cisco.com(sub-monitor-voice-sip)# exit
Successfully enabled the sip voice collection with changes.
root@namlab-kom6.cisco.com# show monitor voice sip
SIP voice monitoring:                  Enabled
Number of phone table rows:             500
Number of call table rows:              250
Number of top packet jitter rows:       20
Number of top packet loss rows:         20

root@namlab-kom6.cisco.com#

Related Commands

show monitor voice

mpls data-source label

To create a NAM MPLS data source specifically interested in a local MPLS label, use this command. (optionally provide a user-meaningful data source name. , use the mpls data-source label command. To remove the MPLS data source, use the no form of this command.

mpls data-source label data-source-value

no mpls data-source label data-source-value

Syntax Description

data-source-value

Specifies a user-meaningful data source value. Range is from 16 to 1048575.


Defaults

LABEL:label in the data source name.

Command Modes

Command mode

Usage Guidelines

Examples

This example shows how to parse set up an MPLS data source on the NAM collect RMON statistics:

root@localhost# mpls data-source label XXXYYY12345
root@localhost#

Related Commands

mpls data-source vc
mpls data-source vrf
show nam data-source

mpls data-source vc

To create a NAM MPLS data source based on an MPLS virtual circuit ID, use the mpls data-source vc command. To remove the MPLS data source, use the no form of this command.

mpls data-source vc vc-id

no mpls data-source vc-id

Syntax Description

vc

Specifies an MPLS data source based on a virtual circuit ID.

vc-id

Specifies the virtual circuit ID. Range is from 1 to 65535.


Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

Examples

This example shows how to parse set up an MPLS data source on the NAM collect RMON statistics:

root@localhost# mpls data-source vc 12345
root@localhost#

Related Commands

mpls data-source vrf
mpls data-source label
show nam data-source

mpls data-source vrf

To create a NAM MPLS data source based on and MPLS VRF name string, use the mpls data-source vrf command. To remove the MPLS data source, use the no form of this command.

mpls data-source vrf vrf-name-string

no mpls data-source vrf-name-string

Syntax Description

vrf

Specifies an MPLS data source based on a virtual rf ID.

vrf-name-string

Specifies the virtual rf ID.


Defaults

This command has no default settings.

Command Modes

Command mode

Usage Guidelines

Examples

This example shows how to parse set up an MPLS data source on the NAM collect RMON statistics:

root@localhost# mpls data-source vrf netflow
root@localhost#

Related Commands

mpls data-source vc
mpls data-source label
show nam data-source

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

Specifies the custom NetFlow data source name.


Defaults

This command has no default settings.

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.

cancel—Discards changes and exits from the subcommand mode; see the "cdp enable" command section.

device (* * * ...)Specifies the NetFlow device's ipV4 address.

exit—Saves 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.

nameSpecifies the NetFlow data source name.

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.

Examples

This example shows how to configure a remote NetFlow device:

root@localhost# netflow device 10.0.0.2
Successfully created a NetFlow device.
root@localhost# 
root@localhost# netflow data-source 
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-netflow-data-source)# device 10.0.0.2
root@localhost(sub-netflow-data-source)# name exampleNetFlow
root@localhost(sub-netflow-data-source)# input 1 2 
root@localhost(sub-netflow-data-source)# output 3 4 5 
root@locaroot(sub-netflow-data-source)# both 22 29
root@locaroot(sub-netflow-data-source)# exit

Related Commands

netflow device