Assigning Snmp Switch Contact And Location Information; Verifying Snmp Configuration; Snmp Example Configuration - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 27
Configuring SNMP
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

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:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# snmp-server contact name
Step 3
switch(config)# snmp-server location
name
Step 4
switch(config-callhome)# show snmp
Step 5
switch(config)# copy running-config
startup-config

Verifying SNMP Configuration

To display SNMP configuration information, perform one of the following tasks:
Command
show snmp
show snmp community
show snmp engineID
show snmp group
show snmp sessions
show snmp trap
show snmp user

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 Admin@company.com
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
OL-16597-01
Purpose
Enters configuration mode.
Configures sysContact, the SNMP contact name.
Configures sysLocation, the SNMP location.
(Optional) Displays information about one or more
destination profiles.
(Optional) Saves this configuration change.
Purpose
Displays the SNMP status.
Displays the SNMP community strings.
Displays the SNMP engineID.
Displays SNMP roles.
Displays SNMP sessions.
Displays the SNMP notifications enabled or
disabled.
Displays SNMPv3 users.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Verifying SNMP Configuration
27-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents