How to Configure A Route Map to Restrict OSPF Routes On Enterasys Chassis Switches
router
config
ip access-list standard ROUTES
permit 0.0.0.0 0.0.0.0
exit
router-map filter OSPF-FILTER permit 10
match ip address ROUTES
exit
router ospf 1
distribute-list route-map OSPF-FILTER in
Note reverse with "no" in front of command


Policy Based Routing (PBR)
Source:
ip access-list extended 101
permit ip 10.10.10.0 (source) 0.0.0.255 any
deny ip any any
show access-list 101
exit
route-map policy pbr10 permit 10
match ip address 101
set next-hop 172.72.200.1
exit
interface vlan 10
ip policy route-map pbr10
ip policy priority first //choose path designated on routing table
ip policy priority only //drop traffic if next-hop is down
ip policy priority last //choose this path last