All MIBs › ARISTA-BGP4V2-MIB › aristaBgp4V2NlriAsPathCalcLength
aristaBgp4V2NlriAsPathCalcLength
Module: ARISTA-BGP4V2-MIB
OID (symbolic): ARISTA-BGP4V2-MIB::aristaBgp4V2NlriAsPathCalcLength
OID (numeric): 1.3.6.1.4.1.30065.4.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 aristaBgp4V2NlriAsPathCalcLength?
The calculated length of the AS Path according to BGP rules (typically counting each AS once, even if repeated). Used directly in best-path selection and loop prevention. Example: 3 means the route traversed 3 ASes.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.30065.4.1.1.9.1.22 snmpwalk -v2c -c public <target> ARISTA-BGP4V2-MIB::aristaBgp4V2NlriAsPathCalcLength
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.30065.4.1.1.9.1.22.1 snmpget -v2c -c public <target> ARISTA-BGP4V2-MIB::aristaBgp4V2NlriAsPathCalcLength.1
Start monitoring Arista Networks EOS switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ARISTA-BGP4V2-MIB::aristaBgp4V2NlriAsPathCalcLength OID value, configure state conditions and alerts, and monitor any Arista Networks EOS switches from a single console.
OID Breakdown
Upper-level ancestors (8 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.30065 | arista | ARISTA-SMI-MIB |
| 1.3.6.1.4.1.30065.4 | aristaExperiment | ARISTA-SMI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.30065.4.1 | aristaBgp4V2 | ARISTA-BGP4V2-MIB |
| 1.3.6.1.4.1.30065.4.1.1 | aristaBgp4V2Objects | ARISTA-BGP4V2-MIB |
| 1.3.6.1.4.1.30065.4.1.1.9 | aristaBgp4V2NlriTable | ARISTA-BGP4V2-MIB |
| 1.3.6.1.4.1.30065.4.1.1.9.1 | aristaBgp4V2NlriEntry | ARISTA-BGP4V2-MIB |
| 1.3.6.1.4.1.30065.4.1.1.9.1.22 | aristaBgp4V2NlriAsPathCalcLength | ARISTA-BGP4V2-MIB |