twamp-gen

Prev Next

twamp-gen add

twamp-gen add - Create a TWAMP session.

Description:
Create a TWAMP session.

Note: One-way delay measurements require time synchronization using NTP/PTP on units at each probe end.

Syntax:

twamp-gen add {
                {name <string>} |
                {state {enable | disable}} |
                {interval <decimal>} |
                {reference-period <decimal>  } |
                {pkt-loss-threshold <0-100>} |
                {continuity-check <decimal>} |
                {tw-avg-delay-thrs <decimal>} |
                {tw-avg-dv-thrs <decimal>} |
                {tw-max-delay-thrs <decimal>} |
                {tw-max-dv-thrs <decimal>} |
                {tw-max-delay <decimal>} |
                {tw-max-dv <decimal>} |
                {ow-near-end-avg-delay-thrs <decimal>} |
                {ow-near-end-avg-dv-thrs <decimal>} |
                {ow-near-end-max-delay-thrs <decimal>} |
                {ow-near-end-max-dv-thrs <decimal>} |
                {ow-near-end-max-delay <decimal>} |
                {ow-near-end-max-dv <decimal>} |
                {ow-far-end-avg-delay-thrs <decimal>} |
                {ow-far-end-avg-dv-thrs <decimal>} |
                {ow-far-end-max-delay-thrs <decimal>} |
                {ow-far-end-max-dv-thrs <decimal>} |
                {ow-far-end-max-delay <decimal>} |
                {ow-far-end-max-dv <decimal>} |
                {dscp <0-63>} |
                {ecn <0-3>} |
                {pkt-size <14-1472>} |
                {vlan1-priority <0-7>} |
                {src-port <decimal>} |
                {dst-port <decimal>}
                {dst-ip <ip-addr>}}+

Parameters:

Parameter Description
name A name assigned to reference this instance.
state Enable or disable generating TWAMP packets.
interval Interval in milliseconds at which TWAMP packets should be sent.
reference-period Reference period in minutes.
pkt-loss-threshold Threshold (in %) at which an Excessive Packet Loss (EPL) alarm is declared.
continuity-check Maximum number of consecutive lost packets allowed.
tw-max-delay Maximum two-way delay allowed.
tw-max-dv Maximum two-way delay variation allowed.
tw-max-delay-thrs Maximum consecutive two-way delay samples allowed greater than tw-max-delay.
tw-max-dv-thrs Maximum consecutive two-way delay samples allowed greater than tw-max-dv.
tw-avg-delay-thrs Maximum two-way average delay.
tw-avg-dv-thrs Maximum two-way average delay variation.
ow-near-end-max-delay Maximum one-way near-end delay allowed.
ow-near-end-max-dv Maximum one-way near-end delay variation allowed.
ow-near-end-max-delay-thrs Maximum consecutive one-way near-end delay samples allowed greater than ow-near-end-max-delay.
ow-near-end-max-dv-thrs Maximum consecutive one-way near-end delay samples allowed greater than ow-near-end-max-dv.
ow-near-end-avg-delay-thrs Maximum one-way near-end average delay.
ow-near-end-avg-dv-thrs Maximum one-way near-end average delay variation.
ow-far-end-max-delay Maximum one-way far-end delay allowed.
ow-far-end-max-dv Maximum one-way far-end delay variation allowed.
ow-far-end-max-delay-thrs Maximum consecutive one-way far-end delay samples allowed greater than ow-far-end-max-delay.
ow-far-end-max-dv-thrs Maximum consecutive one-way far-end delay samples allowed greater than ow-far-end-max-dv.
ow-far-end-avg-delay-thrs Maximum one-way far-end average delay.
ow-far-end-avg-dv-thrs Maximum one-way far-end average delay variation.
dscp The Diff-Serv CodePoint value.
ecn The Explicit Congestion Notification value.
vlan1-priority First VLAN priority bits. This applies only if the outgoing interface is encapsulated in a VLAN.
dst-ip The peer IPv4 or IPv6 destination address.
dst-port Specifies destination UDP port (default 862, valid ports: 1024-65535).
src-port Specifies source UDP port (default 10000, valid ports: 1024-65535).
pkt-size Packet size. Does not include the headers (UDP, IP, Ethernet) and the FCS bytes.

twamp-gen delete

twamp-gen delete - Delete a TWAMP session.

Description:
Delete a TWAMP session.

Syntax:

twamp-gen delete <index>
<index> = <decimal>

Parameters:

Parameter Description
index Specifies the TWAMP instance.

twamp-gen edit

twamp-gen edit - Edit a TWAMP session.

Description:
Edit a TWAMP session.

Note: One-way delay measurements require time synchronization using NTP/PTP on units at each probe end.

Syntax:

twamp-gen edit <index>
                 {{name <string>} |
                 {state {enable | disable}} |
                 {interval <decimal>} |
                 {reference-period <decimal>  } |
                 {pkt-loss-threshold <0-100>} |
                 {continuity-check <decimal>} |
                 {tw-avg-delay-thrs <decimal>} |
                 {tw-avg-dv-thrs <decimal>} |
                 {tw-max-delay-thrs <decimal>} |
                 {tw-max-dv-thrs <decimal>} |
                 {tw-max-delay <decimal>} |
                 {tw-max-dv <decimal>} |
                 {ow-near-end-avg-delay-thrs <decimal>} |
                 {ow-near-end-avg-dv-thrs <decimal>} |
                 {ow-near-end-max-delay-thrs <decimal>} |
                 {ow-near-end-max-dv-thrs <decimal>} |
                 {ow-near-end-max-delay <decimal>} |
                 {ow-near-end-max-dv <decimal>} |
                 {ow-far-end-avg-delay-thrs <decimal>} |
                 {ow-far-end-avg-dv-thrs <decimal>} |
                 {ow-far-end-max-delay-thrs <decimal>} |
                 {ow-far-end-max-dv-thrs <decimal>} |
                 {ow-far-end-max-delay <decimal>} |
                 {ow-far-end-max-dv <decimal>} |
                 {dscp <0-63>} |
                 {ecn <0-3>} |
                 {pkt-size <14-1472>} |
                 {vlan1-priority <0-7>} |
                 {src-port <decimal>} |
                 {dst-port <decimal>}
                 {dst-ip <ip-addr>}}+

<index> = <decimal>

Parameters:

Parameter Description
name A name assigned to reference this instance.
state Enable or disable generating TWAMP packets.
interval Interval in milliseconds at which TWAMP packets should be sent.
reference-period Reference period in minutes.
pkt-loss-threshold Threshold (in %) at which an Excessive Packet Loss (EPL) alarm is declared.
continuity-check Maximum number of consecutive lost packets allowed.
tw-max-delay Maximum two-way delay allowed.
tw-max-dv Maximum two-way delay variation allowed.
tw-max-delay-thrs Maximum consecutive two-way delay samples allowed greater than tw-max-delay.
tw-max-dv-thrs Maximum consecutive two-way delay samples allowed greater than tw-max-dv.
tw-avg-delay-thrs Maximum two-way average delay.
tw-avg-dv-thrs Maximum two-way average delay variation.
ow-near-end-max-delay Maximum one-way near-end delay allowed.
ow-near-end-max-dv Maximum one-way near-end delay variation allowed.
ow-near-end-max-delay-thrs Maximum consecutive one-way near-end delay samples allowed greater than ow-near-end-max-delay.
ow-near-end-max-dv-thrs Maximum consecutive one-way near-end delay samples allowed greater than ow-near-end-max-dv.
ow-near-end-avg-delay-thrs Maximum one-way near-end average delay.
ow-near-end-avg-dv-thrs Maximum one-way near-end average delay variation.
ow-far-end-max-delay Maximum one-way far-end delay allowed.
ow-far-end-max-dv Maximum one-way far-end delay variation allowed.
ow-far-end-max-delay-thrs Maximum consecutive one-way far-end delay samples allowed greater than ow-far-end-max-delay.
ow-far-end-max-dv-thrs Maximum consecutive one-way far-end delay samples allowed greater than ow-far-end-max-dv.
ow-far-end-avg-delay-thrs Maximum one-way far-end average delay.
ow-far-end-avg-dv-thrs Maximum one-way far-end average delay variation.
dscp The Diff-Serv CodePoint value.
ecn The Explicit Congestion Notification value.
vlan1-priority First VLAN priority bits. This applies only if the outgoing interface is encapsulated in a VLAN.
dst-ip The peer IPv4 or IPv6 destination address.
dst-port Specifies destination UDP port (default 862, valid ports: 1024-65535).
src-port Specifies source UDP port (default 10000, valid ports: 1024-65535).
pkt-size Packet size. Does not include the headers (UDP, IP, Ethernet) and the FCS bytes.

twamp-gen show configuration

twamp-gen show configuration - Show TWAMP session's configuration

Description:
Display a summary of the configured TWAMP instances. When an instance index is specified, a detailed configuration report is displayed.

Syntax:

twamp-gen show configuration [<index>]
<index> - <decimal>

Parameters:

Parameter Description
index Specifies the TWAMP instance.

twamp-gen show results

twamp-gen show results - Show TWAMP session's results

Description:
Display TWAMP session measurements and status.

Syntax:

twamp-gen show results [<index>] {
                                   { type {historic}} |
                                   { buckets <0-16>} |
                                   { period <period-id>}}+
<index>          - <decimal>
<period-id>      - <decimal>

Parameters:

Parameter Description
index Specifies the TWAMP instance.
period-id Specifies the period id.
type Type of results to display:
historic: History buckets results. If the number of buckets is not specified, the last 4 buckets will be displayed, starting from the specified period.
If no period is specified, the last 4 buckets will be displayed.
buckets Number of TWAMP buckets to display.
period Reference period for the TWAMP history buckets. Zero for the most recent period available.

twamp-gen show status

twamp-gen show status - Show TWAMP session's status

Description:
Display TWAMP sessions's status.

Syntax:

twamp-gen show status [<index>]
<index>          - <decimal>

Parameters:

Parameter Description
index Specifies the TWAMP instance.

© 2026 Cisco and/or its affiliates. All rights reserved.

For more information about trademarks, please visit:
Cisco trademarks 
For more information about legal terms, please visit:
Cisco legal terms
For legal information about Accedian Skylight products, please visit:  Accedian legal terms and trademarks