beautypg.com

Message format for snmpv1 and snmpv2c – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1768

background image

SNMP Introduction

Software Reference for x310 Series Switches

67.10

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Message Format for SNMPv1 and SNMPv2c

Table 67-1: Fields in an SNMP message

Table 67-2: SNMP PDUs

Table 67-3: Generic SNMP traps

Field

Function

Version

The version of the SNMP protocol. The value is version-1 (0) for
the SNMP protocol as defined in RFC 1157, or version-2c (1) for
the SNMP protocol as defined in RFC 1902.

Community

The name of an SNMP community, for authentication purposes

SNMP PDU

An SNMP Protocol Data Unit (PDU).

PDU

Function

get-request

Sent by an NMS to an agent, to retrieve the value of an object.

get-next-request

Sent by an NMS to an agent, to retrieve the value of the next
object in the sub-tree. A sub-tree is traversed by issuing a get-
request PDU followed by successive get-next-request PDUs.

get-bulk-request

Sent by an NMS to an agent to request a large amount of data
with a single message. This is for SNMPv2c messages.

set-request

Sent by an NMS to an agent, to manipulate the value of an
object. SNMP PDU Version Community

get-response

Sent by an agent to an NMS in response to a get-request, get-
next-request, get-bulk-response, or set-request PDU.

trap

Sent by an agent to an NMS to notify the NMS of a extraordinary
event.

report

Although not explicitly defined in the RFCs, reports are used for
specific purposes such as EngineID discovery and time
synchronization.

Value

Meaning

coldStart

The agent is re-initializing itself. Objects may be altered.

warmStart

The agent is re-initializing itself. Objects are not altered.

linkDown

An interface has changed state from up to down.

linkUp

An interface has changed state from down to up.

authenticationFailure

An SNMP message has been received with an invalid
community name.

egpNeighborLoss

An EGP peer has transitioned to down state.