Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show network-access aaa subscribers session-id

Syntax

show network-access aaa subscribers session-id session-id<brief | detail>

Release Information

Command introduced in Junos OS Release 10.0.

Description

Display information about the specified subscriber session.

Options

session-id

ID of the subscriber session.

brief | detail

(Optional) Display the specified level of information.

Required Privilege Level

view

List of Sample Output

show network-access aaa subscribers session-id brief
show network-access aaa subscribers session-id detail
show network-access aaa subscribers session-id detail (Service with Multiple Instances)

Output Fields

Table 1 lists the output fields for the show network-access aaa subscribers session-id command. Output fields are listed in the approximate order in which they appear.

Table 1: show network-access aaa subscribers session-id Output Fields

Field Name

Field Description

Level of Output

Type and Client type

Type of client.

All levels

Accounting

Status of accounting, and type of accounting if accounting is on.

brief

Service type

Type of accounting: volume, time, volume+time, or na.

brief

Quota

Quota for service: volume (in Mbps) or time (seconds).

brief

Username

Name of the user logged in to the session.

detail

Stripped username

Username after the domain has been removed.

detail

Logical system/Routing instance and AAA Logical system/Routing instance

Name of the routing instance, logical system name, or both used for the session.

All levels

Target Logical system/Routing instance

Logical system/routing instance to which the session is mapped.

detail

Access-profile

Access profile used for AAA services for the session.

detail

Session ID

ID of the subscriber session.

The session ID value displayed under Service name is the service session ID.

detail

Accounting Session ID

ID of the accounting session (RADIUS attribute 44). The ID appears in decimal or description format, as specified by the accounting-session-id-format statement.

detail

Multi Accounting Session ID

Bundle ID for MLPPP sessions. Acct-Multi-Session-Id (RADIUS attribute 50) uses the value of the session database bundle session ID to enable RADIUS to link together multiple related sessions. The value of this field is zero when no MLPPP sessions exist.

detail

IP Address

IP address of the subscriber.

detail

Authentication State

State of the subscriber authentication session: AuthInit, AuthStart, AuthChallenge, AuthRedirect, AuthClntRespWait, AuthAcctVolStatsAckWait, AuthAcctStopAckWait, AuthServCreateRespWait, AuthLogoutStart, AuthStateActive, AuthClntLogoutRespWait, AuthProfileUpdateWait, AuthProvisionRespWait, AuthProvisionServiceCreationWait

detail

Gx-Plus Provisioning State

State of Gx-Plus provisioning:

  • ignored—Subscriber has no IPv4 address or NAS-Port-ID.
  • in-progress—Provisioning is in progress.
  • logout—Subscriber logout is in progress.
  • logout-done—Logout response has been received.
  • response-received—Provisioning response has been received.

detail

Accounting State

State of the subscriber accounting session: Acc-Init, Acc-Start-Sent, Imm-Update-Stats-Pending, Acc-Interim-Sent, Acc-Stop-Stats-Pending, Acc-Stop-Sent, Acc-Stop-On-Fail-Deny-Sent, Acc-Stop-Ackd

detail

Provisioning-type

Provisioning type for this session:

  • gx-plus—Subscriber service uses Gx-Plus provisioning.
  • jsrc—Subscriber service uses JSRC provisioning.
  • none—Provisioning is not enabled.

detail

Service name

Name of the attached service or policy.

  • For RADIUS-activated and CLI-activated services, displays the full activation string for the service. If the activation string includes service parameters, then both the service name and service parameters are displayed.
  • For JSRC-activated policies—displays the policy name.

All levels

Service State

State of the service provided in the subscriber session.

detail

Session uptime

How long the session has been up, in HH:MM:SS.

All levels

Accounting status

Status of the accounting configuration for the service, on or off, and the type of accounting, time or volume+time. Configured in RADIUS Service-Statistics VSA [26-69].

detail

Service accounting session ID

ID of the service accounting session; RADIUS Acct-Session-Id attribute (44). The ID appears in decimal or description format, as specified by the accounting-session-id-format statement.

detail

Service accounting state

State of the service accounting session: Acc-Init, Acc-Start-Sent, Imm-Update-Stats-Pending, Acc-Interim-Sent, Acc-Stop-Stats-Pending, Acc-Stop-Sent, Acc-Stop-On-Fail-Deny-Sent, Acc-Stop-Ackd

detail

Accounting interim interval

Amount of time between interim accounting updates for this service, in seconds; RADIUS Service-Interim-Acct-Interval VSA [26-140] or Diameter Acct-Interim-Interval AVP (85).

detail

Sample Output

show network-access aaa subscribers session-id brief

user@host> show network-access aaa subscribers session-id 6 brief
Logical system/Routing instance   Client type   Session uptime    Accounting
default:default                   dhcp          00:01:29          on/time       
Service name               Service type   Quota           Accounting
filter-service             -na-           -na-            off           
1337994190863204450        -na-           -na-            off           

show network-access aaa subscribers session-id detail

user@host> show network-access aaa subscribers session-id 5 detail
Type: dhcp
Username: larry@isp5.net 
Stripped username: larry
AAA Logical system/Routing instance: default:default
Target Logical system/Routing instance: default:retail-onlinecompany-ca
Access-profile:retailer-onlinecompany-sjc
Session ID: 5
Accounting Session ID: jnpr ge-1/0/0.101:1
Multi Accounting Session ID: 0
IP Address: 192.168.44.104
Authentication State: AuthStateActive
Gx-Plus Provisioning State: response-received
Accounting State: Acc-Interim-Sent
Provisioning-type: jsrc
Service name: filter-service–1
 Service State: SvcActive
 Session ID: 7
 Session uptime: 00:01:33
Service name: 1337994190863204450
 Service State: SvcActive
 Session ID: 8
 Session uptime: 00:01:33
 Accounting status: on/volume+time
 Service accounting session ID: 1:2-1322506006
 Service accounting state: Acc-Interim-Sent
 Accounting interim interval: 600

show network-access aaa subscribers session-id detail (Service with Multiple Instances)

user@host> show network-access aaa subscribers session-id 6 detail
Type: dhcp
Stripped username: fms2
AAA Logical system/Routing instance: default:default
Target Logical system/Routing instance: default:default
Access-profile: attr_test_profile1
Session ID: 6
Accounting Session ID: 6
Multi Accounting Session ID: 0
IP Address: 100.20.0.10
Authentication State: AuthStateActive
Accounting State: Acc-Interim-Sent
Provisioning Type: None
Service name: economy-service(up-filter,down-filter)
  Service State: SvcActive
  Service Family: inet
  Service Activation Source: Radius
  Session ID: 7
  Session uptime: 00:04:36
  Accounting status: on/volume+time
  Service accounting session ID: 6:7-1354811427
  Service accounting state: Acc-Start-Sent
  Accounting interim interval: 600
Service name: economy-service(upstrm-filter,dwnstrm-filter)
  Service State: SvcActive
  Service Family: inet
  Service Activation Source: Radius
  Session ID: 8
  Session uptime: 00:04:36
  Accounting status: on/volume+time
  Service accounting session ID: 6:8-1354811427
  Service accounting state: Acc-Start-Sent
  Accounting interim interval: 600

Published: 2013-03-14