Enable Mirror Configuration

About this task

You can use the mirror reference in ingress group to enable mirroring based on filters.

Procedure

  1. Enter the Config mode.
    device# configure terminal
    device(config)#
  2. Enter the mirror configuration mode.
    device(config)# mirror mirr_1
    device(config-mirror)# 
  3. Configure the mirror destination port in slot/port format.
    device(config-mirror)# set interface ethernet NAME
    Only one mirror destination port is supported.

Example

The following example shows the configuration of a mirror to an ingress-group:
9920(config)# mirror mirr_1
9920(config-mirror)# set interface ethernet 1/10
9920(config-mirror)# do show mirror mirr_1

                  Name : mirr_1          
           Description : -               
             Interface : ethernet 1/10   

9920(config-mirror)# ingress-group vv1
9920(config-ingress-group)# traffic-type vxlan outer mirror mirr_1
9920(config-ingress-group)# do show ingress-group vv1

    Name : vv1             
             Route-Map : -                     
           Description : -                     
            Interfaces : none                  

   Outer Tunnel Config : 
          Traffic-Type : VxLAN                 
             Tunnel-Id : any                   
   Destination-ip-addr : any                   
        Source-ip-addr : any                   
                Mirror : mirr_1