Cisco Cisco Packet Data Gateway (PDG)

Seite von 362
Routing   
▀  Routing Policies 
 
 
▄  ASR 5500 System Administration Guide, StarOS Release 16 
242 
   
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. 
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. 
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