All MIBs › BGP4-V2-MIB-JUNIPER › jnxBgpM2AsPathCalcLength
jnxBgpM2AsPathCalcLength
Module: BGP4-V2-MIB-JUNIPER
OID (symbolic): BGP4-V2-MIB-JUNIPER::jnxBgpM2AsPathCalcLength
OID (numeric): 1.3.6.1.4.1.2636.5.1.1.3.4.1.11
Node type: OBJECT-TYPE
Type: Unsigned32
Access: read-only
Description: This value represents the calculated length of the AS Path according to the rules of the BGP specification. This value is used in route selection.
What is jnxBgpM2AsPathCalcLength?
This value represents the computed length of the AS_PATH attribute according to BGP rules (counting AS_SETS as 1 and AS_SEQUENCES as the number of hops). Used in route selection to prefer shorter paths. Example: AS_PATH 65001 65002 65003 has length 3; AS_PATH (65001 65002) 65003 has length 2 if the first segment is a set.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2636.5.1.1.3.4.1.11 snmpwalk -v2c -c public <target> BGP4-V2-MIB-JUNIPER::jnxBgpM2AsPathCalcLength
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2636.5.1.1.3.4.1.11.1 snmpget -v2c -c public <target> BGP4-V2-MIB-JUNIPER::jnxBgpM2AsPathCalcLength.1
Start monitoring Juniper Networks routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-V2-MIB-JUNIPER::jnxBgpM2AsPathCalcLength OID value, configure state conditions and alerts, and monitor any Juniper Networks routers from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2636 | juniperMIB | JUNIPER-SMI |
| 1.3.6.1.4.1.2636.5 | jnxExperiment | JUNIPER-EXPERIMENT-MIB |
| 1.3.6.1.4.1.2636.5.1 | jnxBgpM2Experiment | JUNIPER-EXPERIMENT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2636.5.1.1 | jnxBgpM2 | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.3 | jnxBgpM2Rib | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.3.4 | jnxBgpM2PathAttrTable | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.3.4.1 | jnxBgpM2PathAttrEntry | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.3.4.1.11 | jnxBgpM2AsPathCalcLength | BGP4-V2-MIB-JUNIPER |