brc test rtt
brc test rtt
Measure the round-trip time for a terminal
Synopsis
This command runs a two-way ping test to measure the round-trip time for a
network
The special value gateway can be used as the target IP address to use the gateway IP address of the UPF where the terminal is connected. This gateway IP is assumed to be the first IP address in the subnet of the terminal.
The option --namespace
by default points to a Kubernetes namespace of the default Kubernetes context. You
may explicitly provide the context in the format of <context-name>.<namespace>
to access the cluster using
particular kubectl
context. The format bare.<machine-name>
is reserved for bare-metal machine
access where SSH is used to access the machine named <machine-name>
. In this case
the <terminal>
points to the name of the network interface where the ping test is being executed.
- Since this command calls
ping
notping6
, it is assumed that the target IP address is an IPv4 address.
brc test rtt [flags]
Examples
# rtt test for ue1 on the cluster to the gateway for 5 packets
brc test rtt ue1 gateway -- -c 5
# rtt test for ue2 on the cluster to 8.8.8.8
brc test rtt ue2 8.8.8.8
# rtt test for bare-metal machine named ayo on the interface wwan0 to the gateway
brc test rtt --namespace bare.ayo wwan0 gateway
Options
-h, --help help for rtt
Options inherited from parent commands
-n, --namespace string namespace to perform the operations (default "trirematics")
-p, --plot Specify if the results should be plotted.
-v, --verbose debug output
SEE ALSO
- brc test - Perform a test to evaluate the network performance