SNMP OID for l2vpn packet count

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hello!
Could you please help me with the following question - is there SNMP OID to get information about packets/bytes received/transmitted over l2vpn? Like in following output:

# sho mpls statistics l2vpn 
L2VPN Name
  Peer IP/LSP    Flags            RxPackets              RxBytes            TxPackets              TxBytes
----------------------------------------------------------------------------------------------------------
VPLS_1       
  172.22.128.5       U           1888057231     2060330230158660            621856797     2422473404045940
    LDP LSP          +                                                      621856797     2422473404045940
  172.22.128.4       U            617098340        3020443521248            746256718        4904750359892
    LDP LSP          +                                                      746256718        4904750359892

Model X670G2, 15.6.4.2.
Photo of Anatoly Machekhin

Anatoly Machekhin

  • 290 Points 250 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Necheporenko, Nikolay

Necheporenko, Nikolay, Employee

  • 1,450 Points 1k badge 2x thumb
Hello Anatoly,

* L6:U28.20 # sh mpls statistics l2vpn 

L2VPN Name
  Peer IP/LSP    Flags            RxPackets              RxBytes            TxPackets              TxBytes
----------------------------------------------------------------------------------------------------------
pw666          
  10.0.0.1           U                    0                    0                    0                    0
    LDP LSP          +                                                              0                    0

test_l2        
  10.0.0.1           U                    0                    0                    0                    0
    LDP LSP          +                                                              0                    0

vm13_vpls      
  10.0.0.1           U              4134550           1036949496               177608             17554336
    LDP LSP          +                                                         177608             17554336


Flags: (U) Up, (D) Down, (R) Ready, (S) Signaling, (+) In-use, (-) Not In-use

Or same counters collected by snmp (please read Release Notes for XOS 15.5 about PW-LSP Mib counters)
 
host:~ NikolayN$ snmpwalk -v 2c -c private 10.67.72.66 .1.3.6.1.4.1.1916.1.37.5.1
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.1.10001 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.1.10002 = Counter32: 4133551
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.1.10003 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.2.10001 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.2.10002 = Counter32: 1036699026
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.2.10003 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.3.10001 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.3.10002 = Counter32: 177568
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.3.10003 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.4.10001 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.4.10002 = Counter32: 17550380
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.4.10003 = Counter32: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.5.10001 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.5.10002 = Counter64: 4133605
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.5.10003 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.6.10001 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.6.10002 = Counter64: 1036726284
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.6.10003 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.7.10001 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.7.10002 = Counter64: 177570
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.7.10003 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.8.10001 = Counter64: 0
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.8.10002 = Counter64: 17550888
SNMPv2-SMI::enterprises.1916.1.37.5.1.1.8.10003 = Counter64: 0


Best Regards,
Nikolay
Photo of Anatoly Machekhin

Anatoly Machekhin

  • 290 Points 250 badge 2x thumb
Thank you, Nikolay!
Information in 15.5 Release Notes is required for understanding of PW counters :)