Chapter 6
Debug Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
debug snmp
To enable debugging for the SNMP manager, use the debug snmp command in EXEC mode. To disable
a debug command, use the no form of the command or use the no debug all command to turn off all
debugging.
Syntax Description
all
errors
mts
pkt
both
rx
node range
opcode range
sap range
tx
pkt
numpkt
trace
trace-entryexit
trace-stub
Defaults
Disabled.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
None.
OL-18089-01, Cisco MDS NX-OS Release 4.x
debug snmp {all | errors | mts {pkt {both | rx [node range | opcode range | sap range] | tx} |
pkthdr {both | rx [numpkt range] | tx}} | pkt-dump | trace {trace-entryexit | trace-stub}}
no debug snmp {all | errors | mts {pkt {both | rx [node range | opcode range | sap range] | tx} |
pkthdr {both | rx [numpkt range] | tx}} | pkt-dump | trace {trace-entryexit | trace-stub}}
Modification
This command was introduced.
Enables debugging for all SNMP output.
Enables debugging for SNMP error output.
Enables debugging for SNMP packets and headers.
Specifies debugging of packets.
Specifies debugging in both the transmit and receive directions.
Specifies debugging in the receive direction.
Specifies the node for the packets in the receive direction. The integer
range from 1 to 4095.
Specifies the opcode for the packets in the receive direction. The integer
range from 1 to 4095.
Specifies the SAP for the packets in the receive direction. The integer
range from 1 to 4095.
Specifies debugging in the transmit direction.
Specifies debugging of packets.
Specifies the number of required packets.
Enables trace level debug output.
Specifies trace-level entry or exit debug output.
Specifies trace-level stub debug output.
Cisco MDS 9000 Family Command Reference
debug snmp
6-113