mirror

Configures the mirror object to monitor traffic.

Syntax

mirror name
no mirror name

Parameters

mirror name
Specifies the name of the configured mirror object.
The name cannot exceed 64 characters. The name must start with an alphabet or an underscore. The name must contain alphabets, numerals, 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 

The following examples show error messages.

Error: mirror name identifier must start with an alphabetic character or an underscore 

Error: mirror name identifier must be an arbitrary sequence of alphabets, numerals, alphanumeric, underscores, hyphens or dots 

Error: mirror name identifier cannot exceed 64 characters