Mirror destination parameters must include:
a mirror destination ID (same as the mirror source service ID)
a mirror destination SAP or SDP
Mirror source parameters must include:
a mirror service ID (same as the mirror destination service ID)
the source type (port)
The following example shows a configuration of a local mirrored service where the source and destinations are on the same device.
*A:SAR-1>config>mirror# info
----------------------------------------------
mirror-dest 103 create
sap 1/1/25:0 create
egress
qos 1
exit
exit
no shutdown
exit
----------------------------------------------
*A:SAR-1>config>mirror#
The following example shows a mirror source configuration:
*A:SAR-1>show debug mirror
debug
mirror-source 103
port 1/1/24 egress ingress
no shutdown
exit
exit
*A:SAR-1>debug>mirror-source# exit
The following example shows a configuration of a remote mirrored service where the source is a port on SAR-1 and the destination is a SAP on SAR-2:
*A:SAR-1>config>mirror# info
----------------------------------------------
mirror-dest 1000 create
spoke-sdp 2:1 egr-vc-label 7000
no shutdown
exit
----------------------------------------------
*A:SAR-1>config>mirror# exit all
*A:SAR-1# show debug
debug
mirror-source 1000
port 1/1/2 egress ingress
no shutdown
exit
exit
*A:SAR-1#
*A:SAR-2>config>mirror# info
----------------------------------------------
mirror-dest 1000 create
remote-source
far-end 10.10.10.104 ing-svc-label 7000
exit
sap 1/1/2:0 create
egress
qos 1
exit
exit
no shutdown
exit
----------------------------------------------
*A:SAR-2>config>mirror#