juniBgpPeerType
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.4.1.35
Object
column Enumeration
The type of peer.
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.4.1.35- Type
- column
- Access
- readonly
- Status
- current
- Parent
- juniBgpPeerEntry
- Groups
- 9
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 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpPeerType'
More examples
Read one indexed 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::juniBgpPeerType.<juniBgpPeerVrfName>.<juniBgpPeerRemoteAddress>'
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::juniBgpPeerType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | peerTypeInternal |
2 | peerTypeExternal |
3 | peerTypeConfederation |
4 | peerTypeUnknown |