mirror-create

This command is used to create mirror ports and flows. Network engineers or administrators use port mirroring to analyze and debug data or diagnose errors on a network. It helps administrators keep a close eye on network performance and alerts them when problems occur. It can be used to mirror either inbound or outbound traffic (or both) on single or multiple interfaces.

Syntax   mirror-create

name name-string

Specify a name for the mirror configuration.

direction ingress|egress|
bidirection

Specify a direction for the mirrored traffic.

out-port port-list

Specify the port for outgoing traffic.

out-trunk trunk name

Specify the name of the outgoing trunk configuration.

in-port port-list

Specify the port for incoming traffic. Supported ports are 1-64 on the F64 platform. The parameter, all, is not supported.

filtering port|
vflow-and-port|vflow-or-port

Specify the filter type for the configuration.

enable|disable

Enable or disable the configuration.

other-egress-out allow|prevent

Specify if other outgoing traffic is allowed or prevented. The default value is prevent.

span-encap none|over-ip|over-vlan

Specify the mirror span type. The default type is none.

span-local-ip ip-address

Specify the local IPv4 address for the mirror span.

span-remote-ip ip-address

Specify the remote IPv4 address fpr the mirror span.

span-src-mac mac-address

Specify the source MAC address for the mirror span.

span-dst-mac mac-address

Specify the destination MAC address for the mirror span.

span-tagging-vlan vlan-id

Specify the mirror span VLAN tagging ID. The default value is none.

span-tos integer

Specify the mirror span ToS from 0 to 255. The default value is 0.

nvie-mirror|no-nvie-mirror

Specify to mark this mirroring as an NVIE mirror and mirror traffic to NVIE VM.

Defaults   None

Access   CLI

History   

Version 2.2

Command introduced.

Version 2.4

 The parameter, span-, introduced.

Version 2.6.2

The parameter, nvie-mirror, added.

Usage   Use this command to create mirrored traffic or ports for analyzing traffic.

Examples  To create a mirror configuration, mirror-port, with the direction egress, port 73, inbound port 33, filtering by port, and allow other egress traffic, use the following syntax:

CLI (network-admin@switch) > mirror-create name mirror-port direction egress out-port 73 in-port 33 enable other-egress-out allow

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south