ES-2048 User’s Guide

Syntax:

bandwidth-limit bandwidth-limit pir <Kbps> bandwidth-limit cir <Kbps> bandwidth-limit egress <Kbps>

where

 

 

pir

<Kbps>

= Sets the maximum bandwidth allowed for incoming traffic.

cir

<Kbps>

=

Sets the guaranteed bandwidth allowed for incoming traffic.

egress <Kbps>

=

Sets the maximum bandwidth allowed for outgoing traffic

 

 

 

(egress) on the switch.

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.

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

34.2.5 mirror

The mirror command enables port mirroring on the interface.

Syntax:

mirror

mirror dir <ingressegressboth>

where

 

dir

= Enables port mirroring for incoming, outgoing or both

<ingressegressboth>

incoming and outgoing traffic.

 

Port mirroring copies traffic from one or all ports to another

 

or all ports for external analysis.

An example is shown next.

 

Chapter 34 Interface Commands

265