All MIBs › RC-IP-ROUTING-MIB › rcIpRouteMask
rcIpRouteMask
Module: RC-IP-ROUTING-MIB
OID (symbolic): RC-IP-ROUTING-MIB::rcIpRouteMask
OID (numeric): 1.3.6.1.4.1.2272.1.8.7.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 rcIpRouteDest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the rcIpRouteMask by determining whether the value of the correspondent rcIpRouteDest field belong to a class-A, B, or C network, and then using one of:
mask network 255.0.0.0 class-A 255.255.0.0 class-B 255.255.255.0 class-C
If the value of the rcIpRouteDest is 0.0.0.0 (a default route), then the mask value is also 0.0.0.0. It should be noted that all IP routing subsystems implicitly use this mechanism.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2272.1.8.7.1.2 snmpwalk -v2c -c public <target> RC-IP-ROUTING-MIB::rcIpRouteMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2272.1.8.7.1.2.1 snmpget -v2c -c public <target> RC-IP-ROUTING-MIB::rcIpRouteMask.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.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.8 | rcIp | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.8.7 | rcIpRouteTable | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.8.7.1 | rcIpRouteEntry | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.8.7.1.2 | rcIpRouteMask | RC-IP-ROUTING-MIB |