bgpPolicyRuleStatsMatches
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.10.1.1
Object
column SNMPv2-SMIGauge32
Counts the number of packets that matched a policy rule which is bound to specific peer, address family (afi) and sub address family (safi) with direction and type.
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.10.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpPolicyRuleStatsEntry
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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpPolicyRuleStatsMatches'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpPolicyRuleStatsMatches.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerAfiSafiAfiType>.<bgpPeerAfiSafiSafi>.<bgpPolicyBindDirection>.<bgpPolicyBindType>.<bgpPolicyBindNumber>.<bgpRouteMapIndex>.<bgpRouteMapNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-RadBgp-MIB::bgpPolicyRuleStatsMatches'
Syntax
- Source
- SNMPv2-SMIGauge32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295