Mirror, 5 mirror – ZyXEL Communications GS-3012 User Manual

Page 208

Advertising
background image

Dimension GS-3012 Gigabit Ethernet Switch

29-12

Command Examples

Enables bandwidth control on the switch.

<Mbps>

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

An example is shown next.

Enable port one for configuration.

Enable bandwidth control.

Set the outgoing traffic bandwidth limit to 7Mbps.

Set the incoming traffic bandwidth limit to 9Mbps.

Figure 29-23 bandwidth-limit Command Example

29.8.5 mirror

Syntax:

mirror
mirror dir <ingress|egress|both>

where

Enables port mirroring on the interface.

<ingress|egres
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 29-24 mirror Command Example

GS-3012(config)# interface 1

GS-3012(config-interface)# bandwidth-limit

GS-3012(config-interface)# bandwidth-limit egress 7

GS-3012(config-interface)# bandwidth-limit ingress 9

GS-3012(config)# mirror-port

GS-3012(config)# mirror-port 3

GS-3012(config)# interface 1,4-6

GS-3012(config-interface)# mirror

GS-3012(config-interface)# mirror dir egress

Advertising