Microsoft ES4649 Manuel D’Utilisation

Page de 674
Command Line Interface
4-120
4
the user resides. Then use the snmp-server user command to specify the 
user and the IP address for the remote device where the user resides. The 
remote agent’s SNMP engine ID is used to compute authentication/privacy 
digests from the user’s password. If the remote engine ID is not first configured, 
the snmp-server user command specifying a remote user will fail.
• SNMP passwords are localized using the engine ID of the authoritative agent. 
For informs, the authoritative SNMP agent is the remote agent. You therefore 
need to configure the remote agent’s SNMP engine ID before you can send 
proxy requests or informs to it.
Example
show snmp user
This command shows information on SNMP users.
Command Mode 
Privileged Exec
Example 
Console(config)#snmp-server user steve group r&d v3 auth md5 greenpeace
priv des56 einstien
Console(config)#snmp-server user mark group r&d remote 192.168.1.19 v3
auth md5 greenpeace priv des56 einstien
Console(config)#
Console#show snmp user
EngineId: 800000ca030030f1df9ca00000
User Name: steve
Authentication Protocol: md5
Privacy Protocol: des56
Storage Type: nonvolatile
Row Status: active
SNMP remote user
EngineId: 80000000030004e2b316c54321
User Name: mark
Authentication Protocol: mdt
Privacy Protocol: des56
Storage Type: nonvolatile
Row Status: active
Console#
Table 4-41   show snmp user - display description
Field
Description
EngineId
String identifying the engine ID.
User Name
Name of user connecting to the SNMP agent.
Authentication Protocol
The authentication protocol used with SNMPv3.
Privacy Protocol
The privacy protocol used with SNMPv3.
Storage Type
The storage type for this entry.