show services sessions (Aggregated Multiservices)
Syntax
show services sessions <brief | extensive | terse> <application-protocol protocol> <count> <destination-port destination-port> <destination-prefix destination-prefix> <interface interface-name> <limit number> <protocol protocol> <service-set service-set> <source-port source-port> <source-prefix source-prefix>
Description
Display the session information for each service set in each member interface of the AMS interface.
Options
none | Display standard information about all sessions. |
brief | extensive | terse | (Optional) Display the specified level of output. |
application-protocol | (Optional) Display information about one of the following application protocols:
|
count | (Optional) Display a count of the matching entries. |
destination-port destination-port | (Optional) Display information for a particular destination port. The range of values is from 0 through 65,535. |
destination-prefix destination-prefix | (Optional) Display information for a particular destination prefix. |
interface interface-name | (Optional) Display information about a
particular interface. On M Series and T Series routers, |
limit number | (Optional) Maximum number of entries to display. |
protocol protocol | (Optional) Display information about one of the following IP types:
|
service-set service-set | (Optional) Display information for a particular service set. |
source-port source-port | (Optional) Display information for a particular source port. The range of values is from 0 through 65,535. |
source-prefix source-prefix | (Optional) Display information for a particular source prefix. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show services sessions
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
|
Name of the member interface ( |
|
Session ID that uniquely identifies the session. |
|
Name of the application. |
|
Session flag for the ALG:
|
|
Flag indicating whether IP action has been set for the session. |
|
Flag indicating whether the session has been offloaded to the Packet Forwarding Engine. |
|
Flag indicating whether the session is unidirectional. |
|
Name of a service set. Individual empty service sets are not displayed. |
|
Number of sessions. |
|
Protocol used for this session. |
|
Source prefix of the flow in the
format |
|
Destination prefix of the flow. For ICMP flows, port information is not displayed. |
|
Status of the flow:
|
|
Direction of the flow: ingress |
|
Number of frames in the flow. |
Sample Output
- show services sessions brief
- show services sessions interface mams-5/0/0 extensive
- show services sessions terse
- show services sessions count
show services sessions brief
user@host> show services sessions brief mams-1/0/0 (ams0) Service Set: napt_set, Session: 16777217, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.2:63 -> 40.40.40.2:63 Forward I 85689 UDP 40.40.40.2:63 -> 30.30.30.160:6000 Forward O 0
show services sessions interface mams-5/0/0 extensive
user@host> show services sessions interface mams-5/0/0 extensive mams-1/0/0 (ams0) Service Set: napt_set, Session: 16777235, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.62:63 -> 30.30.30.176:6003 UDP 30.30.30.62:63 -> 40.40.40.62:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.62:63 -> 30.30.30.176:6003 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777234, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.57:63 -> 30.30.30.163:6003 UDP 30.30.30.57:63 -> 40.40.40.57:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.57:63 -> 30.30.30.163:6003 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 [...output truncated...] mams-1/1/0 (ams0) Service Set: napt_set, Session: 16777234, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.63:63 -> 30.30.30.165:6004 UDP 30.30.30.63:63 -> 40.40.40.63:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.63:63 -> 30.30.30.165:6004 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777233, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.60:63 -> 30.30.30.164:6004 UDP 30.30.30.60:63 -> 40.40.40.60:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.60:63 -> 30.30.30.164:6004 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777232, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no [...output truncated...] mams-5/0/0 (ams0) Service Set: napt_set, Session: 16777225, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.64:63 -> 30.30.30.168:6002 UDP 30.30.30.64:63 -> 40.40.40.64:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.64:63 -> 30.30.30.168:6002 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777224, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.56:63 -> 30.30.30.171:6001 UDP 30.30.30.56:63 -> 40.40.40.56:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.56:63 -> 30.30.30.171:6001 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777223, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no [...output truncated...] mams-5/1/0 (ams0) Service Set: napt_set, Session: 16777233, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.61:63 -> 30.30.30.172:6004 UDP 30.30.30.61:63 -> 40.40.40.61:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.61:63 -> 30.30.30.172:6004 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777232, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no NAT PLugin Data: NAT Action: Translation Type - NAPT-44 NAT source 30.30.30.52:63 -> 30.30.30.175:6003 UDP 30.30.30.52:63 -> 40.40.40.52:63 Forward I 1805 Byte count: 83030 Flow role: Initiator, Timeout: 0 UDP 40.40.40.52:63 -> 30.30.30.175:6003 Forward O 0 Byte count: 0 Flow role: Responder, Timeout: 0 Service Set: napt_set, Session: 16777231, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no [...output truncated...]
show services sessions terse
user@router> show services sessions terse mams-1/0/0 (ams0) Service Set: napt_set, Session: 16777235, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.62:63 -> 40.40.40.62:63 Forward I 2541 UDP 40.40.40.62:63 -> 30.30.30.176:6003 Forward O 0 Service Set: napt_set, Session: 16777234, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.57:63 -> 40.40.40.57:63 Forward I 2541 UDP 40.40.40.57:63 -> 30.30.30.163:6003 Forward O 0 Service Set: napt_set, Session: 16777233, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.50:63 -> 40.40.40.50:63 Forward I 2541 UDP 40.40.40.50:63 -> 30.30.30.162:6003 Forward O 0 Service Set: napt_set, Session: 16777232, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.48:63 -> 40.40.40.48:63 Forward I 2541 UDP 40.40.40.48:63 -> 30.30.30.161:6003 Forward O 0 [...output truncated...] mams-1/1/0 (ams0) Service Set: napt_set, Session: 16777234, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.63:63 -> 40.40.40.63:63 Forward I 2543 UDP 40.40.40.63:63 -> 30.30.30.165:6004 Forward O 0 Service Set: napt_set, Session: 16777233, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.60:63 -> 40.40.40.60:63 Forward I 2543 UDP 40.40.40.60:63 -> 30.30.30.164:6004 Forward O 0 Service Set: napt_set, Session: 16777232, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.59:63 -> 40.40.40.59:63 Forward I 2543 UDP 40.40.40.59:63 -> 30.30.30.167:6003 Forward O 0 Service Set: napt_set, Session: 16777231, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.58:63 -> 40.40.40.58:63 Forward I 2543 UDP 40.40.40.58:63 -> 30.30.30.166:6003 Forward O 0 [...output truncated...] mams-5/0/0 (ams0) Service Set: napt_set, Session: 16777225, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.64:63 -> 40.40.40.64:63 Forward I 2543 UDP 40.40.40.64:63 -> 30.30.30.168:6002 Forward O 0 Service Set: napt_set, Session: 16777224, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.56:63 -> 40.40.40.56:63 Forward I 2543 UDP 40.40.40.56:63 -> 30.30.30.171:6001 Forward O 0 Service Set: napt_set, Session: 16777223, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.55:63 -> 40.40.40.55:63 Forward I 2543 UDP 40.40.40.55:63 -> 30.30.30.170:6001 Forward O 0 Service Set: napt_set, Session: 16777222, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.51:63 -> 40.40.40.51:63 Forward I 2543 UDP 40.40.40.51:63 -> 30.30.30.169:6001 Forward O 0 [...output truncated...] mams-5/1/0 (ams0) Service Set: napt_set, Session: 16777233, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.61:63 -> 40.40.40.61:63 Forward I 2544 UDP 40.40.40.61:63 -> 30.30.30.172:6004 Forward O 0 Service Set: napt_set, Session: 16777232, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.52:63 -> 40.40.40.52:63 Forward I 2545 UDP 40.40.40.52:63 -> 30.30.30.175:6003 Forward O 0 Service Set: napt_set, Session: 16777231, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.47:63 -> 40.40.40.47:63 Forward I 2545 UDP 40.40.40.47:63 -> 30.30.30.174:6003 Forward O 0 Service Set: napt_set, Session: 16777230, ALG: none, Flags: 0x2000, IP Action: no, Offload: no, Asymmetric: no UDP 30.30.30.46:63 -> 40.40.40.46:63 Forward I 2545 UDP 40.40.40.46:63 -> 30.30.30.173:6003 Forward O 0 [...output truncated...]
show services sessions count
user@host> show services sessions count Interface Service set Sessions count mams-1/0/0 napt_set 19 mams-1/0/0 ss1 0 mams-1/1/0 napt_set 18 mams-1/1/0 ss1 0 mams-5/0/0 napt_set 9 mams-5/0/0 ss1 0 mams-5/1/0 napt_set 17 mams-5/1/0 ss1 0
Release Information
Statement introduced in Junos OS Release 16.1.
Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.