Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services subscriber sessions

    Syntax

    show services subscriber sessions<brief | detail | summary><client-id client-id><interface interface-name><ip-address ip-address><routing-instance routing-instance-name><service-interface interface-name><user-id user-id>

    Release Information

    Command introduced in Junos OS Release 10.2.

    Description

    Display information about the active packet-triggered subscriber sessions on the router.

    Options

    brief | detail | summary

    (Optional) Display the specified level of output. The default level is brief.

    client-id client-id

    (Optional) Displays information about the active packet-triggered subscriber sessions for this client ID. The client ID is a generated identifier assigned to each packet-triggered subscriber known to the router.

    interface interface-name

    (Optional) Displays information about the active packet-triggered subscriber sessions for the subscriber with this underlying interface name.

    ip-address ip-address

    (Optional) Displays information about the active packet-triggered subscriber sessions for the subscriber with this IP address.

    routing-instance routing-instance-name

    (Optional) Displays information about the active packet-triggered subscriber sessions for the subscriber on this routing instance.

    service-interface interface-name

    (Optional) Displays information about the active packet-triggered subscriber sessions for the subscriber with this service interface name.

    user-id user-id

    (Optional) Displays information about the active packet-triggered subscriber sessions with this user ID.

    Required Privilege Level

    view

    List of Sample Output

    show services subscriber sessions client-id summary
    show services subscriber sessions client-id
    show services subscriber sessions client-id detail
    show services subscriber sessions detail

    Output Fields

    Table 1 lists the output fields for the show services subscriber sessions command. Output fields are listed in the approximate order in which they appear.

    Table 1: show services subscriber sessions Output Fields

    Field Name

    Field Description

    Client-ID

    Client identifier.

    IP-address

    IPv4 address.

    Underlying-interface

    Interface where services are applied.

    User-name

    Subscriber identifier.

    Service interface name

    Location of the MS-DPC on which the subscriber is instantiated.

    Routing instance

    Routing instance on which the subscriber is instantiated.

    State

    State of the subscriber.

    Sample Output

    show services subscriber sessions client-id summary

    user@host> show services subscriber sessions client-id 1 summary
    1
    

    show services subscriber sessions client-id

    user@host> show services subscriber sessions client-id 1
    Client-ID            IP-address      Underlying-interface User-name
    1                    192.0.2.80        ge-1/3/2.1           ip80.1.1.2@default
    
    

    show services subscriber sessions client-id detail

    user@host> show services subscriber sessions client-id 1 detail
    Subscriber session 1 
      User name: ip80.1.1.2@default 
      Interface name: ge-1/3/2.1 
      User IP address: 192.0.2.80 
      Service interface name: ms-2/0/0 
      Routing instance: default 
      State: logged in 
      Login time: Tue Dec 29 19:56:07 2009 
      1 service session(s) instantiated: 
      Service session 1323423760868442114 => State: activated 
    

    show services subscriber sessions detail

    user@host>show services subscriber sessions detail
    Subscriber session 4503599627370515
      User name: user.1234.9876@test.example.net<203.0.113.111>:glacier:ge-1/0/6.0[:0-0]
      Interface name: ge-1/0/3.8
      User IP address: 203.0.113.111
      Service interface name: ms-4/0/0
      Partition name: radius-p1
      State: logged in
      Subscriber profile: enable_HCM_only
      Login time: Mon Oct  4 14:32:51 2010
      1 service session(s) instantiated:
      Service session radius => State: activated
    

    Modified: 2017-04-26