Table Of Contents
SNMP Debug Commands on Cisco IOS XR Software
debug snmp bag
debug snmp client
debug snmp correlator
debug snmp ctxmapping
debug snmp general
debug snmp request
debug snmp config
debug snmp dll
debug snmp lib
debug snmp mib
debug snmp packets
debug snmp sysdb
debug snmp trap
SNMP Debug Commands on Cisco IOS XR Software
This chapter describes the commands used to debug Simple Network Management Protocol (SNMP) on Cisco IOS XR software.
Caution 
Because debugging output is assigned high priority in the CPU process, it can render the system unusable. For this reason, use
debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. Moreover, it is best to use
debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased
debug command processing overhead will affect system use.
debug snmp bag
To enable the debug messages for the Simple Network Management Protocol (SNMP) bag operation use the debug snmp bag command in EXEC mode. To disable the display of debug messages, use the no form of this command.
debug snmp bag
no debug snmp bag
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP bag operation debugging:
RP/0/RP0/CPU0:router# debug snmp bag
debug snmp client
To display the Simple Network Management Protocol (SNMP) client information, use the debug snmp client command in EXEC mode. To disable SNMP client information, use the no form of this command.
debug snmp client
no debug snmp client
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable the debug messages for the SNMP client:
RP/0/RP0/CPU0:router# debug snmp client
debug snmp correlator
To display the Simple Network Management Protocol (SNMP) trap correlation data, use the debug snmp correlator command in EXEC mode. To disable SNMP trap correlation data, use the no form of this command.
debug snmp correlator {errors | events | verbose}
no debug snmp correlator {errors | events | verbose}
Syntax Description
errors
|
Displays SNMP trap correlation error messages.
|
events
|
Displays SNMP trap correlation events information.
|
verbose
|
Displays SNMP trap correlation verbose information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable the SNMP trap correlation debugging:
RP/0/RP0/CPU0:router# debug snmp correlator errors
debug snmp ctxmapping
To enable the Simple Network Management Protocol (SNMP) context-mapping information, use the debug snmp ctxmapping command in EXEC mode. To disable SNMP context-mapping debugging information, use the no form of this command.
debug snmp ctxmapping
no debug snmp ctxmapping
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable the debug messages for the SNMP context-mapping information:
RP/0/RP0/CPU0:router# debug snmp ctxmapping
debug snmp general
To display the Simple Network Management Protocol (SNMP) general information, use the debug snmp general command in EXEC mode. To disable SNMP general information, use the no form of this command.
debug snmp general
no debug snmp general
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to display the the debug messages for the SNMP general information:
RP/0/RP0/CPU0:router# debug snmp general
debug snmp request
To enable the Simple Network Management Protocol (SNMP) request information, use the debug snmp request command in EXEC mode. To disable SNMP request information, use the no form of this command.
debug snmp request
no debug snmp request
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.8.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to display the the debug messages for the SNMP request information:
RP/0/RP0/CPU0:router# debug snmp general
debug snmp config
To configure the Simple Network Management Protocol (SNMP) database transactions, use the debug snmp config command in EXEC mode. To disable SNMP configuration transactions, use the no form of this command.
debug snmp config
no debug snmp config
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP database transaction debugging:
RP/0/RP0/CPU0:router# debug snmp config
debug snmp dll
To load or unload the Simple Network Management Protocol (SNMP) Management Information Base (MIB) Dynamic Link Library (DLL), use the debug snmp dll command in EXEC mode. To disable SNMP configuration transactions, use the no form of this command.
debug snmp dll
no debug snmp dll
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP MIB DLL debugging:
RP/0/RP0/CPU0:router# debug snmp dll
debug snmp lib
To display the Simple Network Management Protocol (SNMP) library data, use the debug snmp lib command in EXEC mode. To disable SNMP library display, use the no form of this command.
debug snmp lib {context | ipc {client | server} | mibmgr { cache | dll | general | server} | object
{general | map | request }} [job id]
no debug snmp lib {context | ipc {client | server} | mibmgr { cache | dll | general | server} | object
{general | map | request }} [job id]
Syntax Description
context
|
Displays SNMP context library debug information.
|
ipc
|
Displays SNMP IPC library debug information.
|
client
|
Enables SNMP IPC client activity.
|
server
|
Enables SNMP IPC server activity.
|
mibmgr
|
Displays MIB Manager library debug information.
|
cache
|
Displays MIB cache transactions debug information.
|
dll
|
Displays MIB DLL debug information.
|
general
|
Displays general library debug information.
|
server
|
Displays SNMP agent interactions debug information.
|
object
|
Displays object DB library debug information.
|
map
|
Displays object DB operations debug information.
|
request
|
Displays SNMP requests processing debug information.
|
job id
|
Specifies a job ID.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.5.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
The debug snmp lib command replaced the debug snmp lib cache command.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP library data debugging:
RP/0/RP0/CPU0:router# debug snmp lib context
debug snmp mib
To display the Simple Network Management Protocol (SNMP) Management Information Base (MIB) data, use the debug snmp mib command in EXEC mode. To disable SNMP configuration transactions, use the no form of this command.
debug snmp mib {entitymib | all | accmib | arpmib | atmmib | atmoammib | atmqosmib | authmib
| bgpmib | bridgemib | bulkfilemib | cbqosmib | cdpmib | ciscoassetmib | ciscobgppamib |
ciscocontpmib | ciscocootnifmib | ciscoDs3mib | ciscoietfbfdmib | ciscoprocessmib |
ciscosensormib | ciscosonetmib | ciscosyslogmib | ciscosystemmib | confcopymib |
configmanmib | contextmappingmib | dot3admib | ds3mib | enhancedmempoolmib |
enhimagemib | etherlikemib | eventmib | expressionmib | fabmcastapplmib | frucontrolmib
| fabmcastmib | fabmib | flashmib | freemib | ftpclientmib | hsrpmib | icmpmib [location
node-id] | ietftcpmib | ietfudpmib | ifextmib | ifmib | ipmib [location node-id] |
ipsecflowmonmib | ipsecmib | ipsecpolmapmib | ipv4forward | ipv6forward | ipv6mib |
ipv6rfcmib | isismib | l3vpnmib | maumib | mempoolmib | mgmd- mld- mib | mldmib |
mplsldpmib | mplslsrmib | mplstemib | mplstep2mpmib | mroutemib | msdpmib |
notiflogmib | ospfmib | ospfv3mib | pimmib | pingmib | pwenetmib | pwfrmib | pwmib |
pwmplsmib | rfmib | rttmonmib | sonetmib | tcpmib | udpmib | vlanifrelationmib |
vplsdpmib | vplsmib}
no debug snmp mib {entitymib | all | accmib | arpmib | atmmib | atmoammib | atmqosmib |
authmib | bgpmib | bridgemib | bulkfilemib | cbqosmib | cdpmib | ciscoassetmib |
ciscobgppamib | ciscocontpmib | ciscocootnifmib | ciscoDs3mib | ciscoietfbfdmib |
ciscoprocessmib | ciscosensormib | ciscosonetmib | ciscosyslogmib | ciscosystemmib |
confcopymib | configmanmib | contextmappingmib | dot3admib | ds3mib |
enhancedmempoolmib | enhimagemib | etherlikemib | eventmib | expressionmib |
fabmcastapplmib | frucontrolmib | fabmcastmib | fabmib | flashmib | freemib | ftpclientmib
| hsrpmib | icmpmib [location node-id] | ietftcpmib | ietfudpmib | ifextmib | ifmib | ipmib
[location node-id] | ipsecflowmonmib | ipsecmib | ipsecpolmapmib | ipv4forward |
ipv6forward | ipv6mib | ipv6rfcmib | isismib | l3vpnmib | maumib | mempoolmib | mgmd-
mld- mib | mldmib | mplsldpmib | mplslsrmib | mplstemib | mplstep2mpmib | mroutemib
| msdpmib | notiflogmib | ospfmib | ospfv3mib | pimmib | pingmib | pwenetmib | pwfrmib
| pwmib | pwmplsmib | rfmib | rttmonmib | sonetmib | tcpmib | udpmib | vlanifrelationmib
| vplsdpmib | vplsmib}
Syntax Description
entitymib
|
Displays entity MIB debug information.
|
all
|
Enables or disable all MIB debug information.
|
accmib
|
Displays accmib debug information.
|
arpmib
|
Displays ARP MIB debug information.
|
atmmib
|
Displays ATM MIB debug information.
|
atmoammib
|
Displays ATM OAM MIB debug information.
|
atmqosmib
|
Displays ATM QoS MIB debug information.
|
authmib
|
Displays authmib debug information.
|
bgpmib
|
Displays BGP MIB debug information.
|
bridgemib
|
Displays bridgemib debug information.
|
bulkfilemib
|
Displays bulkfilemib debug information.
|
cbqosmib
|
Displays cbqosmib debug information.
|
cdpmib
|
Displays CDP debug information.
|
ciscoassetmib
|
Displays Cisco asset MIB debug information.
|
ciscobgppamib
|
Displays Cisco BGP PA MIB debug information.
|
ciscocontpmib
|
Displays Cisco contp MIB debug information.
|
ciscocootnifmib
|
Displays Cisco cootnif MIB debug information.
|
ciscoDs3mib
|
Displays Cisco ds3 MIB debug information.
|
ciscoietfbfdmib
|
Displays Cisco IETF BFD MIB debug information.
|
ciscoprocessmib
|
Displays Cisco process MIB debug information.
|
ciscosensormib
|
Displays Cisco sensor MIB debug information.
|
ciscosonetmib
|
Displays Cisco sonet MIB debug information.
|
ciscosyslogmib
|
Displays Cisco system log MIB debug information.
|
ciscosystemmib
|
Displays Cisco system MIB debug information.
|
confcopymib
|
Displays configuration copy MIB debug information.
|
configmanmib
|
Displays configuration management MIB debug information.
|
contextmappingmib
|
Displays context mapping MIB debug information.
|
dot3admib
|
Displays dot3 administration MIB debug information.
|
ds3mib
|
Displays ds3 MIB debug information.
|
enhancedmempoolmib
|
Displays enhanced memory pool MIB debug information.
|
enhimagemib
|
Displays enhance image MIB debug information.
|
etherlikemib
|
Displays ethernet like MIB debug information.
|
eventmib
|
Displays event MIB debug information.
|
expressionmib
|
Displays expression MIB debug information.
|
fabmcastapplmib
|
Displays fabric multicast application MIB debug information.
|
fabmcastmib
|
Displays fabric multicast MIB debug information.
|
fabmib
|
Displays fabric MIB debug information.
|
flashmib
|
Displays flash MIB debug information.
|
frucontrolmib
|
Displays FRU control MIB debug information.
|
freemib
|
Displays free MIB debug information.
|
ftpclientmib
|
Displays ftp client MIB debug information.
|
hsrpmib
|
Displays HSRP MIB debug information.
|
icmpmib
|
Displays ICMP MIB debug information.
|
location node-id
|
Displays ICMP MIB debug information for a specified location. The node-id argument is entered in the rack/slot/module notation.
|
ietftcpmib
|
Displays IETF TCP MIB debug information.
|
ietfudpmib
|
Displays IET UDP MIB debug information.
|
ifextmib
|
Displays interface extension MIB debug information.
|
ifmib
|
Displays interface MIB debug information.
|
ipmib
|
Displays IP MIB debug information.
|
location node-id
|
Displays IP MIB debug information for a specified location. The node-id argument is entered in the rack/slot/module notation.
|
ipsecflowmonmib
|
Displays IPsec flow monitor MIB debug information.
|
ipsecmib
|
Displays IPsec flow MIB debug information.
|
ipsecpolmapmib
|
Displays IPsec policy map MIB debug information.
|
ipv4forward
|
Displays IPv4 forward MIB debug information.
|
ipv6forward
|
Displays IPv6 forward MIB debug information.
|
ipv6mib
|
Displays IPv6 MIB debug information.
|
ipv6rfcmib
|
Displays IPv6 rfc MIB debug information.
|
isismib
|
Displays IS-IS MIB debug information.
|
l3vpnmib
|
Displays Layer 3 VPN MIB debug information.
|
maumib
|
Displays MAU MIB debug information.
|
mempoolmib
|
Displays memory pool MIB debug information.
|
mgmd- mld- mib
|
Displays MGMD MLD MIB debug information.
|
mldmib
|
Displays MLD MIB debug information.
|
mplsldpmib
|
Displays MPLS LDP MIB debug information.
|
mplslsrmib
|
Displays MPLS LSRMIB debug information.
|
mplstemib
|
Displays MPLS TE MIB debug information.
|
mplstep2mpmib
|
Displays MPLS TE P2MP MIB debug information.
|
mroutemib
|
Displays mroute MIB debug information.
|
msdpmib
|
Displays MSDP MIB debug information.
|
notiflogmib
|
Displays notification log MIB debug information.
|
ospfmib
|
Displays OSPF MIB debug information.
|
ospfv3mib
|
Displays OSPFv3 MIB debug information.
|
pimmib
|
Displays PIM MIB debug information.
|
pingmib
|
Displays ping MIB debug information.
|
pwenetmib
|
Displays pwenet MIB debug information.
|
pwfrmib
|
Displays pwfr MIB debug information.
|
pwmib
|
Displays MIB password debug information.
|
pwmplsmib
|
Displays MPLS MIB password debug information.
|
rfmib
|
Displays RF MIB debug information.
|
rttmonmib
|
Displays RTTMON MIB debug information.
|
sonetmib
|
Displays SONET MIB debug information.
|
tcpmib
|
Displays TCP MIB debug information.
|
udpmib
|
Displays UPD MIB debug information.
|
vlanifrelationmib
|
Displays VLAN interface relation MIB debug information.
|
vplsdpmib
|
Displays VPLS DP MIB debug information.
|
vplsmib
|
Displays VPLS MIB debug information.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
The ethermib keyword was removed. The following keywords were added: accmib, authmib, bulkfilemib, ciscoassetmib, ciscosensormib, ciscosonetmib, eventmib, expressionmib, frucontrolmib, ftpclientmib, ifextmib, ipsecflowmonmib, ipsecmib, ipsecpolmapmib, ipv6mib, ipv6rfcmib, l3vpnmib, mgmd-mld-mib, msdpmib, notiflogmib, pingmib, pwenetmib, pwmib, rfmib, rttmonmib.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
The fabhfrmib and qosmib keywords were removed. The following keywords were added: atmmib, atmoammib, atmqosmib, bridgemib, cbqosmib, ciscocontpmib, ciscocootnifmib, ciscoDs3mib, ciscoietfbfdmib, contextmappingmib, ds3mib, etherlikemib, fabmib, freemib, isismib, maumib, mplstep2mpmib, pwfrmib, vplsdpmib, vplsmib.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP MIB data debugging:
RP/0/RP0/CPU0:router# debug snmp mib all
debug snmp packets
To display the Simple Network Management Protocol (SNMP) incoming or outgoing data packets, use the debug snmp packets command in EXEC mode. To disable SNMP configuration transactions, use the no form of this command.
debug snmp packets
no debug snmp packets
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP data packets debugging:
RP/0/RP0/CPU0:router# debug snmp packets
debug snmp sysdb
To display the Simple Network Management Protocol (SNMP) database transactions, use the debug snmp sysdb command in EXEC mode. To disable SNMP configuration transactions, use the no form of this command.
debug snmp sysdb
no debug snmp sysdb
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP database transactions debugging:
RP/0/RP0/CPU0:router# debug snmp sysdb
debug snmp trap
To display the Simple Network Management Protocol (SNMP) Management Information Base (MIB) logging information, use the debug snmp trap command in EXEC mode. To disable SNMP MIB logging, use the no form of this command.
debug snmp trap
no debug snmp trap
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.6.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Release 3.7.0
|
No modification.
|
Release 3.8.0
|
No modification.
|
Usage Guidelines
To use this command, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. If you need assistance with your task group assignment, contact your system administrator. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Task ID
Task ID
|
Operations
|
snmp
|
read, write
|
Examples
The following example shows how to enable SNMP database MIB logging:
RP/0/0/CPU0:router# debug snmp trap RP/0/0/CPUO