Assigning Snmp Switch Contact And Location Information; Configuring The Context To Network Entity Mapping - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring SNMP

Assigning SNMP Switch Contact and Location Information

You can assign the switch contact information, which is limited to 32 characters (without spaces), and the
switch location.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5

Configuring the Context to Network Entity Mapping

You can configure an SNMP context to map to a logical network entity, such as a protocol instance or VRF.
Procedure
Step 1
Step 2
Step 3
Step 4
OL-16597-01
Command or Action
switch# configuration terminal
switch(config)# snmp-server contact name
switch(config)# snmp-server location
name
switch# show snmp
switch# copy running-config
startup-config
Command or Action
switch# configuration terminal
switch(config)# snmp-server context
context-name [instance instance-name]
[vrf vrf-name] [topology topology-name]
switch(config)# snmp-server mib
community-map community-name
context context-name
switch(config)# no snmp-server context
context-name [instance instance-name]
[vrf vrf-name] [topology topology-name]
Assigning SNMP Switch Contact and Location Information
Purpose
Enters configuration mode.
Configures sysContact, the SNMP contact
name.
Configures sysLocation, the SNMP location.
(Optional)
Displays information about one or more
destination profiles.
(Optional)
Saves this configuration change.
Purpose
Enters configuration mode.
Maps an SNMP context to a protocol instance, VRF,
or topology. The names can be any alphanumeric string
up to 32 characters.
Maps an SNMPv2c community to an SNMP context.
The names can be any alphanumeric string up to 32
characters.
(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.
Do not enter an instance, VRF, or topology to
Note
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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
385

Advertisement

Table of Contents
loading

Table of Contents