Snmp agent yielding behavior, Snmp queue processing – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual
Page 46

28
Multi-Service IronWare Administration Guide
53-1003028-02
SNMP scalability optimization
2
Syntax: [no] snmp-server cache disable
Use the no form of the command to enable SNMP value caching.
To configure the maximum length of time that a cached SNMP port value will be considered valid 
by the MP, use the following command at the MPLS configuration level of the CLI.
Brocade (config-mpls)#snmp-server cache max-age 10000
Syntax: [no] snmp-server cache max-age milliseconds
•
The preceding example sets the maximum age for cached SNMP port values to 10,000 
milliseconds.
•
The milliseconds parameter is the maximum number of milliseconds a value will be considered 
valid before the MP discards the value and requests a new one from the LP. The range for this 
parameter is from 50 through 15000.
•
Use the no form of this command to return the cache aging limit to the default value of 100 
milliseconds.
To configure the maximum size of the SNMP port value cache, use the following command at the 
MPLS configuration level of the CLI.
Brocade (config-mpls)#snmp-server cache size 100
Syntax: [no] snmp-server cache size kilobytes
•
The preceding example increases the maximum size for the SNMP port cache to 100 KB.
•
The kilobytes parameter is the maximum memory size for the SNMP port cache.
•
Use the no form of this command to return the maximum cache size to the default value of 32 
KB.
SNMP agent yielding behavior
When an SNMP agent yields CPU control unconditionally between processing of queued packets, it 
can result in low throughput for packets which are processed quickly. To increase throughput for 
these packets, the SNMP agent in the Brocade device yields CPU control between packets only 
when the agent has controlled the CPU for more than 10 milliseconds.
SNMP queue processing
To ensure that SNMP packets are not dropped, the SNMP task on the Brocade device continues to 
accept newly received SNMP packets from the IP stack while processing the SNMP queue.
