mirror-show
This command is used to display information about port mirroring on the switch.
Syntax mirror-show
name name-string |
A name for the mirror configuration. |
id |
The mirror ID assigned by nvOS. |
direction ingress|egress|bidirection |
A direction for the mirrored traffic. |
out-port port-list |
The port for outgoing traffic. |
out-trunk trunk name |
The name of the outgoing trunk configuration. |
loopback-port loopback-port-number |
The loopback port for mirrored traffic. |
in-port port-list |
The port for incoming traffic. |
filtering port| |
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 |
The mirror span type. The default type is none. |
span-local-ip ip-address |
The local IPv4 address for the mirror span. |
span-remote-ip ip-address |
The remote IPv4 address fpr the mirror span. |
span-src-mac mac-address |
The source MAC address for the mirror span. |
span-dst-mac mac-address |
The destination MAC address for the mirror span. |
span-tagging-vlan vlan-id |
The mirror span VLAN tagging ID. The default value is none. |
span-tos integer |
The mirror span ToS in a range 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 |
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
name direction out-port in-port filtering enable other-egress-out nvie-mirror
------- --------- -------- ------- -------------- ------ ---------------- ----------
mirror11 ingress 130 1-128 vflow-and-port yes prevent false