Policy Based routing or PBR


PBR on SP

https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/Layer3-Config/PBR_Configuration-SP.html#


PBR not supported on DC
Matrixhttps://www.ipinfusion.com/documentation/ocnos-feature-matrix/



example

PBR example
feature pbr
hardware-profile filter ingress- ipv4-ext enable

ip access-list 123
  10 permit any 101.1.1.0/24 201.1.1.0/24


route-map 123 permit 10
  match ip address 123
  set ip next-hop 13.1.1.2


interface eth4
  ip address 101.1.1.2/24
  ip policy route-map 123

show commands

show run aclmgr

show run interface eth4



show route-map 123

show ip policy

show route-map 123 pbr-statistics

( clear route-map 123 pbr-statistics )