snmpAdminLinkTrapEvent
BINTEC-ADMIN-MIB ·
.0.3.1.8
Object
scalar r/w
Enumeration
Defines the ifOperStatus transition(s) of an ifTable object
that generates a SNMP linkUp/linkDown trap:
none : disable linkUp/linkDown trap generation.
any : enable bintec like trap generation.
- entering the up state generates a up trap
- any other state change generates a down trap
up : enable rfc1157 like trap generation.
- entering the up state generates a up trap
- leaving the up state generates a down trap
down : enable rfc2233 like trap generation.
- leaving the down state generates a up trap
- entering the down state generates a down trap
Seven parameters are sent in each linkUp/linkDown trap pdu:
1. ifEntry.ifIndex (mandatory for linkUp/Down traps)
2. ifEntry.ifDescr
3. ifEntry.ifType
4. ifEntry.ifAdminStatus
5. ifEntry.ifOperStatus
6. system.Description
7. system.Name
Context
- MIB
- BINTEC-ADMIN-MIB
- OID
.0.3.1.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpAdmin
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-ADMIN-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-ADMIN-MIB::snmpAdminLinkTrapEvent.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-ADMIN-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-ADMIN-MIB::snmpAdminLinkTrapEvent'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | any |
3 | up |
4 | down |