Table Of Contents
22monitor
To monitor collections, use the monitor command.
monitor [addrmap | art | diffserv | etherstats | history | hlhost | hlmatrix | host | matrix | pdist | priostats | protocol | vlanstats | voice]
Syntax Description
Command Modes
Command mode
Examples
This example shows how to enter the monitor address map configuration submode:
root@localhost# monitor addrmaproot@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 voicemonitor 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
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 addrmapEntering 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 vlan1root@localhost.cisco.com(sub-monitor-addrmap)# exitSuccessfully created an addrmap collection.root@localhost.cisco.com# show monitor addrmapControl index: 65465Data source: vlan1Owner is monitorroot@localhost.cisco.com# no monitor addrmap 65465Successfully removed the addrmap collection.Related Commands
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
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 artEntering 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 vlan1root@localhost.cisco.com(sub-monitor-art)# exitSuccessfully created an art collection.root@localhost.cisco.com# show monitor artControl index: 33060Data source: vlan1Owner is monitorStatus: 1Time remaining: 1707Response time 1: 5Response time 2: 15Response time 3: 50Response time 4: 100Response time 5: 200Response time 6: 500Response timeout: 3000Maximum entries: 500Status: 1root@localhost.cisco.com# no monitor art 33060Successfully removed the art collection.Related Commands
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
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# hostroot@localhost<sub-monitor-diffserv-host>#Related Commands
monitor
no
show monitor diffservmonitor 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 For the monitor diffserv host, monitor diffserv matrix, monitor diffserv pdist, and monitor diffserv stats commands, if the control-index value is not specified, 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; 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 hostEntering 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 vlan1root@localhost.cisco.com(sub-monitor-diffserv-host)# exitSuccessfully created a diffserv host collection.root@localhost.cisco.com#root@localhost.cisco.com# show monitor diffserv hostControl index: 24864Data source: vlan1Owner is monitorStatus: 1Max entries: Max possibleProfile index: 23723IPv4 prefix length: 32IPv6 prefix length: 128root@localhost.cisco.com# no monitor diffserv host 24864Successfully removed the diffserv host collection.Related Commands
monitor
monitor diffserv
no
show monitor diffservmonitor 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
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 matrixEntering 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 vlan1root@localhost.cisco.com(sub-monitor-diffserv-matrix)# max-entries 50root@localhost.cisco.com(sub-monitor-diffserv-matrix)# owner testroot@localhost.cisco.com(sub-monitor-diffserv-matrix)# exitSuccessfully created a diffserv matrix collection.root@localhost.cisco.com# show monitor diffserv matrixControl index: 1269Data source: vlan1Owner: testStatus: 1Max entries: 50Profile index: 23723root@localhost.cisco.com# no monitor diffserv matrix 1269Successfully removed the diffserv matrix collection.Related Commands
monitor
monitor diffserv matrix
no
show monitor diffservmonitor 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
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 pdistEntering 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 31645root@localhost.cisco.com(sub-monitor-diffserv-pdist)# data-source allspanroot@localhost.cisco.com(sub-monitor-diffserv-pdist)# owner monitorroot@localhost.cisco.com(sub-monitor-diffserv-pdist)# exitSuccessfully created a diffserv pdist collection.root@localhost.cisco.com# show monitor diffserv pdistControl index: 61188Data source: allspanOwner: monitorStatus: 1Max entries: Max possibleProfile index: 31645root@localhost.cisco.com# no monitor diffserv pdist 61188Successfully removed the diffserv pdist collection.Related Commands
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
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 statsEntering 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 vlan1root@localhost.cisco.com(sub-monitor-diffserv-stats)# exitSuccessfully created a diffserv stats collection.root@localhost.cisco.com# show monitor diffserv statsControl index: 42204Data source: vlan1Owner: monitorStatus: 1Profile index: 23723root@localhost.cisco.com# no monitor diffserv stats 42204Successfully 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
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 etherstatsEntering 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 15root@localhost.cisco.com(sub-monitor-etherstats)# data-source vlan1root@localhost.cisco.com(sub-monitor-etherstats)# exitSuccessfully created a etherstats collection.root@localhost.cisco.com# show monitor etherstats 15Control index: 15Data source: vlan1Owner: monitorStatus: 1root@localhost.cisco.com# no monitor etherstats 15Successfully removed the etherstats collection.Related Commands
monitor
no
show monitor etherstatsmonitor 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
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 historyEntering 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 5root@localhost.cisco.com(sub-monitor-history)# interval 5root@localhost.cisco.com(sub-monitor-history)# owner testroot@localhost.cisco.com(sub-monitor-history)# buckets 100root@localhost.cisco.com(sub-monitor-history)# data-source allspanroot@localhost.cisco.com(sub-monitor-history)# exitSuccessfully created a history collection.root@localhost.cisco.com# show monitor history 5Control index: 5Data source: allspanOwner: testStatus: 1Buckets: 100Interval: 5root@localhost.cisco.com# no monitor history 5Successfully removed the history collection.Related Commands
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
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 hlhostEntering 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 200root@localhost.cisco.com(sub-monitor-hlhost)# nl-max 200root@localhost.cisco.com(sub-monitor-hlhost)# control-index 59root@localhost.cisco.com(sub-monitor-hlhost)# owner testroot@localhost.cisco.com(sub-monitor-hlhost)# data-source allspanroot@localhost.cisco.com(sub-monitor-hlhost)# exitSuccessfully created a hlhost collection.root@localhost.cisco.com# show monitor hlhostControl index: 59Data source: allspanOwner: testStatus: 1Network layer max entries: 200Application layer max entries:200root@localhost.cisco.com# no monitor hlhost 59Successfully removed the hlhost collection.Related Commands
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
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 hlmatrixEntering 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 15root@localhost.cisco.com(sub-monitor-hlmatrix)# data-source vlan1root@localhost.cisco.com(sub-monitor-hlmatrix)# al-max 15root@localhost.cisco.com(sub-monitor-hlmatrix)# nl-max 15root@localhost.cisco.com(sub-monitor-hlmatrix)# exitSuccessfully created a hlmatrix collection.root@localhost.cisco.com# show monitor hlmatrix 15Control index: 15Data source: vlan1Owner: monitorStatus: 1Network layer max entries: 15Application layer max entries:15root@localhost.cisco.com# no monitor hlmatrix 15Successfully removed the hlmatrix collection.Related Commands
monitor
no
show monitor hlmatrixmonitor 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
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 hostEntering 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 allspanroot@localhost.cisco.com(sub-monitor-host)# exitSuccessfully created a host collection.root@localhost.cisco.com# show monitor hostControl index: 16850Data source: allspanOwner: monitorStatus: 1root@localhost.cisco.com# no monitor host 16850Successfully removed the host collection.Related Commands
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
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 matrixEntering 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 allspanroot@localhost.cisco.com(sub-monitor-matrix)# owner testroot@localhost.cisco.com(sub-monitor-matrix)# control-index 5root@localhost.cisco.com(sub-monitor-matrix)# exitSuccessfully created a matrix collection.root@localhost.cisco.com# show monitor matrix 5Control index: 5Data source: allspanOwner: testStatus: 1root@localhost.cisco.com# no monitor matrix 5Successfully removed the matrix collection.Related Commands
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
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.
•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 pdistEntering 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 vlan1root@localhost.cisco.com(sub-monitor-pdist)# exitSuccessfully created a pdist collection.root@localhost.cisco.com# show monitor pdistControl index: 44272Data source: vlan1Owner: monitorStatus: 1root@localhost.cisco.com# no monitor pdist 44272Successfully removed the pdist collection.Related Commands
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
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; 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 priority statistics collections:
root@localhost.cisco.com# monitor priostatsEntering 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 vlan1002root@localhost.cisco.com(sub-monitor-priostats)# exitSuccessfully created a prio stats collection.Related Commands
monitor
no
show monitor priostatsmonitor 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 | auto-learned
Syntax Description
prot-specifier
Specifies the collection protocol specifier.
auto-learned
Specifies automatic learning for the protocol.
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:
•cancel—Discards changes and exits from the subcommand mode; see the "cancel" command section.
•addressmap enable | disable | not-applicable— Enables or disables address map statistics or sets the address map as not applicable for this protocol.
•art enable | disable | not-applicable— Enables or disables art statistics or sets the art statistics as not applicable for this protocol.
•conversations enable | disable | not-applicable— Enables 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.
•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 prot-specifier—Specifies the collection protocol specifier.
Examples
This example shows how to configure protocol directory entries:
root@localhost.cisco.com# monitor protocolEntering 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.0root@localhost.cisco.com(sub-monitor-protocol)# host disableroot@localhost.cisco.com(sub-monitor-protocol)# conversations disableroot@localhost.cisco.com(sub-monitor-protocol)# exitSuccessfully 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.0w-ether2.ip.udpProtocol specifier:12.1.0.0.1.0.0.8.0.0.0.0.17.3.0.1.0Address map stats: N/AHost stats: DisabledConversation stats:DisabledART stats: N/Aroot@localhost.cisco.com# no monitor protocol 12.1.0.0.1.0.0.8.0.0.0.0.17.3.0 .1.0Successfully removed the protocol directory entry.root@localhost.cisco.com# monitor protocolEntering 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.0root@localhost.cisco.com(sub-monitor-protocol)# host enableroot@localhost.cisco.com(sub-monitor-protocol)# addressmap not-applicableroot@localhost.cisco.com(sub-monitor-protocol)# conversations enableroot@localhost.cisco.com(sub-monitor-protocol)# art disableroot@localhost.cisco.com(sub-monitor-protocol)# exitSuccessfully created a protocol directory entry.root@localhost.cisco.com# show monitor protocolProtocol specifier:12.1.0.0.1.0.0.8.0.0.0.0.17.3.0.1.0Address map stats: N/AHost stats: EnabledConversation stats:EnabledART stats: DisabledRelated Commands
monitor
no
show monitor protocolmonitor vlanstats
To enter the VLAN statistics collection configuration subcommand mode, and then configure VLAN statistics collections, use the monitor vlanstats command. To remove the VLAN statistics collections, use the no form of this command.
monitor vlanstats
no monitor vlanstats control-index
Syntax Description
Defaults
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; 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 VLAN statistics collections:
root@localhost.cisco.com# monitor vlanstatsEntering 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 vlan1002root@localhost.cisco.com(sub-monitor-vlanstats)# exitSuccessfully created a vlan stats collection.root@localhost.cisco.com# show monitor vlanstatsControl index: 35955Data source: vlan1002Owner is monitorStatus: 1root@localhost.cisco.com# no monitor vlanstats 35955Successfully removed the vlan stats collection.Related Commands
monitor
no
show monitor vlanstatsmonitor voice
To configure monitor voice statistics collections, use the monitor voice command. To remove the voice collection, use the no form of this command.
monitor voice [h.323 | sccp | mgcp]
no monitor voice h.323 | sccp | mgcp
Syntax Description
Defaults
This command has no default settings.
Command Modes
Command mode
Examples
This example shows how to enter the monitor voice H.323 statistics collection submode:
root@localhost# monitor voice h.323root@localhost<sub-monitor-voice-h.323>#Related Commands
monitor
monitor voice h.323
monitor voice mgcp
monitor voice sccp
show monitor voicemonitor 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 sub-command 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; see the "cancel" command section.
•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.323Entering 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)# disableroot@localhost.cisco.com(sub-monitor-voice-h.323)# exitSuccessfully disabled the h.323 voice collection with changes.root@localhost.cisco.com# show monitor voice h.323H.323 voice monitoring: DisabledNumber of phone table rows: 200Number of call table rows: 1000Number of top packet jitter rows: 5Number of top packet loss rows: 5Related Commands
monitor
monitor voice
show monitor voicemonitor 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 sub-command 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; see the "cancel" command section.
•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 sccpEntering 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 500ERROR: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 20root@localhost.cisco.com(sub-monitor-voice-sccp)# top-jitter-rows 20root@localhost.cisco.com(sub-monitor-voice-sccp)# exitSuccessfully enabled the sccp voice collection with changes.root@localhost.cisco.com# show monitor voice sccpSCCP voice monitoring: EnabledNumber of phone table rows: 300Number of call table rows: 100Number of top packet jitter rows: 20Number of top packet loss rows: 20Related Commands
monitor
monitor voice
show monitor voicemonitor voice mgcp
To enter the 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 sub-command 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; see the "cancel" command section.
•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 mgcpEntering 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)# disableroot@localhost.cisco.com(sub-monitor-voice-mgcp)# exitSuccessfully disabled the MGCP collection with changes.Root@localhost# show monitor voice mgcpMGCP voice monitoring: DisabledNumber of phone table rows: 150Number of call table rows: 150Number of top packet jitter rows: 7Number of top packet loss rows: 7Related Commands
monitor
monitor voice
show monitor voicenetflow 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
Defaults
This command has no default settings.
Command Modes
Command mode
Usage Guidelines
When you enter the Netflow data source submode, 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 "cancel" 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.
•name—Specifies 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.2Successfully created a Netflow device.root@localhost#root@localhost# netflow data-sourceEntering 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.2root@localhost(sub-netflow-data-source)# name exampleNetflowroot@localhost(sub-netflow-data-source)# input 1 2root@localhost(sub-netflow-data-source)# output 3 4 5root@locaroot(sub-netflow-data-source)# both 22 29root@locaroot(sub-netflow-data-source)# exitRelated Commands
netflow device
To configure remote NetFlow devices and create a default data source for the NetFlow device, use the netflow device command. To remove a remote NetFlow device, use the no form of this command.
netflow device device-address [community-string]
no netflow device address
Syntax Description
address
Specifies the remote NetFlow device address.
community-string
(Optional) Specifies the remote NetFlow device community string.
Defaults
This command has no default settings.
Command Modes
Command mode
Examples
This example shows how to configure a remote NetFlow device:
root@localhost# netflow device 10.0.0.1 publicSuccessfully created a netflow device.root@localhost# show nam data-sourceallspannde-10.0.0.1root@localhost# no netflow device 10.0.0.1Successfully removed the netflow device.no
To delete configurations, use the no command.
no [alarm | capture-filter | decode-filter | diffserv | monitor | rmon | trap-dest | web-user | netflow]
Syntax Description
Defaults
This command has no default settings.
Command Modes
Command mode
Examples
This example shows how to remove NAM MIB alarms:
root@localhost# no alarmRelated Commands
alarm
custom-filter capture
custom-filter decode
diffserv
diffserv aggregate
diffserv profile
monitor
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 vlanstatsnslookup
To configure name server queries, use the nslookup command.
nslookup hostname [server]
Syntax Description
hostname
Specifies the name server query host.
server
(Optional) Specifies the name server to query.
Defaults
This command has no default settings.
Command Modes
Command mode
Examples
This example shows how to configure name server queries:
root@localhost.cisco.com# nslookup www.yahoo.comServer: 127.0.0.1Address: 127.0.0.1#53Non-authoritative answer:www.yahoo.com canonical name = www.yahoo.akadns.net.Name: www.yahoo.akadns.netAddress:66.218.71.80