egpNeighAs
RFC1213-MIB ·
.1.3.6.1.2.1.8.5.1.3
Object
The autonomous system of this EGP peer. Zero should be specified if the autonomous system number of the neighbor is not yet known.
Context
- MIB
- RFC1213-MIB
- OID
.1.3.6.1.2.1.8.5.1.3- 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::egpNeighAs'
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::egpNeighAs.<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::egpNeighAs'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647