SNMP Commands 4

conjunction with the corresponding entries in the Notify View assigned by the snmp-server group command (page 4-110).

Example

Console(config)#snmp-server enable traps link-up-down

Console(config)#

Related Commands

snmp-server host (4-104)

snmp-server engine-id

This command configures an identification string for the SNMPv3 engine. Use the no form to restore the default.

Syntax

snmp-server engine-id {local remote {ip-address}}engineid-stringno snmp-server engine-id {local remote {ip-address}}

local - Specifies the SNMP engine on this switch.

remote - Specifies an SNMP engine on a remote device.

ip-address- The Internet address of the remote device.

engineid-string- String identifying the engine ID. (Range: 9-64 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 either on this switch or on a remote device. 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.

A remote engine ID is required when using SNMPv3 informs. (See snmp-server host on page 4-104.)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.

An engine ID can be specified by entering 5 to 32 octets of hexadecimal characters; that is, 9 to 64 hexadecimal characters. If an odd number of hexadecimal characters are specified, a trailing zero is added to the value to

4-107

Page 349
Image 349
SMC Networks SMC8150L2 manual Snmp-server engine-id, Snmp-server host