Hybrid OpenFlow Switching
666 Router Configuration Guide
Hybrid OpenFlow Switch Traffic Steering Details
As described in the previous section, an update to an OpenFlow Switch’s flow table, results 
in the embedded filter update(s), which triggers update to all filter policies embedding those 
filters. The router automatically downloads the new set of rules to the line cards as defined 
through service configuration. The rules became part of ingress line card pipeline as depicted 
in Figure 29.
Figure 29: OpenFlow Switch Embedding in Ingress Pipeline Processing
SR OS H-OFS Logical Port
Logical ports are used in OpenFlow to encode switch-specific ports. SR OS H-OFS uses 
logical ports in steering actions by encoding PBR targets. The following encoding shows 
logical port types supported by SR OS H-OFS:
Encodings:
RSVP LSP: LPT: 0100, LPT-S: 0000 (tunnel), LPT-V: RSVP TE Tunnel ID
MPLS-TP LSP: LPT: 0100, LPT-S: 0000 (tunnel), LTP-V: MPLS-TP Tunnel Number
GRT instance: LPT: 0100, LPT-S: 0001 (L3 routing instance), LPT-V: 0
VPRN Id: LPT: 0100, LPT-S: 0001 (L3 routing instance), LPT-V: VPRN Service ID for a 
VPRN instance configured on the system
al_0369
Intf ACL
Rules
IP Filter Policy Table (IPv4 or IPv6)
Ingress Line Card Pipe-line Processing
QoS Table Tunnel/
Routing
Queuing
Policing
Interface
Table
Ingress
Port
Egress
Port
OF
Switch
Flow
Table
ACL
Rules
QoS
Policy
Rtg
Fwd
QoS/TM
Table 67: Encoding and Supported Logical Port Types
Bits 31..28 Bits 27..24 Bits 24..0
Logical port type (LPT) Logical port type sub-
type (LPT-S)
Logical port type value 
(LPT-V) — always padded 
with leading zeros