C613-50631-01 Rev A Command Reference for IE340 Series 1622
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTE MAP COMMANDS
ROUTE
-MAP
If it finds a match on a route map with an action of permit, then it applies any set
clauses and accepts the route. Having found a match, the route is not compared
against any further entries of the route map.
If it finds a match on a route map with an action of deny, it will discard the
matching route.
If it does not find a match, it discards the route or update message. This means that
route maps end with an implicit deny entry. To permit all non-matching routes or
update messages, end your route map with an entry that has an action of permit
and no match clause.
Examples To enter route-map mode for entry 1 of the route map called “route1”, and then
add a match and set clause to it, use the commands:
awplus# configure terminal
awplus(config)# route-map route1 permit 1
awplus(config-route-map)# match as-path 60
awplus(config-route-map)# set weight 70
To enter route-map mode for entry 2 of the route map called “route1”, and then
add a match and set clause to it, use the commands:
awplus# configure terminal
awplus(config)# route-map route1 permit 2
awplus(config-route-map)# match interface vlan2
awplus(config-route-map)# set metric 20
Note how the prompt changes when you go into route map configuration mode.
To make the device process non-matching routes instead of discarding them, add
a command like the following one:
awplus(config)# route-map route1 permit 100
Related
commands
For BGP:
show route-map
bgp dampening
neighbor default-originate
neighbor route-map
neighbor unsuppress-map
network (BGP and BGP4+)
redistribute (into BGP or BGP4+)
show ip bgp route-map (BGP only)
For OSPF:
distribute-list (OSPF)
default-information originate
redistribute (OSPF)