bgpNlriPrefixPeerType
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.5.1.43
Object
column BgpNlriPeerTypes
If bgpNlriPrefixPeerOrAfm is peer, this field indicates whether the source peer is an iBGP or eBGP peer. If bgpNlriPrefixPeerOrAfm is afm, this field is set to 'none'.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.5.1.43- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpNlriPrefixEntry
- Groups
- 1
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPeerType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPeerType.<bgpRmEntIndex>.<bgpNlriPrefixAfi>.<bgpNlriPrefixSafi>.<bgpNlriPrefixPrfx>.<bgpNlriPrefixPrfxLen>.<bgpNlriPrefixPeerOrAfm>.<bgpNlriPrefixPeerAfmIndex>.<bgpNlriPrefixPathId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpNlriPrefixPeerType'
Syntax
- Source
- BgpNlriPeerTypes
- Base type
Enumeration
Values & Constraints
Type Values
1 | none |
2 | iBGP |
3 | eBGP |
Conformance
Member of