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. |
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 4294967295. |
action permit|deny |
Specify the route map to permit or deny packets. |
match-prefix prefix-list-name |
Specify the prefixes used to match. |
match-community match-community-string |
Specify the community string to match. (BGP only) |
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. |
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 parameters, as-path-*, added. |
Version 3.0.0 |
The parameters for BGP communities added. |
Version 3.0.3 |
The parameter, origin, 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