clear port mirroring

Example

This example shows how to create and enable port mirroring with ge.1.4 as the source port, and ge.1.11 as the target port:

C3(su)->set port mirroring create ge.1.4 ge.1.11

clear port mirroring

Use this command to clear a port mirroring relationship.

Syntax

clear port mirroring source destination

Parameters

source

Specifies the source port of the mirroring configuration to be cleared. For

 

a detailed description of possible port‐string values, refer to Port String

 

Syntax Used in the CLI” on page 7‐1.

 

 

destination

Specifies the target port of the mirroring configuration to be cleared.

 

 

Defaults

None.

Mode

Switch command, read‐write.

Example

This example shows how to clear a port mirroring relationship between source port ge.1.4 and target port ge.1.11:

C3(su)->clear port mirroring ge.1.4 ge.1.11

set mirror vlan

Assigns a VLAN to be reserved for mirroring traffic. If a mirrored VLAN is created, all mirrored traffic will egress VLAN tagged. All traffic on the mirror VLAN will be flooded.

Syntax

set mirror vlan vlan-id

Parameters

vlan‐id

Specifies the VLAN to be used for remote port mirroring. The ID can

 

range from 2 to 4093.

 

 

Defaults

None.

7-40 Port Configuration

Page 208
Image 208
Enterasys Networks 9034313-07 manual Clear port mirroring, Set mirror vlan