User`s guide
104 XgOS User’s Guide • September 2014
4. If you need to undo the mirror-all-vNICs option, you use the -mirror-all-
vnics qualifier and specify none (or leave it blank).
For example, to remove all mirror vNICs from slot 4, port 5:
▼ Disable and Enable vNIC Mirrors
You can disable and re-enable vNIC mirrors through the -mirror-direction
qualifier, which defaults to none. To disable vNIC mirrors:
1. Set the vNIC mirror direction to none. For example:
2. Verify that the vNIC mirror is no longer enabled (none) as documented in
“Display vNIC Mirrors” on page 104.
1. To re-enable the vNIC mirror, set the mirror direction to a direction other than
none.
For example, to re-enable the mirror for receive traffic only:
2. Verify that the vNIC mirror is re-enabled as documented in “Display vNIC
Mirrors” on page 104.
Display vNIC Mirrors
vNIC Mirrors are displayed only through detailed vNIC information, which is
available by using the -detail qualifier for the show vnic command. Detailed
vNIC information contains the mirror field, which displays the mirror
configuration for the input vNIC.
set ethernet-port 4/5 -mirror-all-vnics=none
This will remove the mirror setting for all vNICs attached to port
4/5.
Are you sure (y/n)?y
set vnic vn1.pubstest -mirror-direction=none
set vnic vn1.pubstest -mirror-direction=none
show vnic vn1.pubstest -detail
-----------------------------------------------------------------
name vn1.pubstest
state up/up
mac-addr 00:13:97:01:80:19
admin-ipaddr 0.0.0.0/32