Interfaces MIB on all dynamic subscriber interfaces are enabled for Junos OS versions for Subscriber Management before 15.1. After upgrading to Junos OS 15.1 and later, static pp0 interfaces are disabled by default. This is an enhancement to achieve maximum performance. This article will explain how to enable representation of the Interface MIB for the specified dynamic interface as needed.
Refer to the following output. Ten PPPoE subscribers have connected. But the command show snmp mib walk jnxPPPoEMIB
gets PPPoE if up count is "0".
user@MX480> show subscribers summary
Subscribers by State
Active: 20
Total: 20
Subscribers by Client Type
VLAN: 10
PPPoE: 10 <-----Login 10 PPPoE subscribers
Total: 20
user@MX480> show snmp mib walk jnxPPPoEMIB
2016 Oct 27 06:28:38
jnxPPPoENextIfIndex.0 = 0
jnxPPPoESubIfNextIfIndex.0 = 0
jnxPPPoEMajorInterfaceCount.0 = 0
jnxPPPoESummaryMajorIfAdminUp.0 = 0
jnxPPPoESummaryMajorIfAdminDown.0 = 0
jnxPPPoESummaryMajorIfOperUp.0 = 0 <----- PPPoE if up count is "0".
jnxPPPoESummaryMajorIfOperDown.0 = 0
jnxPPPoESummaryMajorIfLowerLayerDown.0 = 0
jnxPPPoESummaryMajorIfNotPresent.0 = 0
jnxPPPoESummarySubInterfaceCount.0 = 0
jnxPPPoESummarySubIfAdminUp.0 = 0
jnxPPPoESummarySubIfAdminDown.0 = 0
jnxPPPoESummarySubIfOperUp.0 = 0
jnxPPPoESummarySubIfOperDown.0 = 0
jnxPPPoESummarySubIfLowerLayerDown.0 = 0
jnxPPPoESummarySubIfNotPresent.0 = 0
SNMP support for enhanced subscriber management dynamic interfaces
Starting in Junos OS Release 15.1R3, SNMP support is available for enhanced subscriber management dynamic interfaces such as VLAN, PPP, and so on. An extension has been added to the Juniper Networks enterprise-specific Interface MIB to map enhanced subscriber management interfaces to logical route-mapping interfaces and to collect information about enhanced subscriber management interfaces. By default, data about enhanced subscriber management interfaces is not collected in the interfaces tables such as ifTable, ifXTable, and ifStackTable.
To enable querying of enhanced subscriber management interfaces through the Interface MIB, the Interface MIB must be configured at the interface level by enabling the interface-mib statement at the [edit dynamic-profiles profile-name interfaces interface-name
] hierarchy level.
set dynamic-profiles xxx interface pp0 interface-mib <----- enable the interface-mib in dynamic-profile