PurposeCommand or Action
Maps an SNMP context to a protocol instance, VRF,
or topology. The names can be any alphanumeric string
up to 32 characters.
switch(config)# snmp-server context
context-name [instance instance-name]
[vrf vrf-name] [topology topology-name]
Step 2
Maps an SNMPv2c community to an SNMP context.
The names can be any alphanumeric string up to 32
characters.
switch(config)# snmp-server mib
community-map community-name
context context-name
Step 3
(Optional)
Deletes the mapping between an SNMP context and a
protocol instance, VRF, or topology. The names can
be any alphanumeric string up to 32 characters.
switch(config)# no snmp-server context
context-name [instance instance-name]
[vrf vrf-name] [topology topology-name]
Step 4
Do not enter an instance, VRF, or topology to
delete a context mapping. If you use the
instance, vrf, or topology keywords, you
configure a mapping between the context and
a zero-length string.
Note
Modifying the AAA Synchronization Time
You can modify how long Cisco NX-OS holds the synchronized user configuration.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Configures how long the AAA synchronized
user configuration stays in the local cache. The
snmp-server aaa-user cache-timeout seconds
Example:
switch(config)# snmp-server aaa-user
cache-timeout 1200
Step 2
range is from 1 to 86400 seconds. The default
value is 3600 seconds.
(Optional)
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 3
   Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
166 OL-31641-01   
Configuring SNMP
Modifying the AAA Synchronization Time