beautypg.com

Snmp-server engineid local – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1800

background image

SNMP Commands

Software Reference for x310 Series Switches

68.18

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

snmp-server engineID local

Use this command to configure the SNMPv3 engine ID. The SNMPv3 engine ID is used to
uniquely identify the SNMPv3 agent on a switch when communicating with SNMP
management clients. Once an SNMPv3 engine ID is assigned, this engine ID is
permanently associated with the switch until you change it.

Use the no variant of this command to set the user defined SNMPv3 engine ID to a system
generated pseudo-random value by resetting the SNMPv3 engine. The no snmp-server
engineID local
command has the same effect as the snmp-server engineID local default
command. Note that the

snmp-server engineID local reset

command is used to force

the system to generate a new engine ID when the current engine ID is also system
generated.

Syntax

snmp-server engineID local {<engine-id>|default}

no snmp-server engineID local

Mode

Global Configuration

Usage

All switches must have a unique engine ID which is permanently set unless it is configured
by the user.

In a stacked environment, if the same engine ID was automatically generated for all
members of the stack, conflicts would occur if the stack was dismantled. Therefore, each
member of the stack will generate its own engine ID and the stack master's ID is used
when transmitting SNMPv3 packets. Should a master failover occur, a different engine ID is
transmitted. You can modify this behavior by manually assigning all stack members the
same engine ID using the

snmp-server engineID local

command. However, should you

decide to separate the stack and use the switches individually, you must remember to
change or remove this configuration to prevent conflicts.

Examples

To set the SNMPv3 engine ID to 800000cf030000cd123456, use the following commands:

To set a user defined SNMPv3 engine ID back to a system generated value, use the
following commands:

Parameter

Description

Specify SNMPv3 Engine ID value, a string of up to 27 characters.

default

Set SNMPv3 engine ID to a system generated value by resetting the
SNMPv3 engine, provided the current engine ID is user defined. If the
current engine ID is system generated, use the

snmp-server

engineID local reset

command to force the system to generate a

new engine ID.

awplus#

configure terminal

awplus(config)#

snmp-server engineID local
800000cf030000cd123456

awplus#

configure terminal

awplus(config)#

no snmp-server engineID local