Calnex SNE Ignite: How to Filter on PTP Traffic
SNE Ignite allows for filtering of incoming streams, which allows a user to apply (or not apply) impairments to specific types of traffic.
One application of this is to filter PTP traffic, separating it from other traffic in the stream so that it can be treated differently and re-combined post-impairments.
This article explains how to configure filters on SNE Ignite to facilitate this. Please see the SNE Ignite Operating Manual for more information on filters.
PTP communication is bi-directional so these filters should be applied to each direction
Adding Filters
To create a filter that will pass only the specified traffic, follow these steps:
Open/create your map
Add an MX Profiles component and click to edit
Click the Add MX Profile icon at the top of the screen to add a new Filter
Double-click the Filter node then click the Edit Settings icon to specify the filtering parameters on the Filter Selection screen:
Layer 2 (Ethernet) PTP Filter
To filter on layer 2 PTP traffic, select Ethernet Payload under Layer 2 from the Filter Selection and enable then hit Apply:
In the Settings side panel, under Filters > Ethernet Payload, set Payload type to Industry Defined and Industry Defined Payload Type to 0x88F7 - Precision Time Protocol (IEEE 1588) then Apply:
This will filter on all PTP message types at layer 2.
Layer 3/4 (UDP IPv4/IPv6) PTP Filtering
To filter on Layer 3/4 PTP traffic, select UDP under Layer 4 from the Filter Selection and enable then hit Apply:
In the Settings side panel, under Filters > UDP, set Mode to Advanced (Apply filtering to UDP Packets) and Destination Port Filter to Destination Range then Start Destination Port to 319 and End Destination Port to 320, then Apply:
This will filter on all UDP IPv4/IPv6 PTP messages.