LIST (DTCP)
Syntax
LIST DTCP/0.7 Csource-ID: user-name Cdest-ID: variable Flags: BOTH Seq: sequence-number Authentication-Info: ssh-authentication-string
Description
Request information that is returned in a LIST response. The response lists triggers only. It does not return sessions that are being mirrored. This DTCP message is supported for both FlowTapLite and radius-flow-tap services.
Consult the documentation for your mediation device to learn how to configure DTCP messages on the device.
You can ignore the following fields in command output: AVERAGE-BANDWIDTH, MATCHING-PACKETS, MATCHING-BYTES, and NUM-REFRESH. The LAST-REFRESH field shows the time when the corresponding DTCP ADD request was processed.
Options
Csource-ID: user-name | Username on the router. This name must be configured on the router. |
Cdest-ID: variable | ID of the mediation device. If a LIST DTCP command is sent with multiple Cdest-IDs, the
error |
Flags: flag | BOTH is the only flag supported. This field must be included in the LIST message for the LIST request to not be rejected until Junos OS Releases 14.1R4 and 14.2R2. Starting with Junos OS Release 14.1R5, 14.2R3, and 15.1R1, the Flags field is not a required parameter in the DTCP LIST message. The LIST request is not rejected if the LIST message does not contain the Flags field. If the DTCP LIST message contains the Flags field, the value of that field is processed. If the LIST message does not contain the Flags field, the CRITERIA field parameter is used for the Flags field. Starting with Junos OS Release 12.3, when more than one CDest-ID parameter is present in the DTCP LIST or DELETE DTCP commands, the error code 400 (Bad Request) is returned in the response, instead of the error code 431 (Unknown Content Destination). |
Seq: sequence-number | Number added by the mediation device. DTCP messages contain a monotonically increasing sequence number for each successive message. |
Authentication-Info: ssh-authentication-string | String used when you are using SSH to connect to the router. |
Required Privilege Level
Not applicable.
Sample Output
LIST DTCP
LIST DTCP/0.7 Csource-ID: dtcp1 Cdest-ID: cd1 Flags: BOTH Seq: 9 Authentication-Info: f6dd64643021debb167ce2fb2d3c7b6622a87e09 DTCP/0.7 200 OK SEQ: 9 TIMESTAMP: 2011-02-13 15:57:47.667 CRITERIA-ID: 2 CSOURCE-ID: dtcp1 CDEST-ID: cd1 CSOURCE-ADDRESS: 203.0.113.224 FLAGS: BOTH AVERAGE-BANDWIDTH: 0 MATCHING-PACKETS: 0 MATCHING-BYTES: 0 NUM-REFRESH: 0 LAST-REFRESH: 2019-06-13 23:45:34.734 X-JTAP-CDEST-DEST-ADDRESS: 192.0.2.168 X-JTAP-CDEST-DEST-PORT: 65535 X-JTAP-CDEST-SOURCE-ADDRESS: 198.51.100.10 X-JTAP-CDEST-SOURCE-PORT: 50000 X-JTAP-CDEST-TTL: 64 X-INTERFACE-ID: demux0.30010002 X-MD-INTERCEPT-ID: 0x0101010130010002 CRITERIA-NUM: 1 CRITERIA-COUNT: 0 CRITERIA-ID: 3 CSOURCE-ID: dtcp1 CDEST-ID: cd1 CSOURCE-ADDRESS: 203.0.113.224 FLAGS: BOTH AVERAGE-BANDWIDTH: 0 MATCHING-PACKETS: 0 MATCHING-BYTES: 0 NUM-REFRESH: 0 LAST-REFRESH: 2019-06-13 23:45:48.912 X-JTAP-CDEST-DEST-ADDRESS: 192.0.2.168 X-JTAP-CDEST-DEST-PORT: 65535 X-JTAP-CDEST-SOURCE-ADDRESS: 198.51.100.10 X-JTAP-CDEST-SOURCE-PORT: 50000 X-JTAP-CDEST-TTL: 64 X-INTERFACE-ID: demux0.30010001 X-MD-INTERCEPT-ID: 0x0101010130010001 CRITERIA-NUM: 2 CRITERIA-COUNT: 2 AUTHENTICATION-INFO: 361171ccb24dde6afe8ef66021287f9b8ac16028