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

PDF

ERSPAN with flexible CLI

Updated: February 5, 2026

Overview

This section explains how the flexible CLI option for ERSPAN consolidates session properties, tunnel properties, and source interfaces into a standalone configuration object.

ERSPAN with flexible CLI is an option to configure ERSPAN to

  • function as a standalone configuration object that includes all ERSPAN session properties, tunnel properties, and source interfaces

  • allow easy removal and re-addition of configurations, and

  • minimize user error and support operational simplicity.

Benefits

The flexible CLI for ERSPAN provides benefits, such as:

  • Simplifies configuration by consolidating settings into one object.

  • Reduces the risk of user errors during configuration changes.

  • Enables easy removal and re-application of settings.