EasyManua.ls Logo

Cisco Nexus 3548 - Configuring SNMP for Inband Access

Cisco Nexus 3548
220 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
This command adds an entry into thc ExtSnmpTargetVrfTable
of the CISCO-SNMP-TARGET-EXT-MB.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
switch(config)# copy
running-config startup-config
Step 3
The following example shows how to configure filtering of SNMP notifications based on a VRF:
switch# configuration terminal
switch(config)# snmp-server host 192.0.2.1 filter-vrf Red
switch(config)# copy running-config startup-config
Configuring SNMP for Inband Access
You can configure SNMP for inband access using the following:
• Using SNMP v2 without context—You can use a community that is mapped to a context. In this case,
the SNMP client does not need to know about the context.
• Using SNMP v2 with context—The SNMP client needs to specify the context by specifying a community;
for example, <community>@<context>.
• Using SNMP v3—You can specify the context.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configuration terminal
Step 1
Maps an SNMP context to the management VRF or default
VRF. Custom VRFs are not supported. The names can be
any alphanumeric string up to 32 characters.
switch(config)# snmp-server context
context-name vrf vrf-name
Step 2
By default, SNMP sends the traps using the
management VRF. If you do not want to use the
management VRF, you must use this command
to specify the desired VRF.
Note
Maps an SNMPv2c community to an SNMP context and
identifies the group to which the community belongs. The
names can be any alphanumeric string up to 32 characters.
switch(config)# snmp-server
community community-name group
group-name
Step 3
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 4
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
127
Configuring SNMP
Configuring SNMP for Inband Access

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals