Cisco Systems WSC2960X24PDL Manual De Usuario

Descargar
Página de 112
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-server community 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-port port-numberengineid-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 shaauth-password] } [priv {des
3des aes {128 192 256}} priv-password]
5. end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Configures a name for either the local or remote copy of SNMP.
snmp-server engineID {local
engineid-string remote ip-address
Step 2
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
   OL-29044-01
53
Configuring Simple Network Management Protocol
Configuring SNMP Groups and Users