MIRror

Note

This command belongs to the shell mode for newer (logical-table) switch chips and is not available on Trident 3.

Manage port mirroring

Shortest form: mir.

Built-in help

Usages:
        show                 - display current mirror configuration
Switch Device Options:
    Dest                 - Set mirror destination or attach it to port
    Init                 - Init Mirror module
    Port                 - Set mirror configuration for a port
Advanced Options: (subcmd dest) to use mirror destination features
    create          (cmd) - creates a new mirror destination
    destroy         (cmd) - destroys mirror destination
    add             (cmd) - add created mirror destination to a port
    delete          (cmd) - delete mirror destination from a port
    show            (cmd) - display currently defined mirror destinations
    id=<id>         (arg) - mirror destination id
    destport=<p>    (arg) - mirror destination gport
    srcport=<p>     (arg) - source mirror port/gport
    mode=<OFF|Ingress|Egress|EgressTrue|IngressEgress> (arg) - mirroring mode
    tunnel=<L2|GRE> (arg) - mirroring tunnel
    srcIP=<IPv4>    (arg) - source IPv4 address for IP GRE tunneling
    destIP=<IPv4>   (arg) - destination IPv4 address for IP GRE tunneling
    srcIP6=<IPv6>   (arg) - source IPv6 address for IP GRE tunneling
    destIP6=<IPv6>  (arg) - destination IPv6 address for IP GRE tunneling
    srcMAC=<MAC>    (arg) - source MAC address for L2/IP GRE tunneling
    destMAC=<MAC>   (arg) - destination MAC address for L2/IP GRE tunneling
    vlan=<VLAN-ID>  (arg) - VLAN ID for L2/IP GRE tunneling
    tpid=<TPID>     (arg) - TPID for L2/IP GRE tunneling
    version=<IP-Version> (arg) - Version field for IP GRE tunneling
    ttl=<TTL>       (arg) - TTL field for IP GRE tunneling
    tos=<TOD>       (arg) - TOS field for IP GRE tunneling
    FlowLable=<FlowLable> (arg) - IPv6 header flow label field for IP GRE tunneling
    NoVlan=<T|F>    (arg) - Strip VLAN tag from mirrored packet

Advanced Options: (subcmd port) to set mirror configuration for a port
Parameters: <ports> [SHow] [Mode=<Off|On|Ingress|Egress|All>]
    [DestPort=<port>] [DestModule=<modid>]