Alcatel Carrier Internetworking Solutions 6300-24 Manuale Utente

Pagina di 462
Command Line Interface
4-114
4
snmp-server
Use this command to enable the SNMP v3 engine. Use the no form to disable the 
engine.
Default Setting 
Enabled
Command Mode 
Global Configuration
Example
snmp-server engine-id
Use this command to configure an identification string for the SNMP v3 engine. Use 
the no form to restore the default.
Syntax 
snmp-server engine-id local engineid-string
no snmp-server engine-id local
engineid-string - String identifying the engine ID. 
(Range: 1-26 hexadecimal characters)
Default Setting 
A unique engine ID is automatically generated by the switch based on its MAC 
address.
Command Mode 
Global Configuration
Command Usage 
• An SNMP engine is an independent SNMP agent that resides on this switch. 
This engine protects against message replay, delay, and redirection. The 
engine ID is also used in combination with user passwords to generate the 
security keys for authenticating and encrypting SNMPv3 packets. 
• 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.
• If the local engineID is deleted or changed, all SNMP users will be cleared. 
You will need to reconfigure all existing users (page 4-119).
Example
Console(config)#snmp-server
Console(config)#
Console(config)#snmp-server engineID local 12345
Console(config)#