config term
### Add Access-List OA-Out-PBR & acl-RouteToDomain ###
ip access-list extended OA-Out-PBR
permit ip 172.16.0.0 0.0.255.255 any
permit ip 172.17.0.0 0.0.255.255 any
ip access-list extended acl-RouteToDomain
permit ip any host 192.168.1.23
permit ip any host 192.168.1.24
permit ip any host 192.168.90.23
permit ip any host 192.168.90.24
### Add ip sla monitor FTTB-Lease ###
no track 1
no ip sla 10
ip sla 10
icmp-echo 10.100.xxx.1 source-interface FastEthernet0/0
frequency 5
ip sla schedule 10 life forever start-time now
track 1 ip sla 10 reachability
exit
exit
### Add Route-map FC ###
route-map FC permit 9
match ip address acl-RouteToDomain
set ip next-hop verify-availability 10.100.xxx.1 1 track 1
set ip next-hop 10.70.xxx.2
!
route-map FC permit 10
match ip address OA-Out-PBR
set ip next-hop 10.200.xxx.1
!
inte bvi1
ip policy route-map FC
沒有留言:
張貼留言