Table Of Contents
monitor
monitor addrmap
monitor art
monitor diffserv
monitor diffserv host
monitor diffserv matrix
monitor diffserv pdist
monitor diffserv stats
monitor etherstats
monitor history
monitor hlhost
monitor hlmatrix
monitor host
monitor matrix
monitor pdist
monitor priostats
monitor protocol
monitor vlanstats
monitor voice
monitor voice h.323
monitor voice sccp
monitor voice mgcp
netflow data-source
netflow device
no
nslookup
22
monitor
To monitor collections, use the monitor command.
monitor [addrmap | art | diffserv | etherstats | history | hlhost | hlmatrix | host | matrix | pdist |
priostats | protocol | vlanstats | voice]
Syntax Description
addrmap
|
(Optional) Enters the address map configuration submode.
|
art
|
(Optional) Enters the art configuration submode.
|
diffserv
|
(Optional) Configures differentiated service collections.
|
etherstats
|
(Optional) Enters the Ethernet statistics configuration submode.
|
history
|
(Optional) Enters the history collection configuration submode.
|
hlhost
|
(Optional) Enters the hlhost collection configuration submode.
|
hlmatrix
|
(Optional) Enters the hlmatrix collection configuration submode.
|
host
|
(Optional) Enters the host collection configuration submode.
|
matrix
|
(Optional) Enters the matrix collection configuration submode.
|
pdist
|
(Optional) Enters the pdist collection configuration submode.
|
priostats
|
(Optional) Enters the priostats collection configuration submode.
|
protocol
|
(Optional) Enters the protocol collection configuration submode.
|
vlanstats
|
(Optional) Enters the vlanstats collection configuration submode.
|
voice
|
(Optional) Configures H.323 and SCCP voice collections.
|
Command Modes
Command mode
Examples
This example shows how to enter the monitor address map configuration submode:
root@localhost# monitor addrmap
root@localhost<sub-monitor-addrmap>#
Related Commands
monitor addrmap
monitor art
monitor diffserv
monitor etherstats
monitor history
monitor hlhost
monitor hlmatrix
monitor host
monitor matrix
monitor pdist
monitor priostats
monitor protocol
monitor vlanstats
monitor voice
no
show monitor addrmap
show monitor art
show monitor etherstats
show monitor history
show monitor hlhost
show monitor hlmatrix
show monitor host
show monitor matrix
show monitor pdist
show monitor priostats
show monitor protocol
show monitor vlanstats
show monitor voice
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor addrmap 65465
Successfully removed the addrmap collection.
Related Commands
monitor
no
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor art 33060
Successfully removed the art collection.
Related Commands
monitor
no
show monitor art
monitor diffserv
To configure monitor differentiated services collections, use the monitor diffserv command. To remove the differentiated services collections, use the no form of this command.
monitor diffserv
no monitor diffserv {host control-index matrix control-index pdist control-index stats
control-index}
Syntax Description
host
|
Configures a differentiated services host collection.
|
control-index
|
Specifies the collection control index. Range is from 1 to 65535.
|
matrix
|
Configures a differentiated services matrix collection.
|
pdist
|
Configures a differentiated services protocol distribution collection.
|
stats
|
Configures a differentiated services statistics collection and enters the statistics collection submode to configure the statistics control and profile index, data source, and owner.
|
Defaults
This command has no default settings.
Command Modes
Monitor command mode
Examples
This example shows how to enter the monitor differentiated services host collections configuration submode:
root@localhost# monitor diffserv
root@localhost# host
root@localhost<sub-monitor-diffserv-host>#
Related Commands
monitor
no
show monitor diffserv
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
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; see the "cancel" command section.
•
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
Max entries: Max possible
root@localhost.cisco.com# no monitor diffserv host 24864
Successfully removed the diffserv host collection.
Related Commands
monitor
monitor diffserv
no
show monitor diffserv
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor diffserv matrix 1269
Successfully removed the diffserv matrix collection.
Related Commands
monitor
monitor diffserv matrix
no
show monitor diffserv
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; see the "cancel" command section.
•
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 pdist 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
Max entries: Max possible
root@localhost.cisco.com# no monitor diffserv pdist 61188
Successfully removed the diffserv pdist collection.
Related Commands
monitor
no
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor diffserv stats 42204
Successfully removed the diffserv stats collection.
Related Commands
monitor
no
show monitor diffserv
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; see the "cancel" command section.
•
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 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
root@localhost.cisco.com# no monitor etherstats 15
Successfully removed the etherstats collection.
Related Commands
monitor
no
show monitor etherstats
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; see the "cancel" command section.
•
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.
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 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
root@localhost.cisco.com# no monitor history 5
Successfully removed the history collection.
Related Commands
monitor
no
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; see the "cancel" command section.
•
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
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
monitor
no
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; see the "cancel" command section.
•
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
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
monitor
no
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor host 16850
Successfully removed the host collection.
Related Commands
monitor
no
show monitor host
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; see the "cancel" command section.
•
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
root@localhost.cisco.com# no monitor matrix 5
Successfully removed the matrix collection.
Related Commands
monitor
no
show monitor matrix
monitor pdist
To enter the protocol distribution collection configuration subcommand mode, and then configure pdist collections, use the monitor pdist command. To remove the pdist 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; see the "cancel" command section.
•