Configuring a Remote Mirror Service

For remote mirroring, the source and destination are configured on different routers. Mirror source and mirror destination parameters must be configured under the same service ID context.

For SDPs use remote-source>far-end entries. Remote source far-end details are configured in the destination node.

Figure: Remote Mirrored Service Tasks shows the mirror destination (SAR-1), configuration for mirror service 1216. This configuration specifies that the mirrored traffic coming from the mirror source (10.10.0.91) is to be directed to SAP 1/1/58 and states that the service only accepts traffic from far-end 10.10.0.92 (SAR-2) with an ingress service label of 5678. When a forwarding class is specified, then all mirrored packets transmitted to the destination SAP or SDP override the default (be) forwarding class. The slice size limits the size of the stream of packet through the router and the core network.

Figure: Remote Mirrored Service Tasks

The following example shows the CLI output for configuration of remote mirrored service 1216. The traffic ingressing and egressing port 1/1/60 on 10.10.0.92 (SAR-2) will be mirrored to the destination SAP 1/1/58:0 on SAR-1.

*A:SAR-1>config>mirror# info
----------------------------------------------
        mirror-dest 1216 create
            description "Receiving mirror traffic from .91"
            remote-source
                far-end 10.10.0.91 ing-svc-label 5678
            exit
            sap 1/1/58:0 create
                egress
                    qos 1
                exit
            exit
            no shutdown
        exit
----------------------------------------------
*A:SAR-1>config>mirror#

The following example shows the remote mirror destination configured on SAR-2:

*A:SAR-2>config>mirror># info
----------------------------------------------
mirror-dest 1216 create
description "Sending mirrored traffic to .92"
fc h1
spoke-sdp 4:60 create
egress
vc-label 5678
exit
no shutdown
exit
slice-size 128
no shutdown
exit
----------------------------------------------
*A:SAR-2>config>mirror#

The following example shows the mirror source configuration for SAR-2:

*A:SAR-2# show debug mirror
----------------------------------------------
        debug
            mirror-source 1216
                port 1/1/60 egress ingress
                no shutdown
            exit
        exit
----------------------------------------------
*A:SAR-2#

The following example shows the SDP configuration from SAR-1 to SAR-2 (SDP 2) and the SDP configuration from SAR-2 to SAR-1 (SDP 4):

*A:SAR-1>config>service>sdp# info
---------------------------------------------
            description "GRE-10.10.0.91"
            far-end 10.10.0.91
            no shutdown
---------------------------------------------
*A:SAR-1>config>service>sdp#


*A:SAR-2>config>service>sdp# info
----------------------------------------------
            description "GRE-10.10.20.92"
            far-end 10.10.0.92
            no shutdown
----------------------------------------------
*A:SAR-2>config>service>sdp#