Traffic Mirroring Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

Configuration guidelines for local SPAN

Updated: February 5, 2026

Overview

This section provides key guidelines for local SPAN, including supported traffic types, interface requirements, and session limits. It outlines how to effectively use the feature for ingress traffic mirroring across various physical and bundle interface configurations.

The local SPAN feature supports multiple capabilities. These are the key guidelines:

  • You can only configure this feature for ingress traffic.

  • Configures the destination interface only as Layer 2 or Layer 3 physical main interface.

  • Configures these interfaces as sources for a local SPAN session:

    • L3 physical main and sub-interface, bundle main, and bundle sub-interface.

    • L2 ethernet interfaces: Ethernet Flow Point (EFP) and trunk.

    • BVI interface.

  • Mirrors IPv4, IPv6, IP-in-IP and MPLS traffic.

  • Supports extended Access Control Lists (ACLs) to reduce mirrored traffic throughput.

  • Supports traffic shaping on the destination interface.

  • Supports session statistics. There is one counter for all types of traffic, that is, IPv4, IPv6, and MPLS.

  • Supports up to four local SPAN sessions, shared between:

    • ERSPAN

    • Local SPAN, and

    • SPAN to File features.

  • Supports up to 1000 source interfaces.