[Contents] [Prev] [Next] [Index] [Report an Error]

Types of BGP Route Maps

A route map consists of match clauses and set clauses. Match clauses, which consist of a match command, specify the attribute values that determine whether a route matches the route map. Set clauses, which consist of a set command, modify the specified attributes of routes that pass all match clauses in the route map.

BGP route maps can be applied to inbound routes, outbound routes, and redistributed routes. BGP route maps are of two types, those that support both match and set clauses, and those that support only match clauses.

The match-and-set route maps consist of the route maps configured with any of the commands listed in Table 15.

Table 15: Commands That Create Match-and-Set Route Maps

aggregate-address attribute-map

global import map

bgp dampening route-map

neighbor route-map in

export map

neighbor route-map out

import map

redistribute route-map

global export map

table-map

BGP supports the clauses listed in Table 16 for match-and-set route maps.

Table 16: Clauses Supported in BGP Match-and-Set Route Maps

match as-path

set as-path prepend

match community

set comm-list delete

match distance

set community

match extcommunity

set dampening

match ip address

set extcommunity

match ip next-hop

set ip next-hop

match level

set local-preference

match metric

set metric

match metric-type

set metric-type

match route-type

set origin

match tag

set tag

 

set weight

The match-only route maps consist of the route maps configured with any of the commands listed in Table 17. You can use any of the match clauses listed in Table 16 in these route maps. Set clauses have no effect in these route maps.

Table 17: Commands That Create Match-Only Route Maps

aggregate advertise-map

aggregate support-map

BGP does not support the clauses listed in Table 18. However, see Applying Table Maps for exceptions for route maps applied with the table-map command.

Table 18: Clauses Not Supported in BGP Route Maps

set automatic-tag

set level

set distance

set route-type

match as-path

match community

match distance

match extcommunity

match ip address

match ip next-hop

match level

match metric

match metric-type

match route-type

match tag

neighbor route-map

route-map

set as-path prepend

set comm-list delete

set community

set dampening

set extcommunity

set ip next-hop

set local-preference

set metric

set metric-type

set origin

set tag

set weight


[Contents] [Prev] [Next] [Index] [Report an Error]