All MIBs › LBMSH-MIB › setIpIfRouter
setIpIfRouter
Module: LBMSH-MIB
OID (symbolic): LBMSH-MIB::setIpIfRouter
OID (numeric): 1.3.6.1.4.1.43.10.2.2.2
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description:
This is the IP address of the default router to be used for sending IP datagrams to remote destinations which have no suitable entry in the routing table. This corresponds to an entry in the MIB-II ipRouteTable with an ipRouteDest field of '0.0.0.0' (the default router) which is set up from this value after a system restart.
Changes to this value do not affect the IP routing table until after the next system restart. (To change the default router without a restart, the IP routing table should be changed directly, with an equivalent change to setIpIfRouter only if the change is required to be made permanently.)
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.10.2.2.2 snmpwalk -v2c -c public <target> LBMSH-MIB::setIpIfRouter
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.43.10.2.2.2.1 snmpget -v2c -c public <target> LBMSH-MIB::setIpIfRouter.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.43.10.2.2.2.1 a <value>
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.43 | a3Com | A3COM-HUAWEI-OID-MIB |
| 1.3.6.1.4.1.43.10 | generic | A3Com-products-MIB |
| 1.3.6.1.4.1.43.10.2 | setup | A3COM0004-GENERIC |
| 1.3.6.1.4.1.43.10.2.2 | setupIp | LBHUB-BOOM-MIB |
| 1.3.6.1.4.1.43.10.2.2.2 | setIpIfRouter | LBMSH-MIB |