Disabling SNMP
Step 2
Step 3
Step 4
Disabling SNMP
Procedure
Step 1
Step 2
Verifying the SNMP Configuration
To display SNMP configuration information, perform one of the following tasks:
Command
show snmp
show snmp community
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
106
Command or Action
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
(Optional) switch(config)# no snmp-server
context context-name [instance instance-name]
[vrf vrf-name] [topology topology-name]
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
switch(config) # no snmp-server protocol
enable
Example:
no snmp-server protocol enable
Purpose
Displays the SNMP status.
Displays the SNMP community strings.
Purpose
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.
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
Note
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.
Purpose
Enters global configuration mode.
Disables SNMP.
SNMP is disabled by default.
Configuring SNMP