• Encapsulated Remote () is the most advanced form of traffic mirroring that you need to understand for the CCNP ENCOR exam.

    With Local , everything happens on a single switch.
    With , traffic can travel across switches using a dedicated VLAN.

    ERSPAN topology: PC1 on source switch SW1, Layer 3 IP network, SW2 and traffic collector

    Figure 1 - Topology

    But what if the traffic collector is located in a different IP network?
    This is where becomes useful.

    Why ERSPAN Is Needed

    allows you to capture traffic on one device and send it to a traffic collector located in another network.

    This situation is common in large enterprise environments where:

    • The source traffic is in a remote site

    • The traffic collector is centralized in a data center

    • Layer 2 connectivity is not available between the two

    ERSPAN traffic over IP network

    Figure 2 – traffic overview

    Unlike , does not rely on a VLAN.
    Instead, it uses Layer 3 routing.

    Answer the question below

    At which layer does ERSPAN operate?

    How ERSPAN Works

    To make this possible, the source switch encapsulates the mirrored traffic inside a tunnel.

    The original Layer 2 frame is wrapped inside:

    • A header

    • An outer IP header

    This allows the mirrored traffic to be routed across Layer 3 networks.

    ERSPAN GRE encapsulation on source switch

    Figure 3 – encapsulation

    Once encapsulated, the packet is forwarded through the IP network like any other routed packet.
    As long as IP connectivity exists between the source and the destination, traffic can reach the traffic collector.

    GRE-encapsulated ERSPAN traffic over IP network

    Figure 4 – transport

    Answer the question below

    Which protocol encapsulates ERSPAN traffic?