Cisco Systems UCSCPCIEBTG Community-str community, Setcommunity-access, Settrap-community-str

Models: 57712 UCSCPCIEBTG

1 288
Download 288 pages 20.54 Kb
Page 154
Image 154

Configuring Communication Services

Configuring SNMP Properties

 

Command or Action

Purpose

Step 4

Server /snmp # set

Specifies the default SNMP v1 or v2c community name that

 

community-str community

CIMC includes on any trap messages it sends to the SNMP

 

 

host. The name can be up to 18 characters.

Step 5

Server /snmp #

This can be one of the following : Disabled, Limited, or Full.

 

setcommunity-access

 

Step 6

Server /snmp #

Specifies the SNMP community group to which trap

 

settrap-community-str

information should be sent. The name can be up to 18

 

 

characters

Step 7

Server /snmp # set sys-contact

Specifies the system contact person responsible for the SNMP

 

contact

implementation. The contact information can be up to 254

 

 

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.

Step 8

Server /snmp # set sys-location

Specifies the location of the host on which the SNMP agent

 

location

(server) runs. The location information can be up to 254

 

 

characters. To enter a value that contains spaces, you must

 

 

enclose the entry with quotation marks.

Step 9

Server /snmp # commit

Commits the transaction to the system configuration.

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

Page 154
Image 154
Cisco Systems UCSCPCIEBTG, 57712 manual Community-str community, Setcommunity-access, Settrap-community-str