cisco PBR

时间:2022-04-11 14:55:08

access-list 2000 permit ip 10.11.50.0 0.0.0.255 any
access-list 2001 permit ip 10.11.50.0 0.0.0.255 10.11.0.0 0.0.255.255

route-map 50duan permit 10
match ip address 2001

route-map 50duan permit 20
match ip address 2000
set ip next-hop 10.11.31.1

interface Vlan50

ip address 10.11.50.254 255.255.255.0
ip policy route-map 50duan