Mirror Classification Rules

The 7705 SAR implementation of mirroring can be performed by configuring port parameters to select network traffic.

The port command associates a port with a mirror source. The port is identified by the port ID.

The following shows the port-id syntax for the port command:

port-id:

slot/mda/port

lag-id

1 to 32

egress

keyword

ingress

keyword

The defined port can be an Ethernet port or a Link Aggregation Group (LAG) ID. When a LAG ID is given as the port ID, mirroring is enabled on all ports making up the LAG. Ports that are circuit-emulation (CEM) and PPP bundle groups cannot be used as a mirror source.

Mirror sources can be ports in either access or network mode. Port mirroring is supported in the combinations shown in Table: Mirror Source Port Requirements.

Table: Mirror Source Port Requirements

Port Type

Port Mode

Port Encapsulation Type

Ethernet

access

dot1q, null, qinq

Ethernet

network

dot1q, null

Ethernet

hybrid

dot1q

CLI Syntax:
debug>mirror-source# port {port-id|lag lag-id} {[egress][ingress]} 
Example:
*A:SAR-1>debug>mirror-source# port 1/2/2 ingress egress