beautypg.com

5 mirror – ZyXEL Communications LAYER 3 ES-3124 User Manual

Page 293

background image

ES-3124 User’s Guide

Chapter 37 Interface Commands

291

Syntax:

bandwidth-limit
bandwidth-limit pir
bandwidth-limit cir
bandwidth-limit egress

where

An example is shown next.

• Enable port one for configuration.
• Enable bandwidth control.
• Set the outgoing traffic bandwidth limit to 5000Kbps.
• Set the guaranteed bandwidth allowed for incoming traffic to 4000Kbps.
• Set the maximum bandwidth allowed for incoming traffic to 8000Kbps.

37.2.5 mirror

The

mirror

command enables port mirroring on the interface.

Syntax:

mirror
mirror dir

where

An example is shown next.

pir

=

Sets the maximum bandwidth allowed for incoming traffic.

cir

=

Sets the guaranteed bandwidth allowed for incoming traffic.

egress

=

Sets the maximum bandwidth allowed for outgoing traffic
(egress) on the switch.

ras(config)# interface port-channel 1
ras(config-interface)# bandwidth-limit
ras(config-interface)# bandwidth-limit egress 5000
ras(config-interface)# bandwidth-limit cir 4000
ras(config-interface)# bandwidth-limit pir 8000

dir

= Enables port mirroring for incoming, outgoing or both

incoming and outgoing traffic.

Port mirroring copies traffic from one or all ports to another
or all ports for external analysis.