User's Manual

PurposeCommand or Action
Specifies the default SNMP v1 or v2c community name that
CIMC includes on any trap messages it sends to the SNMP
host. The name can be up to 18 characters.
Server /snmp # set
community-str community
Step 4
This can be one of the following : Disabled, Limited, or Full.Server /snmp #
setcommunity-access
Step 5
Specifies the SNMP community group to which trap
information should be sent. The name can be up to 18
characters
Server /snmp #
settrap-community-str
Step 6
Specifies the system contact person responsible for the SNMP
implementation. The contact information can be up to 254
Server /snmp # set sys-contact
contact
Step 7
characters, such as an email address or a name and telephone
number. To enter a value that contains spaces, you must
enclose the entry with quotation marks.
Specifies the location of the host on which the SNMP agent
(server) runs. The location information can be up to 254
Server /snmp # set sys-location
location
Step 8
characters. To enter a value that contains spaces, you must
enclose the entry with quotation marks.
Commits the transaction to the system configuration.Server /snmp # commit
Step 9
This example configures the SNMP properties and commits the transaction:
Server# scope snmp
Server /snmp # set enabled yes
Server /snmp *# commit
Server /snmp # set community-str cimcpublic
Server /snmp # set community-access Full
Server /snmp # set trap-community-str public
Server /snmp *# set sys-contact "User Name <username@example.com> +1-408-555-1212"
Server /snmp *# set sys-location "San Jose, California"
Server /snmp *# commit
Server /snmp # show detail
SNMP Settings:
SNMP Port: 161
System Contact: User Name <username@example.com> +1-408-555-1212
System Location: San Jose, California
SNMP Community: cimcpublic
SNMP Trap community: public
SNMP Community access: Full
Enabled: yes
Server /snmp #
What to Do Next
Configure SNMP trap settings as described in Configuring SNMP Trap Settings, on page 139.
Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5
138 OL-28893-01
Configuring Communication Services
Configuring SNMP Properties