mirror session

Syntax

mirror session <SESSION-ID>

no mirror session <SESSION-ID>

Description

Creates a mirroring session configuration context or enters an existing mirroring session configuration context.

The no form of this command removes an existing mirroring session from the configuration.

Command context

config

Parameters

<SESSION-ID>

Specifies a numeric identifier for the session. Range: 1 through 4

Authority

Administrators

Usage

This command creates or enters an existing mirroring session configuration context. From this context, you can enter commands to configure and enable or disable the mirroring session.

The no form of the command removes an existing mirroring session from the configuration. If the mirroring session is enabled, it is disabled automatically before it is removed from the configuration.

Examples

switch(config)# mirror session 1
switch(config-mirror-1)#

switch(config)# mirror session 3
switch(config-mirror-3)#

switch(config)# no mirror session 1
switch(config)#