show services sessions (Aggregated Multiservices)
構文
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>
説明
AMS インターフェイスの各メンバー インターフェイスで設定された各サービスのセッション情報を表示します。
オプション
none | すべてのセッションに関する標準情報を表示します。 |
brief | extensive | terse | (オプション)指定された出力レベルを表示します。 |
application-protocol | (オプション)以下のアプリケーション プロトコルの 1 つに関する情報を表示します。
|
count | (オプション)一致するエントリーの数を表示します。 |
destination-port destination-port | (オプション)特定の宛先ポートの情報を表示します。値の範囲は 0~65,535 です。 |
destination-prefix destination-prefix | (オプション)特定の宛先プレフィックスの情報を表示します。 |
interface interface-name | (オプション)特定のインターフェイスに関する情報を表示します。M Series および T Series ルーターでは、 |
limit number | (オプション)表示するエントリーの最大数。 |
protocol protocol | (オプション)以下のいずれかの IP タイプに関する情報を表示します。
|
service-set service-set | (オプション)特定のサービス・セットの情報を表示します。 |
source-port source-port | (オプション)特定の送信元ポートの情報を表示します。値の範囲は 0~65,535 です。 |
source-prefix source-prefix | (オプション)特定の送信元プレフィックスの情報を表示します。 |
必要な権限レベル
ビュー
出力フィールド
表 1 は、 コマンドの出力フィールドをshow services sessions
示しています。出力フィールドは、概して表示される順序で一覧表示されます。
フィールド名 |
フィールドの説明 |
---|---|
|
メンバーインターフェイス( |
|
セッションを一意に識別するセッション ID。 |
|
アプリケーションの名前。 |
|
ALG のセッション フラグ:
|
|
セッションに対して IP アクションが設定されているかどうかを示すフラグ。 |
|
セッションがパケット転送エンジンにオフロードされたかどうかを示すフラグ。 |
|
セッションが単方向かどうかを示すフラグ。 |
|
サービス セットの名前。個々の空のサービス セットは表示されません。 |
|
セッション数。 |
|
このセッションに使用されるプロトコル。 |
|
形式 |
|
フローの宛先プレフィックス。ICMP フローの場合、ポート情報は表示されません。 |
|
フローのステータス:
|
|
フローの方向:イングレス |
|
フロー内のフレーム数。 |
サンプル出力
- show services セッション ブリーフ
- show services sessions interface mams-5/0/0 extensive
- show services sessions terse
- サービスセッション数を表示
show services セッション ブリーフ
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...]
サービスセッション数を表示
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
リリース情報
Junos OS リリース 16.1 で導入されたステートメント。
MXシリーズルーターのMX240、MX480、MX960の次世代サービス向けJunos OSリリース19.3R2で、MX-SPC3サービスカードで追加されたサポート。