Unfortunately, there is no OID that nicely summarizes by VLAN. You could write an SNMP script or use the Utility MIB to accomplish what you're after.
------------------------------
Jordan Head
Resident Engineer - Sr. Staff
JNCIEx3 (SP|DC|ENT)
------------------------------
Original Message:
Sent: 02-15-2021 14:19
From: Unknown User
Subject: Graphing Subscriber Count with Specific VLAN/Stacked VLAN ID on MX-204
Hello !
I wan to monitor following on my NMS but could not find relevant OID value on Internet including Juniper SNMP MIB Explorer. Please help me in this and share exact OID values for below if possible:
1) VIP-CT1-SPO-BNG-01> show subscribers vlan-id 2507 count
Total subscribers: 3057, Active Subscribers: 3057
2) VIP-CT1-SPO-BNG-01> show subscribers vlan-id 2521 count
Total subscribers: 1465, Active Subscribers: 1465
Platform: Juniper MX-204 (19.4R3-S1.3)
Thanking You in advance.
Flavio