Mirror Services
7750 SR OS Services Guide Page 1357
Each entry-id must exist within the mac-filter-id. If the entry-id is renumbered within the MAC
filter definition, the old entry-id is removed from the list and the new entry-id will need to be
manually added to the list if mirroring is still desired.
If no entry-id entries are specified in the command, mirroring will not occur for that MAC filter
ID. The command will have no effect.
mirror-source
Syntax [no] mirror-source service-id
Context debug
Description This command configures mirror source parameters for a mirrored service.
The mirror-source command is used to enable mirroring of packets specified by the association of
the mirror-source to sources of packets defined within the context of the mirror-dest-service-id. The
mirror destination service must already exist within the system.
A mirrored packet cannot be mirrored to multiple destinations. If a mirrored packet is properly refer-
enced by multiple mirror sources (for example, a SAP on one mirror-source and a port on another
mirror-source), then the packet is mirrored to a single mirror-dest-service-id based on the following
hierarchy:
1. Filter entry
2. MPLS label
3. Service access port (SAP)
4. Physical port
The hierarchy is structured so the most specific match criteria has precedence over a less specific
match. For example, if a mirror-source defines a port and a SAP on that port, then the SAP mirror-
source is accepted and the mirror-source for the port is ignored because of the hierarchical order of
precedence.
The mirror-source configuration is not saved when a configuration is saved. A mirror-source man-
ually configured within an ASCII configuration file will not be preserved if that file is overwritten by
a save command. Define the mirror-source within a file associated with a config exec command to
make a mirror-source persistent between system reboots.
By default, all mirror-dest service IDs have a mirror-source associated with them. The mirror-
source is not technically created with this command. Instead the service ID provides a contextual
node for storing the current mirroring sources for the associated mirror-dest service ID. The mirror-
source is automatically created when the mirror-dest service ID is created. The mirror-source is
also automatically removed when the mirror-dest service ID is deleted from the system.
The no form of the command deletes all related source commands within the context of the mirror-
source service-id. The command does not remove the service ID from the system.
Default No mirror source match criteria is defined for the mirror destination service.
Parameters
service-id — The mirror destination service ID for which match criteria will be defined. The service-
id must already exist within the system.
service-id
Values 1 — 2147483647. The service ID must already exist as a mirror-dest.