Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

ADD DTCP

Syntax

ADD DTCP/0.7Csource-ID: user-nameCdest-ID: variablePriority: priority-numberX-Drop-Policy: policy-nameX-JTap-Cdest-Dest-Address: ipv4-addressX-JTap-Cdest-Dest-Port: udp-portX-JTap-Cdest-Source-Address: ipv4-addressX-JTap-Cdest-Source-Port: port-numberX-JTap-Cdest-TTL: time-to-liveX-MD-Intercept-Id: 8-byte-idDtcp-trigger: trigger-valueDtcp-attribute: attribute-valueFlags: flagSeq: sequence-numberAuthentication-Info: ssh-authentication-string

Description

Specify the DTCP attributes used in ADD messages to cause the router to trigger traffic mirroring and provide instructions to populate fields in the encapsulation header for packets sent to the mediation device.

The DTCP ADD message can be sent either before or after subscribers log in through the interface.

The following attributes are added to the packet header of mirrored packets that the router sends to the mediation device. These attributes are required in the DTCP ADD message.

  • X-JTap-Cdest-Dest-Address
  • X-JTap-Cdest-Dest-Port
  • X-MD-Intercept-Id

Options

Csource-ID: user-name

Username on the router. This username must be configured as a DTCP user on the router using the set system login class or set system login user statements.

Cdest-ID: variable

ID of the mediation device.

Flags: flag

STATIC is the only flag supported.

Priority: priority-number

This implementation of DTCP does not use the priority number.

X-Drop-Policy policy-name

Name of the policy used to determine which mirrored packets are no longer sent to the mediation device.

X-JTap-Cdest-Dest-Address: ipv4-address

Destination IPv4 address of the mediation device to which intercepted packets are sent. You must include this attribute in your ADD messages.. It is used in the header of mirrored traffic that is sent to the mediation device.

X-JTap-Cdest-Dest-Port: udp-port

Destination port of the mediation device to which intercepted packets are sent. You must include this attribute in your ADD messages. It is used in the header of mirrored traffic that is sent to the mediation device.

X-JTap-Cdest-Source-Address: ipv4-address

Source IPv4 address. You must include this attribute in your ADD messages. If the value entered does not match the value configured on the router using the set services radius-flow-tap source-ipv4-address source-ipv4-address statement, it is replaced by configured value.

X-JTap-Cdest-Source-Port: port-number

Source port. You must include this attribute in your ADD messages. If the value entered does not match the value of X-Jtap-Cdest-Dest-Port, it is ignored.

X-JTap-Cdest-TTL: time-to-live

TTL value to be used in the forwarded packet.

X-MD-Intercept-Id 8-byte-id

An Id that is used to identify a subscriber. You must include this attribute in your ADD messages. This ID is used in the header of mirrored traffic that is sent to the mediation device to allow the device to track a subscriber. The X-MD-Intercept-ID attribute must consist of 8-bytes, and the first two bits must be 00.

Dtcp-trigger: trigger-value

DTCP attribute used to trigger traffic mirroring. DTCP Traffic Mirroring Triggers lists the DTCP attributes that you can use in DTCP ADD messages to trigger traffic mirroring.

Dtcp-attribute: attribute-value

DTCP attribute included in the ADD messages. DTCP Traffic Mirroring Triggers lists the DTCP attributes that you can use in ADD messages.

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.

List of Sample Output

Sample Output

ADD DTCP/0.7
Csource-ID: ft-user1
Cdest-ID: cd1
Priority: 2
X-JTap-Cdest-Dest-Address: 10.10.2.50
X-JTap-Cdest-Dest-Port: 7890
X-JTap-Cdest-Source-Address: 10.10.2.9
X-JTap-Cdest-Source-Port: 12321
X-Interface-Id: ge-0/0/2.1
X-MD-Intercept-Id: 55667788
Flags: STATIC
Seq: 1
Authentication-Info: c16d2d9d1679facf0c4a66683af6114d341e4033

DTCP/0.7 200 OK
SEQ: 7
CRITERIA-ID: 2
TIMESTAMP: 2011-02-13 15:56:49.609

Published: 2013-02-11