juniBgpLocalAsNumber
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.1.1
Object
scalar deprecated
r/w
Integer32
Deprecated. The local autonomous system number. This object has been replaced by juniBgpFourOctetLocalAsNumber. It is still possible to get and set this object, but if the actual local AS number is greater than 65535, getting this object returns 23456 (AS-TRANS).
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Parent
- juniBgpGeneralGroup
- Groups
- 4
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 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpLocalAsNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-BGP-MIB::juniBgpLocalAsNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535