Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
QoS Policy Commands
page 53-154
OmniSwitch CLI Reference Guide
September 2009
policy action mirror
Mirrors ingress, egress, or both ingress and egress packets that match a mirroring policy to the specified 
port.
policy action action_name [ingress | egress | ingress egress] mirror slot/port
policy action action_name no mirror slot/port
Syntax Definitions
action_name
The name of the action.
ingress
Mirrors ingress packets.
egress
Mirrors egress packets.
ingress egress
Mirrors ingress and egress packets.
slot/port
The slot and port number that will receive the mirrored traffic. 
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of the command to remove mirror from the policy action. 
• Use this command to configure a mirror-to-port (MTP) action that is used for policy based mirroring.
• Only one MTP session is supported at any given time. As a result, all mirroring policies should specify 
the same MTP port. 
• Policy based mirroring and the port based mirroring feature can run simultaneously on the same switch.
Examples
-> policy action a1 mirror 1/7 (default ingress)
-> policy action a1 ingress mirror 1/7 
-> policy action a1 egress mirror 1/7 
-> policy action a1 ingress egress mirror 1/7
-> policy action a1 no mirror
Release History
Release 6.3.1; command was introduced.
parameter
default
ingress | egress | ingress egress ingress