bgp4PathAttrIpAddrPrefix
BGP4-MIB ·
junose variant
·
.1.3.6.1.2.1.15.6.1.3
Object
column SNMPv2-SMIIpAddress
An IP address prefix in the Network Layer
Reachability Information field. This object
is an IP address containing the prefix with
length specified by
bgp4PathAttrIpAddrPrefixLen.
Any bits beyond the length specified by
bgp4PathAttrIpAddrPrefixLen are zeroed.
Context
- MIB
- BGP4-MIB
- OID
.1.3.6.1.2.1.15.6.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgp4PathAttrEntry
- 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 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrIpAddrPrefix'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrIpAddrPrefix.<bgp4PathAttrIpAddrPrefix>.<bgp4PathAttrIpAddrPrefixLen>.<bgp4PathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-MIB::bgp4PathAttrIpAddrPrefix'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of