diff options
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/policy/examples.rst | 2 | ||||
-rw-r--r-- | docs/configuration/policy/route-map.rst | 27 | ||||
-rw-r--r-- | docs/configuration/protocols/static.rst | 7 |
3 files changed, 21 insertions, 15 deletions
diff --git a/docs/configuration/policy/examples.rst b/docs/configuration/policy/examples.rst index e4c4b9da..c83e5f64 100644 --- a/docs/configuration/policy/examples.rst +++ b/docs/configuration/policy/examples.rst @@ -8,7 +8,7 @@ BGP Example # Create policy set policy route-map setmet rule 2 action 'permit' - set policy route-map setmet rule 2 set as-path-prepend '2 2 2' + set policy route-map setmet rule 2 set as-path prepend '2 2 2' # Apply policy to BGP set protocols bgp local-as 1 diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst index 792014bc..8b2a555c 100644 --- a/docs/configuration/policy/route-map.rst +++ b/docs/configuration/policy/route-map.rst @@ -149,15 +149,20 @@ Route Map BGP aggregator attribute: AS number or IP address of an aggregation. -.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path-exclude +.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path exclude <text> - Remove ASN(s) from a BGP AS-path attribute. For example "456 64500 45001". + Drop AS-NUMBER from the BGP AS path. -.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path-prepend +.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path prepend <text> - Prepend string for a BGP AS-path attribute. For example "64501 64501". + Prepend the given string of AS numbers to the AS_PATH of the BGP path's NLRI. + +.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path + prepend-last-as <n> + + Prepend the existing last AS number (the leftmost ASN) to the AS_PATH. .. cfgcmd:: set policy route-map <text> rule <1-65535> set atomic-aggregate @@ -211,8 +216,8 @@ Route Map peer-address Set the BGP nexthop address to the address of the peer. For an incoming - route-map this means the ip address of our peer is used. For an - outgoing route-map this means the ip address of our self is used to + route-map this means the ip address of our peer is used. For an + outgoing route-map this means the ip address of our self is used to establish the peering with our neighbor. .. cfgcmd:: set policy route-map <text> rule <1-65535> set ipv6-next-hop @@ -224,17 +229,17 @@ Route Map peer-address Set the BGP nexthop address to the address of the peer. For an incoming - route-map this means the ip address of our peer is used. For an - outgoing route-map this means the ip address of our self is used to + route-map this means the ip address of our peer is used. For an + outgoing route-map this means the ip address of our self is used to establish the peering with our neighbor. - + .. cfgcmd:: set policy route-map <text> rule <1-65535> set ipv6-next-hop prefer-global - + For Incoming and Import Route-maps if we receive a v6 global and v6 LL address for the route, then prefer to use the global address as the nexthop. - + .. cfgcmd:: set policy route-map <text> rule <1-65535> set large-community <text> diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst index da471b86..1ad252e7 100644 --- a/docs/configuration/protocols/static.rst +++ b/docs/configuration/protocols/static.rst @@ -165,16 +165,17 @@ implemented. Configure ********* -.. cfgcmd:: set protocols static arp <address> hwaddr <mac> +.. cfgcmd:: set protocols static arp interface <interface> address <host> + mac <mac> This will configure a static ARP entry always resolving `<address>` to - `<mac>`. + `<mac>` for interface `<interface>`. Example: .. code-block:: none - set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa + set protocols static arp interface eth0 address 192.0.2.1 mac 01:23:45:67:89:01 ********* |