beautypg.com

6 mirror, 7 gvrp, 6 mirror 41.8.7 gvrp – ZyXEL Communications ZyXEL Dimension GS-4012F User Manual

Page 282: Figure 182 mirror command example

background image

GS-4012F/4024 User’s Guide

Chapter 41 Command Examples

281

41.8.6 mirror

Syntax:

mirror
mirror dir

where

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 ports.
• 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 182 mirror Command Example

41.8.7 gvrp

Syntax:

gvrp

GVRP (GARP VLAN Registration Protocol) is a registration protocol that defines a way for
switches to register necessary VLAN members on ports across the network. Enable this
function to permit VLANs groups beyond the local switch.

An example is shown next.

Enables port mirroring on the interface.

= 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.

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