Microsoft ES4625 Manuale Utente

Pagina di 674
Command Line Interface
4-114
4
• A remote engine ID is required when using SNMPv3 informs. (See 
snmp-server host on page 4-110.) The remote engine ID is used to compute 
the security digest for authenticating and encrypting packets sent to a user on 
the remote host. 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.
• Trailing zeroes need not be entered to uniquely specify a engine ID. In other 
words, the value “1234” is equivalent to “1234” followed by 22 zeroes.
• A local engine ID is automatically generated that is unique to the switch. This 
is referred to as the default engine ID. If the local engine ID is deleted or 
changed, all SNMP users will be cleared. You will need to reconfigure all 
existing users (page 4-119).
Example
Related Commands
show snmp engine-id
This command shows the SNMP engine ID.
Command Mode 
Privileged Exec
Example
This example shows the default engine ID. 
Console(config)#snmp-server engine-id local 12345
Console(config)#snmp-server engineID remote 54321 192.168.1.19
Console(config)#
Console#show snmp engine-id
Local SNMP engineID: 8000002a8000000000e8666672
Local SNMP engineBoots: 1
Remote SNMP engineID
IP address
80000000030004e2b316c54321
192.168.1.19
Console#
Table 4-38   show snmp engine-id - display description
Field
Description
Local SNMP engineID
String identifying the engine ID.
Local SNMP engineBoots The number of times that the engine has (re-)initialized since the snmp EngineID 
was last configured.
Remote SNMP engineID
String identifying an engine ID on a remote device.
IP address
IP address of the device containing the corresponding remote SNMP engine.