Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Port monitor filters for port mirroring

You can configure rule-based filters at the port monitor session level to restrict the volume of ingress or egress IPv4 traffic for port mirroring. Filters configured for a port monitor session apply to the traffic from all the source interfaces for the session. The traffic is filtered before it is mirrored and sent out over the destination interface. You can apply filters to SPAN, RSPAN-source, and ERSPAN-source sessions.

If the source interface of a portmonitor session is a physical interface, all packets on the interface are mirrored. If filters are configured on the portmonitor session for a physical interface, the filters are applied to all traffic received on the interface.

Port monitor filters are constructed using firewall rules. The following limitations apply:

  • Only stateless IPv4 packet filters are supported.
  • Rules can match source IP address, destination IP address, source port, destination port, IP protocol, or DSCP.

To create and apply port monitor filters:

  1. Create firewall rules to use as the port monitor filtering rules. See Ciena Vyatta Network OS Firewall Configuration Guide for information on creating firewall rules.
  2. Apply each filter to the ingress (in) or egress (out) traffic for a port monitoring session.