summaryrefslogtreecommitdiff
path: root/docs/vrf.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-05 22:40:03 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-05 22:40:03 +0100
commite09122f767e94c033dd854bef2ea578ca3e5f64d (patch)
tree8423ed25ff536802b2c3ecef871190f584069fac /docs/vrf.rst
parent1b94384a0e27e8895f900996a041a189f9ea7756 (diff)
downloadvyos-documentation-e09122f767e94c033dd854bef2ea578ca3e5f64d.tar.gz
vyos-documentation-e09122f767e94c033dd854bef2ea578ca3e5f64d.zip
vrf: add show ip route vrf <name>
Diffstat (limited to 'docs/vrf.rst')
-rw-r--r--docs/vrf.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/vrf.rst b/docs/vrf.rst
index 2191fdf6..9f9b2233 100644
--- a/docs/vrf.rst
+++ b/docs/vrf.rst
@@ -64,3 +64,20 @@ Operation
--------- ----- --- -----
bar up ee:c7:5b:fc:ae:f9 noarp,master,up,lower_up
+.. opcmd:: show ip route vrf <name>
+
+ Display routing table used by VRF `<name>`
+
+ .. code-block:: none
+
+ vyos@vyos:~$ show ip route vrf blue
+ Codes: K - kernel route, C - connected, S - static, R - RIP,
+ O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
+ T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
+ F - PBR, f - OpenFabric,
+ > - selected route, * - FIB route, q - queued route, r - rejected route
+
+ VRF blue:
+ K 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:00:50
+ C>* 192.0.2.0/24 is directly connected, dum1, 00:00:06
+