Configuring SNMP
Procedure
Step 1
Step 2
Step 3
Enabling One-Time Authentication for SNMP over TCP
You can enable a one-time authentication for SNMP over a TCP session.
Command
switch(config)# snmp-server tcp-session
[auth]
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
Command or Action
switch# configure terminal
switch(config)# interface type slot/port
switch(config -if)# no snmp trap link-status
Command or Action
switch# configuration terminal
switch(config)# snmp-server contact name
switch(config)# snmp-server location name
(Optional) switch# show snmp
(Optional) switch# copy running-config
startup-config
Command or Action
switch# configuration terminal
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
Enabling One-Time Authentication for SNMP over TCP
Purpose
Enters global configuration mode.
Specifies the interface to be changed.
Disables SNMP link-state traps for the interface.
This feature is enabled by default.
Purpose
Enables a one-time authentication for SNMP over a TCP
session. This feature is disabled by default.
Purpose
Enters global configuration mode.
Configures sysContact, the SNMP contact
name.
Configures sysLocation, the SNMP location.
Displays information about one or more
destination profiles.
Saves this configuration change.
Purpose
Enters global configuration mode.
105