Hybrid OpenFlow Switch
Router Configuration Guide 671
Redirect to GRT Instance or VRF Instance
A router supports redirection of IPv4 or IPv6 traffic arriving on an L3 interface to a different
routing instance (GRT or VRF). An OF controller can rely on this functionality and program
PBR actions for GRT/VRF steering for H-OFS instances with switched-defined-cookie
enabled using the following OF encoding:
flow_mod:
instruction type: OFPIT_WRITE_ACTIONS/OFPIT_APPLY_ACTION,
action type: OFPAT_OUTPUT,
port= SR OS LOGICAL port encoding GRT or VPRN Service ID as outlined in the SR OS
H-OFS Logical Port section.
Since a 24-bit value is used to encode the VPRN service ID in the logical port, redirection to
a VPRN service with a service ID above that range is not supported.
Redirect to Next-hop and VRF/GRT Instance
A router supports redirection of IPv4 or IPv6 traffic arriving on an L3 interface to a different
routing instance (GRT or VRF) and next-hop IP at the same time. An OF controller can rely
on this functionality and program PBR steering action for H-OFS instances with switched-
defined-cookie enabled using the following OF encoding:
ALU_IPD_EXPERIMENT_ID:0X000025BA
ALU_AXN_REDIRECT_TO_NEXTHOP:2
flow_mod:
Instruction 1:
instruction=OFPIT_WRITE_ACTION/OFPIT_APPLY_ACTION
action=OFPAT_EXPERIMENTER(ALU_AXN_REDIRECT_TO_NEXTHOP),
Encoding as outlined in the Redirect to IP next-hop section (indirect flag must be set).
Instruction 2:
instruction type: OFPIT_WRITE_ACTIONS/OFPIT_APPLY_ACTION,
action type: OFPAT_OUTPUT,
port= SR OS LOGICAL port encoding GRT or VPRN Service ID as outlined in the SR OS
H-OFS Logical Port section.
Redirect to LSP
The router supports traffic steering to an LSP. The following details the OF encoding to be
used by an OF controller: