action

The command specifies the action that should be applied for the route information meeting this requirements. It is used only for filtering routes of dynamic routing protocols and has no effect when configuring PBR.

The use of a negative form (no) of the command sets the default value.

Syntax
action <ACT>
no action
Parameters

<ACT> – allocated action:

  • permit – routing information reception/advertising is permitted;
  • deny – routing information reception/advertising is denied;
Default value

permit

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action deny
CODE

action set as-path prepend

This command sets BGP AS-Path attribute value that will be added to the beginning of AS-Path list (optionally).

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set as-path prepend <AS-PATH> { track <TRACK-ID> }
no set as-path
Parameters

<AS-PATH> – autonomous systems number list that will be added to the current value in the route. It is defined as AS,AS,AS where each part takes values of [1..4294967295]. You can specify up to 10 autonomous system numbers.

<TRACK-ID> – the tracking identifier of the object, if all the conditions for which the specified action is executed. Changes in the range of [1..60].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set as-path prepend 100,200,300
CODE

action set community

This command sets the value of the BGP Community attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set community { <COMMUNITY-LIST> | no-advertise | no-export }
no action set community
Parameters

<COMMUNITY-LIST> – community list, defined as AS:N,AS:N,AS:N, where AS part takes values of [1..65535] and N part takes values of [0..65535]. You can specify up to 64 community;

no-advertise – when specifying a command, routes that are transmitted with this community attribute value should not be advertised to other BGP neighbors;

no-export — when specifying a command, routes that are transmitted with this community attribute value should not be advertised outside the confederation (an autonomous system that is not part of the confederation is considered a confederation). That is, routes are not advertised to eBGP neighbors, but are advertised by external neighbors in the confederation.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set community no-advertise
CODE

action set extcommunity

This command sets the value of the BGP ExtCommunity attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set extcommunity <EXTCOMMUNITY-LIST>
no action set extcommunity
Parameters

<EXTCOMMUNITY-LIST> – community list, defined as KIND:AS:N,KIND:AS:N,KIND:AS:N, where

  • KIND – extcommunity type, take rt (Route Target) and ro (Route Origin) values;
  • <AS> – autonomous system number, takes values of [1..4294967295];
  • N – extcommunity number, which defines the traffic routing policy, takes the values [1..65535].

You can specify up to 64 ExtCommunity.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set extcommunity ro:435:6
CODE

action set ip bgp-next-hop

This command sets the value of the BGP Next-Hop attribute to be set in the route when BGP is advertised.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set ip bgp-next-hop <ADDR>
no action set ip next-hop
Parameters

<ADDR> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip bgp-next-hop 10.100.100.1
CODE

action set ip next-hop

This command specifies Next-Hop value that will be set in the route received by BGP.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set ip next-hop { <NEXTHOP> | blackhole | unreachable | prohibit }
no action set ip next-hop
Parameters

<NEXTHOP> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

  • blackhole – when specifying the command, the packets to this subnet will be removed by the device without sending notifications to a sender;
  • unreachable – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Host unreachable, code 1);
  • prohibit – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Communication administratively prohibited, code 13).
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip next-hop prohibit
CODE

action set ip next-hop verify-availability

This command sets Next-Hop for the packets that meet the requirements of the specified ACL.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set ip next-hop verify-availability <NEXTHOP> <METRIC>
no action set ip next-hop verify-availability { <NEXTHOP> | all }
Parameters

<NEXTHOP> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<METRIC>  – route metric, takes values of [1..255].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip next-hop verify-availability 1.1.1.1 25
CODE

action set ipv6 bgp-next-hop

This command sets the value of the BGP Next-Hop attribute for IPv6 to be set in the route when BGP is advertised.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set ipv6 bgp-next-hop <ADDR>
no action set ipv6 next-hop
Parameters

<IPV6-ADDR> – gateway IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ipv6 bgp-next-hop 2002::765:1
CODE

action set ipv6 next-hop

This command specifies Next-Hop value for IPv6 that will be set in the route received by BGP.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set ipv6 next-hop <NEXTHOP>
no action set ipv6 next-hop
Parameters

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ipv6 next-hop 55::205:2
CODE

action set local-preference

This command sets the value of the BGP Local Preference attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set local-preference <PREFERENCE>
no action set local-preference
Parameters

<PREFERENCE> – BGP Local Preference attribute value, takes values in the range of [1..2147483647].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set local-preference 120
CODE

action set metric bgp

This command sets the value of the BGP MED attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set metric bgp <METRIC> { track <TRACK-ID> }
no action set metric bgp
Parameters

<METRIC> – BGP MED attribute value, takes values in the range of [0..4294967295].

<TRACK-ID> – the tracking identifier of the object, if all the conditions for which the specified action is executed. Changes in the range of [1..60].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric bgp 10
CODE

action set metric isis

This command sets the value of the IS-IS Metric attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set metric isis <METRIC>
no action set metric isis
Parameters

<METRIC> – IS-IS Metric attribute value, may take values [1..16777215].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric isis 10
CODE

action set metric ospf

This command sets the value of the OSPF Metric attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set metric ospf <TYPE> <METRIC>
no action set metric ospf
Parameters

<TYPE> – OSPF Metric attribute type, takes values type-1 and type-2.

<METRIC> – OSPF Metric attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric ospf type-1 10
CODE

action set metric rip

This command sets the value of the RIP Metric attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set metric rip <METRIC>
no action set metric rip
Parameters

<METRIC> – RIP Metric attribute value, takes values in the range of [0..16].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric rip 5
CODE

action set origin

This command sets the value of the BGP Origin attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set origin <ORIGIN>
no action set origin
Parameters

<ORIGIN> – value of the BGP Origin attribute, takes the following values:

  • egp – route is learnt by Exterior Gateway Protocol (EGP);
  • igp – route is received inside the initial AS;
  • incomplete – route is learnt in another way.
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set origin igp
CODE

action set tag ospf

This command sets the value of the OSPF Tag attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set tag ospf <TAG>
no action set tag ospf
Parameters

<TAG> – OSPF Tag attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set tag ospf 20
CODE

action set tag rip

This command sets the value of the RIP Tag attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set tag rip <RIP>
no action set tag rip
Parameters

<RIP> – RIP Tag attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set tag rip 20
CODE

action set weight bgp

This command sets the value of the BGP weight attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax
action set weight bgp <WEIGHT>
no action set weight bgp
Parameters

<WEIGHT> – value of the BGP weight attribute takes the values [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set weight bgp 200
CODE

description

This command changes a description of configurable route map rule.

The use of a negative form (no) of the command removes a specified description.

Syntax
description <DESCRIPTION>
no description
Parameters

<DESCRIPTION> – route map rule description, set by the string of up to 255 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# description "Drop Local NETs"
CODE

ip policy route-map

This command assigns a routing policy based on access lists (ACL) to interface.

The use of a negative form (no) of the command removes routing policy.

Syntax
ip policy route-map <NAME>
no ip policy route-map
Parameters

<NAME> – configured routing policy name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-CELLULAR-MODEM

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-VTI

Example
esr(config-subif)# route-map drop-local-net in
CODE

match as-path

This command sets BGP AS-Path attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match as-path [ begin | end | contain ] <AS-PATH>
no match as-path
Parameters

<AS-PATH> – list of autonomous system numbers, defined as AS,AS,AS, where every part takes values of [1..4294967295]. You can specify up to 10 autonomous system numbers.

Optional parameters with the use of which the partial correspondence of the attribute is specified:

  • begin – attribute value begins with the specified AS numbers list;
  • end – attribute value ends with the specified AS numbers list;
  • contain – attribute value includes the specified AS numbers list.
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match as-path begin 100,200,300
CODE

match community

This command sets BGP Community attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match community <COMMUNITY-LIST>
no match community
Parameters

<COMMUNITY-LIST> – community list, defined as AS:N,AS:,AS, where AS part takes values of [1..65535] and N part takes values of [0..65535]. You can specify up to 64 community.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match community 100:1,200:3,300:65000
CODE

match extcommunity

This command sets BGP ExtCommunity attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match extcommunity <EXTCOMMUNITY-LIST>
no match extcommunity
Parameters

<EXTCOMMUNITY-LIST> – extcommunity list, defined as KIND:AS:N, KIND:AS:N, KIND:AS:N, where:

  • KIND – extcommunity type, take rt (Route Target) or ro (Route Origin) values;
  • <AS> – autonomous system number, takes values of [1..4294967295];
  • N – extcommunity number, which defines the traffic routing policy, takes the values [1..65535].

You can specify up to 64 extcommunity.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match extcommunity ro:435:6
CODE

match ip access-group

The command sets ACL group for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ip access-group <NAME>
no match ip access-group
Parameters

<NAME> – access control list name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip access-group ACCESS
CODE

match ip address

The command sets route addresses for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ip address <ADDR/LEN> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] }
no match ip address prefix
Parameters

<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<LEN> – prefix length, takes values [1..32];

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip address 192.168.0.0/32 ge 16
CODE

match ip address object-group

This command sets an IP address profile containing the values of destination subnets in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ip address object-group <OBJ-GROUP- NETWORK -NAME> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ]
no match ip address object-group
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes destination subnets prefixes, set by the string of up to 31 characters;

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip address object-group local_nets
CODE

match ip next-hop

This command sets an IP address profile containing the values of BGP Next-Hop attribute in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ip next-hop object-group <OBJ-GROUP-NETWORK-NAME>
no match ip next-hop
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes gateway IP address ranges, set by the string of up to 31 characters;

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip next-hop object-group block_nexthop
CODE

match ip route-source

This command sets IP addresses profile. Profile contains IP addresses of the router that advertised the route. Used to filter by source IP address when advertising route information.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ip route-source object-group <OBJ-GROUP-NETWORK-NAME>
no match ip route-source
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes IP address ranges of the route information source, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip route-source object-group source_routers
CODE

match ipv6 address

The command sets IPv6 route addresses for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ipv6 address <IPV6-ADDR/LEN> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] }
no match ipv6 address prefix
Parameters

<IPV6-ADDR> – IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF];

<LEN> – prefix length, takes values [1..128];

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 address FF02:0:0:0:0:1:FF00::/104
CODE

match ipv6 address object-group

This command sets an IPv6 address profile containing the values of destination subnets in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ipv6 address object-group <OBJ-GROUP- NETWORK -NAME> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ]
no match ipv6 address object-group
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes destination subnets prefixes, set by the string of up to 31 characters;

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 address object-group local_nets
CODE

match ipv6 next-hop

This command sets an IPv6 address profile containing the values of BGP Next-Hop attribute in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ipv6 next-hop object-group <OBJ-GROUP-NETWORK-NAME>
no match ipv6 next-hop
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes gateway IPv6 address ranges, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 next-hop object-group block_nexthop
CODE

match ipv6 route-source

This command sets IPv6 addresses profile. Profile contains IPv6 addresses of the router that advertised the route. Used to filter by source IPv6 address when advertising route information.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match ipv6 route-source object-group <OBJ-GROUP-NETWORK-NAME>
no match ipv6 route-source
Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes IPv6 address ranges of the route information source, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 route-source object-group source_routers
CODE

match metric bgp

This command sets BGP MED attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match metric bgp <METRIC>
no match metric bgp
Parameters

<METRIC> – BGP MED attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric bgp 10
CODE

match metric ospf

This command sets OSPF Metric attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match metric ospf <TYPE> <METRIC>
no match metric ospf
Parameters

<TYPE> – OSPF Metric attribute type, takes values type-1 and type-2.

<METRIC> – OSPF Metric attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric ospf type-1 10
CODE

match metric rip

This command sets RIP Metric attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match metric rip <METRIC>
no match metric rip
Parameters

<METRIC> – RIP Metric attribute value, takes values in the range of [0..16].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric rip 5
CODE

match tag ospf

This command sets OSPF Tag attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match tag ospf <TAG>
no match tag ospf
Parameters

<TAG> – OSPF Tag attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match tag ospf 20
CODE

match tag rip

This command sets RIP Tag attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match set tag rip <RIP>
no match set tag rip
Parameters

<RIP> – RIP Tag attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match tag rip 20
CODE

match weight bgp

This command sets BGP weight attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax
match weight bgp <WEIGHT>
no match weight bgp
Parameters

<WEIGHT> – value of the BGP weight attribute takes the values [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match bgp weight 20
CODE

route-map

This command adds filtration and modification of routes in incoming or outgoing directions.

The use of a negative form (no) of the command disables filtration and modification of routes in corresponding direction.

Syntax
route-map <NAME> <DIRECTION>
no route-map <DIRECTION>
Parameters

<NAME> – configured route map name, set by the string of up to 31 characters;

<DIRECTION> – direction:

  • in – filtration and modification of received routes;
  • out – filtration and modification of advertised routes.
Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-VRF-GROUP

CONFIG-BGP-NEIGHBOR-FAMILY

CONFIG-BGP-VRF-NEIGHBOR-FAMILY

CONFIG-OSPF

CONFIG-OSPFV3

CONFIG-ISIS

CONFIG-RIP

CONFIG-RIPND

Example
esr(config-bgp-neighbor)# route-map drop-local-net in
CODE

route-map

This command creates a route map, which will later be used for filtration and modification of the IP routes that are being advertised and received, and it switches to the settings mode of the route map.

The use of a negative form (no) of the command removes a route map.

Syntax
[no] route-map <NAME>
Parameters

<NAME> – configuring route map name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# route-map drop-local-net
esr(config-route-map)#
CODE

rule

This command creates route map rule with specified number and switch to the rule parameters configuration mode. The rules are proceeded by the device in number ascending order.

The use of a negative form of the command (no) removes the rule by number or all rules.

Syntax
[no] rule <ORDER>
Parameters

<ORDER> – rule number, takes values of [1..10000].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP

Example
esr(config-route-map)# rule 2
esr(config-route-map-rule)#
CODE

show ip route-map

This command shows route maps.

Syntax
show ip route-map <NAME> [ <ORDER> ]
Parameters

<NAME> – router map name, set by the string of up to 31 characters;

<ORDER>  – rule number, takes values of [1..10000]. When specifying a rule number, only the given rules information will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip route-map drop-local-net
Order:                                      2
Description:                                Drop route to private nets
Matching pattern:
    Access group                                --
    AS path                                     --
    Community                                   --
    Extcommunity                                --
    BGP metric (MED):                           --
    Address (object-group):                     local_net
    Next hop (object-group):                    --
    Route source (object-group):                --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
Actions:
    Decision:                                   Deny
    Route next hop address:                     --
    Route IPv6 next hop address:                --
    Route next hop:                             --
    AS path (prepand):                          --
    Community:                                  --
    Extcommunity:                               --
    Local preference:                           --
    BGP next hop address:                       --
    BGP IPv6 next hop address:                  --
    BGP metric (MED):                           --
    Origin:                                     --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
CODE