summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2021-07-24 07:59:03 -0400
committersrividya0208 <a.srividya@vyos.io>2021-07-24 07:59:03 -0400
commit4a5f79b10a2d1a0fce57b458f0613856f619c0c9 (patch)
treed06835b35be310eec45d9af6d29fe45fc182ea5d /docs/configuration
parentf6e5ef39a8945c39ffc73810ef428e104c3a8f4e (diff)
downloadvyos-documentation-4a5f79b10a2d1a0fce57b458f0613856f619c0c9.tar.gz
vyos-documentation-4a5f79b10a2d1a0fce57b458f0613856f619c0c9.zip
correction of cli syntax and grammar mistakes
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/protocols/bgp.rst14
-rw-r--r--docs/configuration/protocols/static.rst6
2 files changed, 14 insertions, 6 deletions
diff --git a/docs/configuration/protocols/bgp.rst b/docs/configuration/protocols/bgp.rst
index f0550fd4..889ab2fa 100644
--- a/docs/configuration/protocols/bgp.rst
+++ b/docs/configuration/protocols/bgp.rst
@@ -1,3 +1,5 @@
+:lastproofread: 2021-07-24
+
.. _routing-bgp:
Border Gateway Protocol (BGP)
@@ -114,8 +116,10 @@ Route filter can be applied using a route-map:
set policy route-map AS65535-OUT rule 10 match ip address prefix-list 'AS65535-OUT'
set policy route-map AS65535-OUT rule 10 match ipv6 address prefix-list 'AS65535-OUT'
set policy route-map AS65535-OUT rule 20 action 'permit'
- set protocols bgp 65534 neighbor 2001:db8::2 route-map export 'AS65535-OUT'
- set protocols bgp 65534 neighbor 2001:db8::2 route-map import 'AS65535-IN'
+ set protocols bgp 65534 neighbor 2001:db8::2 address-family ipv6-unicast route-map export 'AS65535-OUT'
+ set protocols bgp 65534 neighbor 2001:db8::2 address-family ipv6-unicast route-map import 'AS65535-IN'
+ set protocols bgp 65534 neighbor 192.168.0.2 address-family ipv4-unicast route-map export 'AS65535-OUT'
+ set protocols bgp 65534 neighbor 192.168.0.2 address-family ipv4-unicast route-map import 'AS65535-IN'
**Node2:**
@@ -137,8 +141,10 @@ Route filter can be applied using a route-map:
set policy route-map AS65534-OUT rule 10 match ip address prefix-list 'AS65534-OUT'
set policy route-map AS65534-OUT rule 10 match ipv6 address prefix-list 'AS65534-OUT'
set policy route-map AS65534-OUT rule 20 action 'permit'
- set protocols bgp 65535 neighbor 2001:db8::1 route-map export 'AS65534-OUT'
- set protocols bgp 65535 neighbor 2001:db8::1 route-map import 'AS65534-IN'
+ set protocols bgp 65535 neighbor 2001:db8::1 address-family ipv6-unicast route-map export 'AS65534-OUT'
+ set protocols bgp 65535 neighbor 2001:db8::1 address-family ipv6-unicast route-map import 'AS65534-IN'
+ set protocols bgp 65535 neighbor 192.168.0.1 address-family ipv4-unicast route-map export 'AS65534-OUT'
+ set protocols bgp 65535 neighbor 192.168.0.1 address-family ipv4-unicast route-map import 'AS65534-IN'
We could expand on this and also deny link local and multicast in the rule 20
action deny.
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst
index 8415981b..3135e3d0 100644
--- a/docs/configuration/protocols/static.rst
+++ b/docs/configuration/protocols/static.rst
@@ -1,3 +1,5 @@
+:lastproofread: 2021-07-24
+
.. _routing-static:
######
@@ -50,7 +52,7 @@ display arp table entries
.. code-block:: none
- show protocols static arp
+ show arp
Address HWtype HWaddress Flags Mask Iface
10.1.1.1 ether 08:00:27:de:23:2e C eth1
@@ -58,7 +60,7 @@ display arp table entries
.. code-block:: none
- show protocols static arp interface eth1
+ show arp interface eth1
Address HWtype HWaddress Flags Mask Iface
10.1.1.1 ether 08:00:27:de:23:2e C eth1
10.1.1.100 ether 08:00:27:de:23:aa CM eth1