Cisco Systems WSC2960X24TSLL udp-port port-number engineid-string, notifyview access access-list

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 66
Image 66
[udp-portport-number]engineid-string}

Configuring Simple Network Management Protocol

Configuring SNMP Groups and Users

readview] [write writeview] [notify Command or Action

[udp-portport-number]engineid-string}

Example:

Switch(config)# snmp-server engineID local 1234

notifyview] [access access-list] Purpose

The engineid-stringis a 24-character ID string with the name of the copy of SNMP. You need not specify the entire 24-character engine ID if it has trailing zeros. Specify only the portion of the engine ID up to the point where only zeros remain in the value. The Step Example configures an engine ID of 123400000000000000000000.

If you select remote, specify the ip-addressof the device that contains the remote copy of SNMP and the optional User Datagram Protocol (UDP) port on the remote device. The default is 162.

Step 3 snmp-server group group-name{v1 Configures a new SNMP group on the remote device. v2c v3 {auth noauth priv}} [read For group-name, specify the name of the group.

readview] [write writeview] [notify

notifyview] [access access-list]

Specify one of the following security models:

Example:

v1 is the least secure of the possible security models.

v2c is the second least secure model. It allows transmission of informs and

Switch(config)# snmp-server group

integers twice the normal width.

public v2c access lmnop

 

Step 4 snmp-server user username

group-name {remote host [ udp-portport]} {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]

v3, the most secure, requires you to select one of the following authentication levels:

authEnables the Message Digest 5 (MD5) and the Secure Hash Algorithm (SHA) packet authentication.

noauthEnables the noAuthNoPriv security level. This is the default if no keyword is specified.

privEnables Data Encryption Standard (DES) packet encryption (also called privacy).

(Optional) Enter read readview with a string (not to exceed 64 characters) that is the name of the view in which you can only view the contents of the agent.

(Optional) Enter write writeview with a string (not to exceed 64 characters) that is the name of the view in which you enter data and configure the contents of the agent.

(Optional) Enter notify notifyview with a string (not to exceed 64 characters) that is the name of the view in which you specify a notify, inform, or trap.

(Optional) Enter access access-listwith a string (not to exceed 64 characters) that is the name of the access list.

Adds a new user for an SNMP group.

The username is the name of the user on the host that connects to the agent.

The group-nameis the name of the group to which the user is associated.

Enter remote to specify a remote SNMP entity to which the user belongs and the hostname or IP address of that entity with the optional UDP port number. The default is 162.

 

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

54

OL-29044-01

Page 66
Image 66
Cisco Systems WSC2960X24TSLL udp-port port-number engineid-string, readview write writeview notify, Command or Action