ipRipFilterNetMask
BINTEC-IPEXT-MIB ·
.0.33.1.4
Object
Indicate the mask to be logical-ANDed with the
ip-address before being compared to the value in the
ipRipFilterIpAddr field. If a subnet mask is not specified,
it will be set automatically according to the following table:
Class A: 255.0.0.0
Class B: 255.255.0.0
Class C: 255.255.255.0
If the value of the ipRipFilterIpAddr is 0.0.0.0
(a default route) then a mask value of 0.0.0.0 matches
all IP-Addresses (normally used to disable all routes
as last rule in the chain).
An ipRipFilterIpAddr of 0.0.0.0 with a mask value of
255.255.255.255 matches (filters) the default route exactly.
Host routes are created by setting the subnet mask
to 255.255.255.255.
Context
- MIB
- BINTEC-IPEXT-MIB
- OID
.0.33.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipRipFilterEntry
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 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-IPEXT-MIB::ipRipFilterNetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-IPEXT-MIB::ipRipFilterNetMask.<ipRipFilterIfIndex>.<ipRipFilterIpAddr>.<ipRipFilterNetMask>.<ipRipFilterPriority>.<ipRipFilterDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-IPEXT-MIB::ipRipFilterNetMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4