Implementing SNMP
Command or Action
Step 2
snmp-server packetsize byte-count
Example:
RP/0/RP0/CPU0:router(config)# snmp-server packetsize
1024
Step 3
commit
Changing Notification Operation Values
After SNMP notifications have been enabled, you can specify a value other than the default for the source
interface, message queue length, or retransmission interval.
This task explains how to specify a source interface for trap notifications, the message queue length for each
host, and the retransmission interval.
The sequence in which you issue the snmp-server commands for this task does not matter.
Note
SUMMARY STEPS
1. configure
2. (Optional)
3. (Optional)
4. (Optional)
5. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
snmp-server trap-source type interface-path-id
Example:
RP/0/RP0/CPU0:router(config)# snmp-server trap-source
POS 0/0/1/0
snmp-server trap-source type interface-path-id
snmp-server queue-length length
snmp-server trap-timeout seconds
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
Changing Notification Operation Values
Purpose
(Optional)
Sets the maximum packet size.
Purpose
(Optional)
Specifies a source interface for trap notifications.
37