Description

This article provides information on how to verify LDP traffic statistics counts via SNMP MIB walk and CLI commands, applicable to MX and PTX devices running Junos 20.3X75-D440.10.

Solution

https://apps.juniper.net/mib-explorer/navigate?software=Junos%20OS&release=21.4R3&name=jnxLdpStatsEntry&oid=1.3.6.1.4.1.2636.3.14.2.1

 

The above link contains numeric OID value: 1.3.6.1.4.1.2636.3.14.2.1


Example from lab:

labroot@device> show version | grep :

Hostname: jtac-PTX1000-r037

Model: ptx1000

Junos: 20.3X75-D440.10

 

labroot@device> show ldp traffic-statistics

INET FEC Statistics:

 

FEC                 Type               Packets             Bytes   Shared

1.1.1.1/32         Transit                  0                 0   No

                    Ingress               4598            384772   No

 

labroot@device> show snmp mib walk jnxLdpStatsEntry

jnxLdpFecStatisticsStatus.1.1.4.1.1.1.1.32 = 1

jnxLdpIngressOctets.1.1.4.1.1.1.1.32 = 384772

jnxLdpIngressPackets.1.1.4.1.1.1.1.32 = 4598

jnxLdpTransitOctets.1.1.4.1.1.1.1.32 = 0

jnxLdpTransitPackets.1.1.4.1.1.1.1.32 = 0

 

Same true for MX/PTX 20.3X75-D44.13.

Modification History

2024-10-14 : Article Created