vrouter-route-map-modify
This command is used to modify route maps for BGP, and OSPF vRouter configurations.
Syntax vrouter-route-map-modify
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following route-map arguments: |
|
name name-string |
Specify the name of the route map. |
seq number |
Specify the sequence number to assign to the route map. This is a value between 1, and 65535. |
Specify one or more of the following options: |
|
action permit|deny |
Specify the route map to permit or deny packets. |
match-prefix prefix-list-name |
Specify the prefixes used to match. |
match-mac vrouter mac-list name |
Specify the MAC address used for matching. |
match-community match-community-string |
Specify the community string to match. (BGP only) |
match-evpn-default-route none|true|false |
Specify to match 0.0.0.0, and/or :: route. (BGP EVPN route only) |
match-evpn-route-type none|type-2|type-3|type-5 |
Specifies to match EVPN router type. |
match-evpn-vni 0..16777215 |
Specifies to match the EVPN VNI. |
match-evpn-rd match-evpn-rd-string |
Specifies to match evpn Route Distinguisher (RD) e.g., ASN:XX or A.B.C.D:XX. |
exact-match|no-exact-match |
Specify if the community string is an exact match or not. (BGP only) |
community-attribute unset|none|no-export|no-advertise| |
Specify the community attribute. If you specify a community attribute, you cannot add a generic community attribute as well. |
community-attribute-generic community-attribute-generic-string |
Specify a generic community attribute such as AA:NN. (BGP only) |
additive|no-additive |
Specify if a given community is appended to existing communities value. |
comm-list-del vrouter community-list name |
Specify if you want to remove community values from BGP community attributes |
local-pref integer |
Specify a local preference. This is a value between 1, and 4294967295. |
ipv6-nh-prefer-global none|true|false |
Specify to set ipv6 next-hop prefer-global. |
metric none |
Specify a metric for the route map. |
metric-type 1|2 |
Specify the metric type as 1 or 2. |
as-path-prepend integer |
Specify an integer from 1 to 4294967295. |
as-path-prepend-last-as integer |
Specify an integer from 1 to 10. |
as-path-exclude integer |
Specify an integer from 1 to 4294967295. |
origin none|egp|igp|incomplete |
Specify the origin of BGP prefix: • none — Resets the origin to none. • egp — Specifies the route as a remote EGP route. • igp — Specifies the route as a local IGP route. • incomplete — Route is of unknown heritage. |
Defaults None
Access CLI - Network Admin
History
Version 2.4.0 |
Command introduced. |
Version 2.6.0 |
The parameters metric and metric-type added for OSPF. The parameter as-path-* added. |
Version 3.0.0 |
The parameters for BGP communities added. |
Version 3.0.3 |
The parameter origin added. |
Version 7.0.0 |
The parameters match-evpn-default-route, match-evpn-route-type, match-evpn-vni, and match-evpn-rd added. |
Usage Use this command to modify route maps for BGP or OSPF configurations to ensure that prefixes are installed into the route table.
Examples To modify a route map on vRouter1, with the name bgp-map, and change the local preference to 27, use the following syntax:
CLI (network-admin@switch) > vrouter-route-map-modify vrouter-name vRouter1 name bgp-map local-pref 27