diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-07-24 19:36:59 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 19:36:59 +0700 |
commit | c82c77ad935b695b71aae2d1d261cacdb8c5cf17 (patch) | |
tree | d06835b35be310eec45d9af6d29fe45fc182ea5d /docs/configuration/protocols/bgp.rst | |
parent | d5a2b5d7b27f7d7666cff675a7048529590e8fc5 (diff) | |
parent | cd34454b29b0bdcda1467037c5f7e9e631705aaf (diff) | |
download | vyos-documentation-c82c77ad935b695b71aae2d1d261cacdb8c5cf17.tar.gz vyos-documentation-c82c77ad935b695b71aae2d1d261cacdb8c5cf17.zip |
Merge pull request #579 from srividya0208/proof-reading
Proof reading
Diffstat (limited to 'docs/configuration/protocols/bgp.rst')
-rw-r--r-- | docs/configuration/protocols/bgp.rst | 14 |
1 files changed, 10 insertions, 4 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. |