This command is used to display information about port mirroring on the switch.

Syntax   mirror-show [name name-string] [id] [ direction ingress|egress|bidirection ] [out-port port-list] [out-trunk trunk name] [loopback-port loopback-port-number] [in-port port-list] [filtering port|vflow-and-port|vflow-or-port] [enable|disable] [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

Specifies a name for the mirror configuration.


Specifies the mirror ID assigned by nvOS.

direction ingress|egress|

Specifies a direction for the mirrored traffic.

out-port port-list

Specifies the port for outgoing traffic.

out-trunk trunk name

Specifies the name of the outgoing trunk configuration.

loopback-port loopback-port-number

Specifies the loopback port for mirrored traffic.

in-port port-list

Specifies the port for incoming traffic.

filtering port|

Specifies the filter type for the configuration.


Enable or disable the configuration.

other-egress-out allow|prevent

Specifies 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.


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

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None.

Access   CLI


Version 1.2

Command introduced.

Version 2.0

Command changed to mirror-show.

Version 2.4

 The parameter, span-, introduced.

Version 2.6.2

The parameter, nvie-mirror, added.

Usage   Use this command to display port mirroring information.

Examples  To display information about port mirroring, use the following command:

CLI (network-admin@pleiades25) > mirror-show

switch:        pleiades25

mirroring:     disable

See Also