Basic Mirroring Configuration
Page 1320 7750 SR OS Services Guide
SAP More than one SAP can be associated within a single mirror-source. Each SAP has its own
ingress and egress parameter keywords to define which packets are mirrored to the mirror-dest
service ID.
You cannot create a mirror destination SAP on a SONET/SDH or TDM channel. You can
configure SONET/SDH or TDM channel SAPs as mirror sources.
The port requirements for mirror destination SAPs are as follows:
• The port type must be Fast Ethernet, Gigabit Ethernet, or XGigE.
• The port mode must be access.
• The port encapsulation types must be dot1q, null, or qinq.
CLI Syntax: debug>mirror-source# sap sap-id {[egress] [ingress]}
Example: *A:ALA-A>debug>mirror-source# sap 2/1/4:100 ingress egress
or debug>mirror-source# port 2/2/1.sts12 ingress
MAC filter MAC filters are configured in the config>filter>mac-filter context. The mac-filter
command causes all the packets matching the explicitly defined list of entry IDs to be mirrored to
the mirror destination specified by the
service-id of the mirror source.
CLI Syntax: debug>mirror-source# mac-filter mac-filter-id entry entry-id
[entry-id …]
Example: *A:ALA-2>debug>mirror-source# mac-filter 12 entry 15 20 25
IP filter IP filters are configured in the config>filter>ip-filter context. The ip-filter
command causes all the packets matching the explicitly defined list of entry IDs to be mirrored to
the mirror destination specified by the
service-id of the mirror source.
Ingress mirrored packets are mirrored to the mirror destination prior to any ingress packet
modifications. Egress mirrored packets are mirrored to the mirror destination after all egress
packet modifications.
CLI Syntax: debug>mirror-source# ip-filter ip-filter-id entry entry-id
[entry-id …]
Example: *A:ALA-A>debug>mirror-source# ip-filter 1 entry 20
NOTE: An IP filter cannot be applied to a mirror destination SAP.