mirror-show

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.

id

Specifies the mirror ID assigned by nvOS.

direction ingress|egress|
bidirection

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|
vflow-and-port|vflow-or-port

Specifies the filter type for the configuration.

enable|disable

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.

nvie-mirror|no-nvie-mirror

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.

sort-asc

Display output in ascending order.

sort-desc

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.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

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

unscaled

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

raw-int-values

Display integer values instead of mapped values

sum-by

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

History   

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   

mirror-modify