System information

Configuring SNMP
4-13
name is the SNMP Context name.
9. To view the configuration of SNMPv3 entries, use the show running config
command in Privileged EXEC mode, as shown below:
MOT#show running config
Example
The example below uses the commands described above to specify sha_user as
the user, sha as the authentication algorithm, and motorola as the password. It
assigns the user to an SNMP Group auth_g and specifies that this user and group
combination applies for SNMPv3 only. It then configures an SNMP Access
Policy for the SNMP Group auth_g to have read and write privileges according to
the SNMP View auth_view. The example then configures the SNMP View
auth_view and gives access to the mib-2 MIB group and all its MIB objects.
MOT(config)#snmp-server user sha_user auth sha motorola
MOT(config)#snmp-server group auth_g sha_user v3
MOT(config)#snmp-server group auth_g v3 auth read auth_view
write auth_view
MOT(config)#snmp-server view auth_view mib-2 included
MOT#show running config
The final command results in a display with SNMPv3 information similar to the
following:
snmp-server engineid local 123456700000000000000000
snmp-server context
snmp-server user sha_user auth sha local
6efff7e12db360a1b0f97ce84501c6d9aff2d282 eng-id
123456700000000000000000
snmp-server group auth_g sha_user v3
snmp-server access auth_g v3 auth match exact read auth_view
write auth_view
snmp-server community public ro
snmp-server view auth_view mib-2 included
Configuring SNMP Server Identification
Configuring the following parameters provides unique network identification for the
SNMP Agent: