Snmp-server engine-id – Microsens MS453490M Management Guide User Manual

Page 563

Advertising
background image

C

HAPTER

22

| SNMP Commands

– 563 –

snmp-server

engine-id

This command configures an identification string for the SNMPv3 engine.

Use the no form to restore the default.

S

YNTAX

snmp-server engine-id {local | remote {ip-address}}

engineid-string

no 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: 1-26

hexadecimal characters)

D

EFAULT

S

ETTING

A unique engine ID is automatically generated by the switch based on its

MAC address.

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

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 the

snmp-server host

command.) The remote engine ID is used to compute

the security digest for authentication and encryption of packets passed

between the switch and 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 “0123456789” is equivalent to “0123456789”

followed by 16 zeroes for a local engine ID.

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 565

).

E

XAMPLE

Console(config)#snmp-server engine-id local 1234567890

Console(config)#snmp-server engineID remote 9876543210 192.168.1.19

Console(config)#

Advertising