Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[JunosE] Example - How to map juniAaaSubscriberState HEX output to mapped BITs



Article ID: KB33455 KB Last Updated: 06 Apr 2019Version: 1.0

This article provides an example of how to interpret the output of OID (juniAaaSubscriberState).


OID â€‹outputs do not match what the OID description (BIT map part).


SNMPWALK of OID (juniAaaSubscriberState) returns the following get next outputs:

SNMPv2-SMI::enterprises.4874. = Hex-STRING: 40 00
SNMPv2-SMI::enterprises.4874. = Hex-STRING: 80 00

OID Description:

"The set of possible AAA subscriber states, expressed as a bit map:

init            Initial state (transient)
pending         Auth/Acct or Addr Request is pending
established     Subscriber is authenticated
deleting        Deletion of subscriber is pending
tunneling       Subscriber is being tunneled
tunnelAcct      Tunnel accounting is enabled
terminated      Subscriber has been terminated
counted         Subscriber has been counted in statistics
clientHandleSet Client handle is assigned to user profile
sentAcctStart   Start accounting record is requested

More than one state bit can be active simultaneously. If no bits are set, the subscriber is in a transient initial state."

sentAcctStart(8) }

The OID BIT maps to the HEX values:

HEX     Binary
80    - 0000 0000 1000 0000 – SentAcctStart.
100   - 0000 0001 0000 0000 – ClientHandleSet.
200   - 0000 0010 0000 0000 – Counted.
400   - 0000 0100 0000 0000 – Terminated.
800   - 0000 1000 0000 0000 – TunnelAcct.
1000  - 0001 0000 0000 0000 – Tunneling.
2000  - 0010 0000 0000 0000 – Deleting.
4000  - 0100 0000 0000 0000 – Established.
8000  - 1000 0000 0000 0000 – Pending.

Therefore, in the example above "40 00" maps to "Established" and "80 00" maps to "Pending".

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search