All MIBs › IP-FORWARD-MIB › ipCidrRouteMask
ipCidrRouteMask
Module: IP-FORWARD-MIB
OID (symbolic): IP-FORWARD-MIB::ipCidrRouteMask
OID (numeric): 1.3.6.1.2.1.4.24.4.1.2
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-only
Description:
Indicate the mask to be logical-ANDed with the destination address before being compared to the value in the ipCidrRouteDest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the ipCidrRouteMask by reference to the IP Address Class.
Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the ipCidrRouteDest object is not equal to ipCidrRouteDest.
What is ipCidrRouteMask?
This object specifies the subnet mask that is logically ANDed with destination IP addresses before comparing them against the routing table's destination address. An operator or router configuration tool uses this mask to define which IP address bits are significant for routing decisions. The mask determines the prefix length (e.g., /24) and therefore which destination addresses will match this route.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.4.24.4.1.2 snmpwalk -v2c -c public <target> IP-FORWARD-MIB::ipCidrRouteMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.4.24.4.1.2.1 snmpget -v2c -c public <target> IP-FORWARD-MIB::ipCidrRouteMask.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.4 | ip | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.4.24 | ipForward | IP-FORWARD-MIB |
| 1.3.6.1.2.1.4.24.4 | ipCidrRouteTable | IP-FORWARD-MIB |
| 1.3.6.1.2.1.4.24.4.1 | ipCidrRouteEntry | IP-FORWARD-MIB |
| 1.3.6.1.2.1.4.24.4.1.2 | ipCidrRouteMask | IP-FORWARD-MIB |