Trap destination, Community string, Snmp mib definition sample – Sierra Raven EDGE User Manual

Page 76

Advertising
background image

SNMP : Simple Network Management Protocol

Rev 3.0B Feb.08

72

Trap Destination

*SNMPTRAPDEST needs to be set with the destination IP and 
port. If either are set to zero or empty, SNMP traps are 
disabled.

Note: Traps are sent out according to the SNMP security level (i.e. if
the security level is 2, traps will be authenticated and encrypted).
Currently, the only trap supported is LinkUp.

Community String

The community string can be configured using *SNMPCOM‐
MUNITY. The default is “public”.

SNMP MIB Definition Sample

AIRLINK-MIB DEFINITIONS ::= BEGIN

IMPORTS
ObjectName FROM SNMPv2-SMI
MODULE-COMPLIANCE FROM SNMPv2-CONF;

org OBJECT IDENTIFIER ::= { iso 3 }
dod OBJECT IDENTIFIER ::= { org 6 }
internet OBJECT IDENTIFIER ::= { dod 1 }
private OBJECT IDENTIFIER ::= { internet 4 }
enterprises OBJECT IDENTIFIER ::= { private 1 }

airlink OBJECT IDENTIFIER ::= { enterprises 20542 }
general OBJECT IDENTIFIER ::= { airlink 1 }
common OBJECT IDENTIFIER ::= { airlink 2 }
status OBJECT IDENTIFIER ::= { airlink 3 }
gps OBJECT IDENTIFIER ::= { airlink 4 }

-- GENERAL --
phoneNumber OBJECT-TYPE
SYNTAX DisplayString (SIZE (10))
MAX-ACCESS read-only
STATUS current
::= { general 1 }

deviceID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
::= { general 2 }

Advertising