Configuring SNMP
Displaying SNMP ifIndex for an Interface
The SNMP ifIndex is used across multiple SNMP MIBs to link related interface information.
Procedure
Step 1
Enabling a One-Time Authentication for SNMP over TCP
You can enable a one-time authentication for SNMP over a TCP session.
Procedure
Step 1
Step 2
Step 3
Assigning SNMP Device Contact and Location Information
You can assign the device contact information, which is limited to 32 characters (without spaces) and the
device location.
Command or Action
show interface snmp-ifindex
Example:
switch# show interface snmp-ifindex
| grep -i Eth12/1
Eth12/1 441974784 (0x1a580000)
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
snmp-server tcp-session [auth]
Example:
switch(config)# snmp-server tcp-session
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Displaying SNMP ifIndex for an Interface
Purpose
Displays the persistent SNMP ifIndex value from the
IF-MIB for all interfaces. Optionally, use the |
keyword and the grep keyword to search for a
particular interface in the output.
Purpose
Enters global configuration mode.
Enables a one-time authentication for SNMP
over a TCP session. The default is disabled.
(Optional)
Copies the running configuration to the
startup configuration.
133
Need help?
Do you have a question about the Nexus 9000 Series and is the answer not in the manual?