egpNeighState
RFC1213-MIB ·
.1.3.6.1.2.1.8.5.1.1
Object
column mandatory
Enumeration
The EGP state of the local system with respect to this entry's EGP neighbor. Each EGP state is represented by a value that is one greater than the numerical value associated with said state in RFC 904.
Context
- MIB
- RFC1213-MIB
- OID
.1.3.6.1.2.1.8.5.1.1- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- egpNeighEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'RFC1213-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1213-MIB::egpNeighState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1213-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1213-MIB::egpNeighState.<egpNeighAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1213-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1213-MIB::egpNeighState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | acquisition |
3 | down |
4 | up |
5 | cease |