All MIBs › BGP4V2-MIB › bgp4V2NlriAsPathCalcLength
bgp4V2NlriAsPathCalcLength
Module: BGP4V2-MIB
OID (symbolic): BGP4V2-MIB::bgp4V2NlriAsPathCalcLength
OID (numeric): 1.3.6.1.4.1.1991.3.5.1.1.9.1.22
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 bgp4V2NlriAsPathCalcLength?
This is the calculated length of the AS Path according to BGP rules, used during best-path selection to prefer shorter paths. Example: a path with length 3 (three AS hops) is preferred over length 5.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.9.1.22 snmpwalk -v2c -c public <target> BGP4V2-MIB::bgp4V2NlriAsPathCalcLength
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.9.1.22.1 snmpget -v2c -c public <target> BGP4V2-MIB::bgp4V2NlriAsPathCalcLength.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> bgp4V2NlriAsPathCalcLength.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4V2-MIB::bgp4V2NlriAsPathCalcLength OID value, configure state conditions and alerts, and monitor any BGP-speaking 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.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3 | experimental | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3.5 | bgp4V2Root | FOUNDRY-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1991.3.5.1 | bgp4V2 | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1 | bgp4V2Objects | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.9 | bgp4V2NlriTable | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.9.1 | bgp4V2NlriEntry | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.9.1.22 | bgp4V2NlriAsPathCalcLength | BGP4V2-MIB |