Configuring snmpv3 management access, Setting a local engine id, Figure 5-4 – LevelOne GTL-2690 User Manual

Page 122: Setting the snmpv3 engine id

Advertising
background image

Simple Network Management Protocol

5-6

5

CLI – This example adds a trap manager and enables authentication traps.

Configuring SNMPv3 Management Access

To configure SNMPv3 management access to the switch, follow these steps:

1. If you want to change the default engine ID, do so before configuring other

SNMP parameters.

2. Specify read and write access views for the switch MIB tree.
3. Configure SNMP user groups with the required security model (i.e., SNMP v1,

v2c or v3) and security level (i.e., authentication and privacy).

4. Assign SNMP users to groups, along with their specific authentication and

privacy passwords.

Setting a Local Engine ID

An SNMPv3 engine is an independent SNMP agent that resides on the 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.

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 engineID is deleted or changed, all
SNMP users will be cleared. You will need to reconfigure all existing users.

A new engine ID can be specified by entering 9 to 64 hexadecimal characters. If an
odd number of characters are specified, a trailing zero is added to the value to fill in
the missing octet. For example, the value “123456789” is equivalent to
“1234567890”.

Web – Click SNMP, SNMPv3, Engine ID. Enter an ID of up to 64 hexadecimal
characters and then click Save.

Figure 5-4 Setting the SNMPv3 Engine ID

CLI – This example sets an SNMPv3 engine ID.

Console(config)#snmp-server host 10.1.19.23 private version 2c

udp-port 162

24-5

Console(config)#snmp-server enable traps authentication

24-7

Console(config)#snmp-server engine-id local 12345abcdef

24-8

Console(config)#exit
Console#show snmp engine-id

24-9

Local SNMP engineID: 8000002a8000000000e8666672
Local SNMP engineBoots: 1
Console#

Advertising