All MIBs › ZYXEL-IP-FORWARD-MIB › zyIpRouteMetric
zyIpRouteMetric
Module: ZYXEL-IP-FORWARD-MIB
OID (symbolic): ZYXEL-IP-FORWARD-MIB::zyIpRouteMetric
OID (numeric): 1.3.6.1.4.1.890.1.15.3.32.3.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description:
The cost of the route.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.32.3.1.1.5 snmpwalk -v2c -c public <target> ZYXEL-IP-FORWARD-MIB::zyIpRouteMetric
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.32.3.1.1.5.1 snmpget -v2c -c public <target> ZYXEL-IP-FORWARD-MIB::zyIpRouteMetric.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> zyIpRouteMetric.1
How to Use in IPNetwork Monitor
Select a Zyxel XGS2220 Series (2023) as the target host to create a monitor — the SNMP service should be up and running on it. Click New Monitor, then check SNMP Custom on the Favorites tab, click Next, and confirm the host. On the next page, click Select... to open the built-in SNMP MIB Browser and locate zyIpRouteMetric under the zyxelIpRouteEntry branch of ZYXEL-IP-FORWARD-MIB, selecting the specific row/instance you want to monitor since this is a table column, then select it and click OK. It reports the routing metric (cost) associated with a specific IP route entry. On the monitor's Main parameters page you can set the target's SNMP port (default 161), credentials, polling interval, and other settings — see the SNMP Monitor help for details. On the State conditions and Alerting tabs, configure when the monitor should change state and trigger an alert; since this is an INTEGER-type OID, Value bounds is the most useful condition here — trigger an alert if the metric for a critical route changes unexpectedly, which can signal a route flap or an unwanted path change. Click Finish to create the monitor; you can adjust any parameter later.
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.890 | zyxel | ZYXEL-accessSwitch-MIB |
| 1.3.6.1.4.1.890.1 | products | ZYXEL-accessSwitch-MIB |
| 1.3.6.1.4.1.890.1.15 | enterpriseSolution | ZYXEL-ES-SMI |
| 1.3.6.1.4.1.890.1.15.3 | esMgmt | ZYXEL-ES-SMI |
| 1.3.6.1.4.1.890.1.15.3.32 | zyxelIpForward | ZYXEL-IP-FORWARD-MIB |
| 1.3.6.1.4.1.890.1.15.3.32.3 | zyxelIpRouteStatus | ZYXEL-IP-FORWARD-MIB |
| 1.3.6.1.4.1.890.1.15.3.32.3.1 | zyxelIpRouteTable | ZYXEL-IP-FORWARD-MIB |
| 1.3.6.1.4.1.890.1.15.3.32.3.1.1 | zyxelIpRouteEntry | ZYXEL-IP-FORWARD-MIB |
| 1.3.6.1.4.1.890.1.15.3.32.3.1.1.5 | zyIpRouteMetric | ZYXEL-IP-FORWARD-MIB |