Purpose
Command or Action
Example:
RP/0/RP0/CPU0:router(config)# snmp-server dscp 24
commit
Step 3
Setting an IP Precedence Value for SNMP Traffic: Example
The following example shows how to set the SNMP IP Precedence value to 7:
configure
snmp-server ipv4 precedence 7
exit
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]: y
Setting an IP DSCP Value for SNMP Traffic: Example
The following example shows how to set the IP DSCP value of SNMP traffic to 45:
configure
snmp-server ipv4 dscp 45
exit
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]: y
Displaying SNMP Context Mapping
The SNMP agent serves queries based on SNMP contexts created by the client features. There is a context
mapping table. Each entry in the context mapping table includes a context name, the name of the feature that
created the context, and the name of the specific instance of the feature.
SUMMARY STEPS
1.
show snmp context-mapping
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
39
Implementing SNMP
Setting an IP Precedence Value for SNMP Traffic: Example