Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service path-monitor host <name> type twping <twping>

Controls the twping method for path monitoring.

Note: The path monitor type twping must match the type of the parent monitor object.
twping <twping>
Where <twping> is { dscp <dscp-value> | padding <pad-size> | control-port <port> | port-range start <low> | port-range end <high> | source-address <address-or-interface> }.
host <name>
The alphanumeric name of the host. The maximum number of characters is 30.
dscp <dscp-value>
Specifies the DSCP name (for example, af11, cs1, or default) or an absolute value to apply during twping operations. By default, no DSCP value is set.
padding <pad-size>
The size of the data portion (padding) of TWAMP packets.
  • Range: 0 to 65000 bytes
  • Default: Outbound packets are padded to be the same length as the inbound packets from the TWAMP server. In unauthenticated mode, the padding size value is 27 bytes.
control-port <port>
The port to use for the server control connection.
  • Range: 1 to 65535
  • Default: 862
    Note: If you specify a non-default control-port <port> value, be sure to modify the corresponding server configuration to use the same non-default value.
port-range start <low>
The lowest value in the range of local port numbers to be used to send TWAMP data packets.
  • Range: 1 to 65535
  • Default: 8760
port-range end <high>
The highest value in the range of local port numbers to be used to send TWAMP data packets.
  • Range: 1 to 65535
  • Default: 8960
source-address <address-or-interface>
The source address can be a specific IP address or an interface. For an interface, one of its addresses will be chosen as the source IP address.
  • Default: The source for IP address is the monitor interface.