BGP and BGP4+ Commands
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
■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
no
no
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> | |
| parameter to control the order of entries in this route map. |
|
|
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.
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 3.201 |