ETH-CFM Service Commands
Page 1014 7750 SR OS Services Guide
processing. If no ingress filter is defined, no filtering is performed.
hsmda-queue-override
Syntax [no] hsmda-queue-override
Context config>service>ies>if>sap>egress
config>service>ies>if>sap>ingress
Description This command configures HSMDA egress and ingress queue overrides.
packet-byte-offset
Syntax packet-byte-offset {add add-bytes | subtract sub-bytes}
no packet-byte-offset
Context config>service>ies>if>sap>egress>hsmda-queue-over
config>service>ies>if>sap>ingress>hsmda-queue-over
Description This command adds or subtracts the specified number of bytes to the accounting function for each
packet handled by the HSMDA queue. Normally, the accounting and leaky bucket functions are based
on the Ethernet DLC header, payload and the 4-byte CRC (everything except the preamble and inter-
frame gap). For example, this command can be used to add the frame encapsulation overhead (20
bytes) to the queues accounting functions.
The accounting functions affected include:
• Offered High Priority / In-Profile Octet Counter
• Offered Low Priority / Out-of-Profile Octet Counter
• Discarded High Priority / In-Profile Octet Counter
• Discarded Low Priority / Out-of-Profile Octet Counter
• Forwarded In-Profile Octet Counter
• Forwarded Out-of-Profile Octet Counter
• Peak Information Rate (PIR) Leaky Bucket Updates
• Committed Information Rate (CIR) Leaky Bucket Updates
• Queue Group Aggregate Rate Limit Leaky Bucket Updates
The secondary shaper leaky bucket, scheduler priority level leaky bucket and the port maximum rate
updates are not affected by the configured packet-byte-offset. Each of these accounting functions are
frame based and always include the preamble, DLC header, payload and the CRC regardless of the
configured byte offset.
The packet-byte-offset command accepts either add or subtract as valid keywords which define
whether bytes are being added or removed from each packet traversing the queue. Up to 20 bytes may
be added to the packet and up to 43 bytes may be removed from the packet. An example use case for
subtracting bytes from each packet is an IP based accounting function. Given a Dot1Q encapsulation,
the command packet-byte-offset subtract 14 would remove the DLC header and the Dot1Q header