BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
C613-50032-01 REV D AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 3.201
route-map (Route Map)
Use this command to configure a route map entry, and to specify whether the device will
process or discard matching routes and BGP update messages.
The switch uses a name to identify the route map, and a sequence number to identify each
entry in the route map.
The route-map command puts you into route-map configuration mode. In this mode, you
can use the following:
■ one or more of the match commands to create match clauses. These specify what
routes or update messages match the entry.
■ one or more of the set commands to create set clauses. These change the attributes of
matching routes or update messages.
Use the no variant of this command to delete a route map or to delete an entry from a
route map.
Syntax route-map <mapname> {deny|permit} <seq>
no route-map <mapname>
no route-map <mapname> {deny|permit} <seq>
Mode
Global Configuration
Usage Route maps allow you to control and modify routing information by filtering routes and
setting route attributes. You can apply route maps when the device:
■ processes BGP update messages that it has received from a peer
■ prepares BGP update messages to send to peers
■ redistributes routes from one routing protocol into another
■ redistributes static routes into routing protocols
■ uses BGP route flap dampening
When a routing protocol passes a route or update message through a route map, it checks
the entries in order of their sequence numbers, starting with the lowest numbered entry.
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.
Parameter Description
<mapname> A name to identify the route map.
deny The route map causes a routing process to discard matching routes
or BGP update messages.
permit The route map causes a routing process to use matching routes or
BGP update messages.
<seq> <1-65535> The sequence number of the entry. You can use this
parameter to control the order of entries in this route map.