vrouter-route-map-show
This command is used to display route maps for BGP, and OSPF vRouter configurations.
Syntax vrouter-route-map-show
vrouter-name name-string |
The name of the vRouter. |
The following route-map arguments: |
|
name name-string |
The name of the route map. |
seq number |
The sequence number to assign to the route map. This is a value between 1, and 65535. |
action permit|deny |
The route map to permit or deny packets. |
match-prefix prefix-list-name |
The prefixes used to match. |
match-mac vrouter mac-list name |
The MAC address used for matching. |
match-community match-community-string |
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| |
The community attribute. When specified a community attribute, user cannot add a generic community attribute as well. |
community-attribute-generic community-attribute-generic-string |
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 the user wants to remove community values from BGP community attributes. |
local-pref integer |
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 |
A metric for the route map. |
metric-type 1|2 |
The metric type as 1 or 2. |
as-path-prepend integer |
Integer from 1 to 4294967295. |
as-path-prepend-last-as integer |
Integer from 1 to 10. |
as-path-exclude integer |
Integer from 1 to 4294967295. |
origin none|egp|igp|incomplete |
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. |
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 display route maps for BGP configurations.
Examples
- To display a route map on vRouter1, with the name r-map, use the following syntax:
CLI (network-admin@switch) > vrouter-route-map-show format vroutername,name,seq,action,match-prefix,match-evpn-route-type
vrouter-name name seq action match-prefix match-evpn-route-type
------------ ----- --- ------ ------------ --------------------
vr1 rmap1 10 deny 100
vr1 rmap1 20 permit none type-5
- To display a route map on vRouter1, with the name bgp-map, use the following syntax:
CLI (network-admin@switch) > vrouter-route-map-show vrouter-name vRouter1 name bgp-map
vrouter-name name seq action match-prefix community-attribute
-------------- ------- --- ------ ------------ -------------------
vRouter1 bgp-map 75 permit prefix1 local-AS