!
interface Ethernet0/0 (连接内网的接口)
ip policy route-map test
!
!
access-list 101 permit ip any any time-range day
access-list 102 permit ip any any time-range night
!
route-map test permit 10
match ip address 101
set ip next-hop 218.90.165.70
!
route-map test permit 20
match ip address 102
set ip next-hop 218.191.242.118
!
!断线接口自动down,你不需要做配置都会切换过去,如果接口不会down,则参考以下的配置
time-range day
periodic daily 8:00 to 23:59 (时间根据需要定义)
!
time-range night
periodic daily 0:00 to 8:00 (时间根据需要定义)
!