Support Support Downloads Knowledge Base Case Manager My Juniper 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

0

0

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

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

Symptoms:

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

Example:

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

SNMPv2-SMI::enterprises.4874.2.2.20.1.8.4.1.10.4903589 = Hex-STRING: 40 00
SNMPv2-SMI::enterprises.4874.2.2.20.1.8.4.1.10.6984526 = 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."

SYNTAX      BITS {
pending(0),
established(1),
deleting(2),
tunneling(3),
tunnelAcct(4),
terminated(5),
counted(6),
clientHandleSet(7),
sentAcctStart(8) }
Solution:

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