Flow Mirroring Commands; Mirror-To - HPE FlexFabric 5930 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexFabric 5930 Series:
Table of Contents

Advertisement

Flow mirroring commands

The flow mirroring commands are available on both Layer 2 and Layer 3 Ethernet interfaces. The
term "interface" in this chapter collectively refers to these two types of interfaces. You can use the
port link-mode command to configure an Ethernet port as a Layer 2 or Layer 3 interface (see Layer
2—LAN Switching Configuration Guide).

mirror-to

Use mirror-to to configure a mirroring action for a traffic behavior.
Use undo mirror-to to delete a mirroring action.
Syntax
mirror-to { cpu | interface interface-type interface-number [ loopback | destination-ip
destination-ip-address source-ip source-ip-address [ dscp dscp-value | vlan vlan-id | vrf-instance
vrf-instance-name ] * ] }
undo mirror-to { cpu | interface interface-type interface-number }
Default
No mirroring action is configured for a traffic behavior.
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
cpu: Mirrors the packets matching the criteria defined in the traffic class to the CPU of the IRF
member device.
interface interface-type interface-number: Mirrors the packets matching the criteria defined in the
traffic class to an interface.
loopback: Enables loopback for matching packets received on the specified interface. With this
keyword specified, the interface sends the matching packets through the GRE tunnel interface to the
tunnel interface on the destination device. The destination device receives the mirrored packets from
the physical interface of the tunnel interface, and then forwards copies of the packets to the data
monitoring device.
destination-ip destination-ip-address: Specifies the destination IP address for the mirrored packets
sent out of the mirroring destination interface.
source-ip source-ip-address: Specifies the source IP address for the mirrored packets sent out of
the mirroring destination interface.
dscp dscp-value: Specifies the DSCP value for the mirrored packets sent out of the mirroring
destination interface. The value range for the dscp-value argument is 0 to 63.
vrf-instance vrf-instance-name: Specifies the VRF instance by its name for the mirrored packets
sent out of the mirroring destination interface.
vlan vlan-id: Specifies the VLAN by its ID for the mirrored packets sent out of the mirroring
destination interface. The value range for the vlan-id argument is 1 to 4094.
Usage guidelines
You can configure multiple actions of mirroring traffic to interfaces for a traffic behavior.
255

Advertisement

Table of Contents
loading

Table of Contents