mirror-modify

This command allows you to modify a port mirror configuration.

Syntax   mirror-modify name name-string [out-port port-list] [out-trunk trunk-name] [direction disabled|ingress|egress|bidirection] [in-port port-list][filtering port|vflow-and-port|vflow-or-port] [other-egress-out allow|prevent] [span-encap none|over-ip|over-vlan] [span-local-ip ip-address] [span-remote-ip ip-address] [span-src-mac mac-address] [span-dst-mac mac-address] [span-tagging-vlan vlan-id] [span-tos integer]

name name-string

Specify the name of the mirror configuration to modify.

Specify any of the following options:

direction disabled|ingress|
egress|bidirection

Specify the direction of the traffic that you want to mirror on the port.

out-port port-list

Specify the list of ports for outgoing network traffic.

out-trunk trunk-name

Specify the trunk name for the outgoing trunk.

in-port port-list

Specify the list of ports for incoming network traffic.

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

Specify the type of traffic to filter.

enable|disable

Enable or disable port mirroring on the network.

other-egress-out allow|prevent

Specify if other outgoing traffic is allowed or prevented.

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 1.2

port-mirror-modify introduced.

Version 2.0

Command changed to mirror-modify.

Version 2.1

The parameter, out-trunk, added.

Version 2.2.2

The parameter, direction, added.

Version 2.2.3

The parameter, policy, changed to filtering. The parameter other-egress-out added. j

Version 2.4

 The parameter, span-, introduced.

Version 2.6.2

The parameter, nvie-mirror, added.

Usage   Port mirroring is used to send copies of network traffic on one port to a network monitoring connection on another port. You can use this command to enable or disable port mirroring as well as designate the ports to use for it.

Examples  To enable port mirroring on outbound ports 3-5 and inbound ports 8-9, use the following command:

CLI network-admin@switch > mirror-modify out-port 3-5 in-port 8-9 mirroring

See Also   

mirror-show