beautypg.com

4 mirror, 5 gvrp, 4 mirror 38.7.5 gvrp – ZyXEL Communications ZyXEL Dimension ES-4024 User Manual

Page 239

background image

ES-4024A User’s Guide

238

Chapter 38 Command Examples

Figure 151 filter Command Example

38.7.4 mirror

Syntax:

mirror classifier
mirror-port

where

This command sets the switch to copy the incoming/outgoing traffic flow defined by a
classifier to the specified mirror port.

An example is shown next.

• Create a classifier to define all IP traffic in VLAN 1 from port 3 to the destination device

with a MAC address of 00:a0:c5:00:00:01.

• Enable mirroring on the classifier.
• Enable the monitor port three.

Figure 152 mirror Command Example

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

• Enable the IEEE 802.1Q tagged VLAN command to configure tagged VLAN for the

switch.

ras(config)# classifier Example ethernet-type ip vlan 1 source-port 3
destination-mac 00:a0:c5:00:00:01
ras(config)# filter classifier Example

Specifies the name of the classifier to which this rule applies.

This is the mirror port number.

ras(config)# mirror classifier Example
ras(config)# mirror-port 3