S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
27-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 27 Configuring SNMP
Verifying SNMP Configuration
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. To assign the information, perform this task:
Verifying SNMP Configuration
To display SNMP configuration information, perform one of the following tasks:
SNMP Example Configuration
This example configures the Cisco Nexus 5000 Series switch to send the Cisco linkUp/linkDown
notifications to one notification host receiver and defines two SNMP users, Admin and NMS:
configuration terminal
snmp-server contact [email protected]
snmp-server user Admin auth sha abcd1234 priv abcdefgh
snmp-server user NMS auth sha abcd1234 priv abcdefgh enginID
00:00:00:63:00:01:00:a1:ac:15:10:03
snmp-server host 192.0.2.1 informs version 3 auth NMS
snmp-server host 192.0.2.1
snmp-server enable traps link cisco
Command
Purpose
Step 1
switch#
configuration terminal
Enters configuration mode.
Step 2
switch(config)#
snmp-server contact
name
Configures sysContact, the SNMP contact name.
Step 3
switch(config)#
snmp-server location
name
Configures sysLocation, the SNMP location.
Step 4
switch(config-callhome)#
show snmp
(Optional) Displays information about one or more
destination profiles.
Step 5
switch(config)#
copy running-config
startup-config
(Optional) Saves this configuration change.
Command
Purpose
show snmp
Displays the SNMP status.
show snmp community
Displays the SNMP community strings.
show snmp engineID
Displays the SNMP engineID.
show snmp group
Displays SNMP roles.
show snmp sessions
Displays SNMP sessions.
show snmp trap
Displays the SNMP notifications enabled or
disabled.
show snmp user
Displays SNMPv3 users.
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...