beautypg.com

5 mirror, 6 gvrp – ZyXEL Communications ZyXEL Dimension GS-3012 User Manual

Page 234

background image

GS-3012/GS-3012F User’s Guide

31-12

Command Examples

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.

Figure 31-23 bandwidth-limit Command Example

31.8.5 mirror

Syntax:

mirror
mirror dir

where

Enables port mirroring on the interface.

s|both>

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.

An example is shown next.

Enable port mirroring.

Enable the monitor port three.

Enable ports one, four, five and six for configuration.

Enable port mirroring on the interface.

Enable port mirroring for outgoing traffic. Traffic is copied from ports one, four, five and six to port three in order
to examine it in more detail without interfering with the traffic flow on the original port(s).

Figure 31-24 mirror Command Example

31.8.6 gvrp

Syntax:

ras(config)# mirror-port

ras(config)# mirror-port 3

ras(config)# interface port-channel 1,4-6

ras(config-interface)# mirror

ras(config-interface)# mirror dir egress

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