M Commands
monitor counter
272
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
monitor counter
To configure a Simple Network Management Protocol (SNMP) monitor counter, use the monitor
counter command. To remove a monitor counter configuration, use the no form of this command.
monitor counter {invalid-crc | invalid-words | link-loss | protocol-error | rx-performance |
signal-loss | state-change | sync-loss | tx-performance}
no monitor counter {invalid-crc | invalid-words | link-loss | protocol-error | rx-performance |
signal-loss | state-change | sync-loss | tx-performance}
Syntax Description
Defaults None
Command Modes Port-monitor configuration (config-port-monitor)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure an SNMP counter:
switch(config) port-monitor name PM1
switch(config-port-monitor)# monitor counter signal-loss
switch(config-port-monitor)#
This example shows how to remove a counter configuration:
invalid-crc Configures the invalid-crc counter.
invalid-words Configures the invalid-words counter.
link-loss Configures the link-loss counter.
protocol-error Configures the protocol-error counter.
rx-performance Configure the ingress (rx) performance counter.
signal-loss Configures the signal-loss counter.
state-change Configures the state-change counter.
sync-loss Configures the sync-loss counter.
tx-performance Configures the egress (tx) performance counter.
Release Modification
4.1(2) This command was introduced.