diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-08 10:30:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-08 10:30:13 +0100 |
commit | f7e9ac022dd3fbed2d584b5f55405e85ece81de4 (patch) | |
tree | a38196c33d5954ff496b1f9ce7bfd0d6394870ca /docs/vrf.rst | |
parent | 4bd9bca4c0a5879c9f3c16b711f0cba258589827 (diff) | |
download | vyos-documentation-f7e9ac022dd3fbed2d584b5f55405e85ece81de4.tar.gz vyos-documentation-f7e9ac022dd3fbed2d584b5f55405e85ece81de4.zip |
vrf: document ping usage
Diffstat (limited to 'docs/vrf.rst')
-rw-r--r-- | docs/vrf.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/vrf.rst b/docs/vrf.rst index 139a3d93..67a2428d 100644 --- a/docs/vrf.rst +++ b/docs/vrf.rst @@ -159,6 +159,9 @@ Blackhole Operation ========= +It is not sufficient to only configure a VRF but VRFs must be maintained, too. +For VR Fmaintenance the followin operational commands are in place. + .. opcmd:: show vrf List VRFs that have been created @@ -172,6 +175,9 @@ Operation bar up ee:c7:5b:fc:ae:f9 noarp,master,up,lower_up foo up ee:bb:a4:ac:cd:20 noarp,master,up,lower_up + .. note:: Command should probably be extended to list also the real interfaces + assigned to this one VRF to get a better overview. + .. opcmd:: show vrf <name> .. code-block:: none @@ -219,4 +225,38 @@ Operation C>* fe80::/64 is directly connected, dum1, 00:43:19 K>* ff00::/8 [0/256] is directly connected, dum1, 00:43:19 + +.. opcmd:: ping <host> vrf <name> + + The ping command is used to test whether a network host is reachable or not. + + Ping uses ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an + ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (pings) + will have an IP and ICMP header, followed by "struct timeval" and an + arbitrary number of pad bytes used to fill out the packet. + + When doing fault isolation with ping, your should first run it on the local + host, to verify that the local network interface is up and running. Then, + continue with hosts and gateways further down the road towards your + destination. Round-trip times and packet loss statistics are computed. + + Duplicate packets are not included in the packet loss calculation, although + the round-trip time of these packets is used in calculating the minimum/ + average/maximum round-trip time numbers. + + Ping command can be interrupted at any given time using `<Ctrl>+c`- A brief + statistic is shown afterwards. + + .. code-block:: none + + vyos@vyos:~$ ping 192.0.2.1 vrf red + PING 192.0.2.1 (192.0.2.1) 56(84) bytes of data. + 64 bytes from 192.0.2.1: icmp_seq=1 ttl=64 time=0.070 ms + 64 bytes from 192.0.2.1: icmp_seq=2 ttl=64 time=0.078 ms + ^C + --- 192.0.2.1 ping statistics --- + 2 packets transmitted, 2 received, 0% packet loss, time 4ms + rtt min/avg/max/mdev = 0.070/0.074/0.078/0.004 ms + + .. include:: common-references.rst |