Cisco Systems 78-11741-02 Wireless Office Headset User Manual


 
Configuring BGP
BGP Configuration Examples
IPC-333
Cisco IOS IP Configuration Guide
BGP Prefix List Filtering Examples
BGP Soft Reset Examples
BGP Synchronization Examples
BGP Path Filtering by Neighbor Examples
BGP Aggregate Route Examples
BGP Community with Route Maps Examples
BGP Conditional Advertisement Configuration Examples
BGP Confederation Examples
BGP Peer Group Examples
TCP MD5 Authentication for BGP Examples
BGP Route Map Examples
The following example shows how you can use route maps to modify incoming data from a neighbor.
Any route received from 140.222.1.1 that matches the filter parameters set in autonomous system access
list 200 will have its weight set to 200 and its local preference set to 250, and it will be accepted.
router bgp 100
!
neighbor 140.222.1.1 route-map FIX-WEIGHT in
neighbor 140.222.1.1 remote-as 1
!
ip as-path access-list 200 permit ^690$
ip as-path access-list 200 permit ^1800
!
route-map FIX-WEIGHT permit 10
match as-path 200
set local-preference 250
set weight200
In the following example, the route map named freddy marks all paths originating from autonomous
system 690 with an MED metric attribute of 127. The second permit clause is required so that routes not
matching autonomous system path list 1 will still be sent to neighbor 1.1.1.1.
router bgp 100
neighbor 1.1.1.1 route-map freddy out
!
ip as-path access-list 1 permit ^690_
ip as-path access-list 2 permit .*
!
route-map freddy permit 10
match as-path 1
set metric 127
!
route-map freddy permit 20
match as-path 2
The following example shows how you can use route maps to modify redistributed information from the
IP forwarding table:
router bgp 100
redistribute igrp 109 route-map igrp2bgp
!
route-map igrp2bgp
match ip address 1