Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Port range

Slight differences exist in how you specify port ranges when using the CLI version of the twping command as opposed to the RPC versions.

The twping RPC call has a default port range (8760 through 8960), which is equivalent to twping reflector port-range 8760-8960. The twping CLI command lets you specify the starting and ending port numbers or just a single port number. If you specify a single port number, the twping command uses the same number for the starting and ending port numbers. For example, twping reflector port-range 8000 is equivalent to twping reflector port-range 8000-8000.

When invoking a twping RPC call, the behavior is slightly different. You can specify starting and ending ports for the range, or specify just one port. If you specify only one port, the twping RPC call uses the default port for the other port in the range.

For example, if you specify 9000 as the ending port number, the command sets the starting port number to 8760.

<port-range>
      <end>9000</end>
</port-range>

<port-range>
      <start>8760</start>
      <end>9000</end>
</port-range>

If you specify 8800 as the starting port number, the command sets the ending value to 8960.

<port-range>
      <start>8800</start>
</port-range>

<port-range>
      <start>8800</start>
      <end>8960</end>
</port-range>