Deployment Guide

35
4.4.3 DNOS-OF L2 Rewrite Group Entries
DNOS-OF L2 Rewrite group entries are of indirect type and have a single action bucket. They are used when it
is desired to modify Ethernet header fields for bridged packets. Use of an DNOS-OF L2 Rewrite group entry is
optional, and can only be a Policy ACL Flow Table action.
DNOS-OF L2 Rewrite actions are optional with the exception of group. This permits an DNOS-OF L2 Rewrite
group entry to selectively modify the source MAC, destination MAC, and/or VLAN ID.
If a Set Field action sets the VLAN id, the VLAN id must be the same as in a chained L2 Interface group
entry. Note that if the VLAN id is not rewritten, the VLAN id in the L2 Interface group entry must be the
same as the VLAN id matched in the Policy ACL Flow Table flow entry that forwarded to the rewrite group.
4.4.3.1 Naming Convention
Table 49 details the DNOS-OF L2 Rewrite group entry identifier subfields that encode the type and VLAN ID.
4.4.3.2 Action Buckets
The single action bucket specifies the output group for forwarding the packet and optional Ethernet header
modifications.
Field
Argument
Description
Group
Group
entry
Must chain to a L2 Interface group entry.
Required.
Set Field
MAC_SRC
Re-write the source MAC. Optional.
Set Field
MAC_DST
Re-write the destination MAC. Optional.
Set Field
VLAN-id
Re-write the VLAN id. Optional.
Chained group entries must be defined before being used. DNOS-OF maintains reference counts for used
entries, and a group entry cannot be deleted if it is referenced by a flow entry or another group.
4.4.3.3 Counters
DNOS-OF L2 Rewrite group entry counters are as shown in Table 51 for completeness.