для Cisco Cisco Packet Data Gateway (PDG)
Routing
▀ Routing Policies
▄ ASR 5500 System Administration Guide, StarOS Release 17
238
Notes:
Use the match and set commands in Route Map Configuration mode to configure the route map. Refer to the
Command Line Interface Reference for more information on these commands.
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
Sample Configuration
The example below shows a configuration that creates two route access lists, applies them to a route map, and uses that
route map for a BGP router neighbor.
route map for a BGP router neighbor.
The example below shows a configuration that creates two route access lists, applies them to a route map, and uses that
route map for a BGP router neighbor.
route map for a BGP router neighbor.
config
context isp1
route-access-list named RACLin1a permit 88.151.1.0/30
route-access-list named RACLin1a permit 88.151.1.4/30
route-access-list named RACLany permit any
route-map RMnet1 deny 100
match ip address route-access-list RACLin 1 a
#exit
route-map RMnet1 deny 200
match ip address route-access-list RACLin 1 b
#exit
route-map RMnet1 permit 1000
match ip address route-access-list RACLany
#exit
router bgp 1
neighbor 152.20.1.99 as-path 101
neighbor 152.20.1.99 route-map RMnet1
context isp1
route-access-list named RACLin1a permit 88.151.1.0/30
route-access-list named RACLin1a permit 88.151.1.4/30
route-access-list named RACLany permit any
route-map RMnet1 deny 100
match ip address route-access-list RACLin 1 a
#exit
route-map RMnet1 deny 200
match ip address route-access-list RACLin 1 b
#exit
route-map RMnet1 permit 1000
match ip address route-access-list RACLany
#exit
router bgp 1
neighbor 152.20.1.99 as-path 101
neighbor 152.20.1.99 route-map RMnet1