Cisco Systems WSC2960X24PSL Configuring SNMP Groups and Users, end, snmp-server engineID local

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 65
Image 65
Configuring SNMP Groups and Users

Configuring Simple Network Management Protocol

Configuring SNMP Groups and Users

This example shows how to assign the comaccess string to SNMP, to allow read-only access, and to specify that IP access list 4 can use the community string to gain access to the switch SNMP agent:

Switch(config)# snmp-server community comaccess ro 4

What to Do Next

To disable access for an SNMP community, set the community string for that community to the null string (do not enter a value for the community string).

To remove a specific community string, use the no snmp-servercommunity string global configuration command.

You can specify an identification name (engine ID) for the local or remote SNMP server engine on the switch. You can configure an SNMP server group that maps SNMP users to SNMP views, and you can add new users to the SNMP group.

Configuring SNMP Groups and Users

You can specify an identification name (engine ID) for the local or remote SNMP server engine on the switch. You can configure an SNMP server group that maps SNMP users to SNMP views, and you can add new users to the SNMP group.

Beginning in privileged EXEC mode, follow these steps to configure SNMP groups and users on the switch.

SUMMARY STEPS

1.configure terminal

2.snmp-server engineID {local engineid-string remote ip-address [udp-portport-number]engineid-string}

3.snmp-server group group-name{v1 v2c v3 {auth noauth priv}} [read readview] [write writeview] [notify notifyview] [access access-list]

4.snmp-server user username group-name{remote host [ udp-port port]} {v1 [access access-list] v2c [access access-list] v3 [encrypted] [access access-list] [auth {md5 sha} auth-password] } [priv {des 3des aes {128 192 256}} priv-password]

5.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

snmp-server engineID {local

Configures a name for either the local or remote copy of SNMP.

 

engineid-string remote ip-address

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29044-01

53

Page 65
Image 65
Cisco Systems WSC2960X24PSL Configuring SNMP Groups and Users, end, snmp-server engineID local, What to Do Next, Purpose