Learn how to configure IP Precedence or DSCP values for SNMP traffic using the CLI.
Define the precedence or DSCP marking for SNMP traffic to enable prioritization by QoS mechanisms.
Use these commands to ensure SNMP packets are marked for differentiated treatment in the network.
Before you begin
SNMP must be configured.
Procedure
- snmp-server ipv4 precedence value
- snmp-server ipv4 dscp value
Example:
Router#configure terminal
Router(config)#snmp-server dscp 24
Similarly, you can use ipv6 instead of ipv4 to configure IP precedence and DSCP values for IPv6.
SNMP traffic now carries the specified IP Precedence or DSCP value.