access-list 10 permit 192.168.1.0 //用訪問控制列表先抓取路由
route-map nexthop permit 10 //起個名字
match ip address 10 //匹配一個列表
set ip next-hop 192.168.100.1 //設置一個策略
route-map nexthop permit 20
match ip address 20
set ip next-hop 192.168.100.2
route-map nexthop permit 30
int s2/1
ip policy route-map nexthop //接口下調用 ide