User`s guide

100 XgOS User’s Guide September 2014
Note For the 10GE I/O module, use the <mac address> option because the
module has only one port.
Configure vNIC Mirroring for a Port
To configure an individual vNIC mirror on a port, use the set vnic commands. In
this example, assume the input vNIC “vn1.pubstest” will be mirroring to slot 4, port
7. Only received packets will be mirrored.
1. Set the input vNIC to mirror to an output port:
2. Set the direction of traffic that will be mirrored:
-mirror-direction=
<both|none|rxOnly|txOnly>
Provides control over which direction of traffic will be mirrored.
By default, mirroring is disabled (none). Specifying none on a
configured vNIC disables vNIC Mirroring but leaves the feature
configured.
set ethernet-port <slot/port> Identifies the I/O module and port on which all vNICs will be
mirrored.
-mirror-all-vnics=<vnic|ioport> Specifies the output destination for the mirrored vNICs. You can
remove a configured mirror for all vNICs by specifying -mirror-
all-vnics=none.
-mirror-direction=
<both|none|rxOnly|txOnly>
Provides control over which direction of traffic will be mirrored.
By default, mirroring is disabled (none). Specifying none on a
configured mirror disables vNIC Mirroring but leaves the feature
configured.
-mirror-mac=<mac-address> For vNICs that are mirrored to a port, this qualifier specifies the
destination hardware address of the device that will receive the
mirrored traffic. By default, no MAC address is used.
set vnic vn1.pubstest -mirror=4/7
set vnic vn1.pubstest -mirror-direction=rxOnly
Parameter Description