BGP: Difference between revisions

Content added Content deleted
Line 119: Line 119:
=Filter with Route Maps=
=Filter with Route Maps=


Route maps are very powerful filtering tools, they can be used to accomplish the following tasks:
*Route maps are very powerful filtering tools, they can be used to accomplish the following tasks:


Filter on IP prefixes coming from a specific autonomous system
Filter on IP prefixes coming from a specific autonomous system
Line 125: Line 125:
Modify BGP attributes
Modify BGP attributes


Match clauses in the BGP route map can be based on the following:
*Match clauses in the BGP route map can be based on the following:


IP network numbers and subnet masks (prefix list or access list)
IP network numbers and subnet masks (prefix list or access list)
Line 136: Line 136:
IGP route type
IGP route type


With a route map, the following can be set:
*With a route map, the following can be set:


Origin
Origin
Line 145: Line 145:
MED
MED


You can apply a route map on incoming or outgoing routing information for a neighbor. The routing information must be permitted by the route map to be accepted. If the route map has no statement explicitly permitting a route, the route is implicitly denied and dropped.
*You can apply a route map on incoming or outgoing routing information for a neighbor.
*The routing information must be permitted by the route map to be accepted.
*If the route map has no statement explicitly permitting a route, the route is implicitly denied and dropped.


The syntax required is as follows:
*The syntax required is as follows:


Router(config-router)# neighbor ip-address route-map name in|out
Router(config-router)# neighbor ip-address route-map name in|out