mirror

Configures the mirror object to monitor traffic.

Syntax

mirror name
no mirror name

Parameters

name
Specifies the name of the configured mirror object.
The name cannot exceed 64 characters. The name must start with an alphabet character or an underscore. The name must contain alphanumeric characters and special characters (underscores, hyphens, or periods).

Modes

Config mode

Usage Guidelines

The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.

If the no form of the command is run with the configuration, all sub-mode configurations are removed automatically.

Examples

The following example configures the mirror object to monitor traffic.

device# configure
device(config)# mirror mirr_1
device(config-mirror)# 

device# show mirror mirr_1 
                  Name : mirr_1 
           Description : - 
             Interface : none