3Com 4500 PWR 26-PORT Mirroring-port Syntax, Related command display qos-interface mirrored-to

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 201
Image 201

QoS Configuration Commands List 195

rule rule: Specifies the subitem of an active ACL, ranging from 0 to 65534; if not specified, all subitems of the ACL will be activated. If only IP ACL or Layer 2 ACL is activated, this parameter can be omitted. If both IP and Layer 2 ACL are activated at the same time, the rule parameter cannot be omitted.

cpu: Specifies the traffic will be mirror to CPU

monitor-interface:Specifies that the destination port is the monitor port.

Description

Use the mirrored-tocommand to enable ACL traffic identification and perform traffic mirroring.

Use the undo mirrored-tocommand to disable traffic mirroring.

This command is used for mirroring the traffic matching the specified ACL (whose action is permit). The observing port cannot be a Trunk port or aggregated port.

This command only supports one observing port. When you use the traffic mirror for the first time, you have to designate the observing port.

Related command: display qos-interface mirrored-to.

Example

To mirror the packets matching the ACL 2000 rules, whose action is permit, to the port Ethernet1/0/1, enter the following:

<4500>system-view

System View: return to User View with Ctrl+Z

[4500]interface Ethernet 1/0/1

[4500-Ethernet1/0/1]monitor-port

[4500-Ethernet1/0/1]quit

[4500]interface Ethernet 1/0/2

[4500-Ethernet1/0/2] mirrored-toip-group 2000 monitor-interface4500-Ethernet1/0/2]

mirroring-port Syntax

mirroring-port { inbound outbound both }

undo mirroring-port

View

Ethernet Port View

Parameter

None.

Description

Use the mirroring-portcommand to configure a mirroring port.

Use the undo mirroring-portcommand to remove setting of mirroring port.

The Switch supports one monitor port and one mirroring port. If several Switches form a Fabric, only one monitor port and one mirroring port can be configured in

Page 201
Image 201
3Com 4500 PWR 26-PORT, 4500 PWR 50-PORT manual Mirroring-port Syntax, Related command display qos-interface mirrored-to