800 ExtremeWare Software 7.3.0 Command Reference Guide
Security Commands
configure route-map add
configure route-map <route-map> add <seq_number> [permit | deny] {match-one
| match-all} {set lpm-routing | set iphost-routing}
Description
Adds an entry in the route map with the specified sequence number and action.
Syntax Description
Default
N/A.
Usage Guidelines
The sequence number determines the order of the entry in the route map.
The action (permit or deny) specifies the action to be taken on a successful match against the statements
in the route map.
After an entry has been added to the route map, statements must be added to define the routes that
should be matched, using the
configure <route-map> add match
command.
This command may be used to override the VLAN LPM routing configuration for specific routes. The
lpm-routing
and
iphost-routing
keywords specify how packets are to be routed for route-map
matched IP prefixes. If the
lpm-routing
property is added to a route-map, packets are forwarded to the
IP prefixes’ next hop by the ARM/MPLS module using LPM routing.
If the
iphost-routing
property is added to a route-map, packets are forwarded to the IP prefixes’ next
hop using the Inferno hardware host-based IP FDB. The
lpm-routing
keyword is only significant for
routes learned on VLANs that are not LPM routing enabled. The
iphost-routing
keyword is only
significant for routes learned on VLANs that are LPM routing enabled
Example
The following command adds an entry to the route-map named bgp-out that denies all matching routes:
configure route-map bgp-out add 10 deny
route-map The name of the route map to which this entry should be added.
seq-number Specifies a sequence number that uniquely identifies the entry, and
determines the position of the entry in the route map.
permit Permits the route.
deny Denies the route. This is applied only if the match is successful.
match-one The route map is successful as long as at least one of the matching
statements is true.
match-all The route map is successful only when all match statements are true. This is
the default setting.