GS-4012F User’s Guide
Chapter 40 Command Examples
261
40.8.6 mirror
Syntax:
mirror
mirror dir <ingress|egress|both>
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 169
mirror Command Example
40.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.
<ingress|egress|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.
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
Summary of Contents for GS-4012F
Page 1: ...GS 4012F Ethernet Switch User s Guide Version 3 60 4 2005...
Page 19: ...GS 4012F User s Guide 18 Table of Contents...
Page 25: ...GS 4012F User s Guide 24 List of Figures...
Page 29: ...GS 4012F User s Guide 28 List of Tables...
Page 39: ...GS 4012F User s Guide 38 Chapter 1 Getting to Know Your Switch...
Page 43: ...GS 4012F User s Guide 42 Chapter 2 Hardware Installation and Connection...
Page 49: ...GS 4012F User s Guide 48 Chapter 3 Hardware Overview...
Page 63: ...GS 4012F User s Guide 62 Chapter 5 Initial Setup Example...
Page 69: ...GS 4012F User s Guide 68 Chapter 6 System Status and Port Statistics...
Page 101: ...GS 4012F User s Guide 100 Chapter 11 Spanning Tree Protocol...
Page 113: ...GS 4012F User s Guide 112 Chapter 15 Link Aggregation...
Page 117: ...GS 4012F User s Guide 116 Chapter 16 Port Authentication...
Page 125: ...GS 4012F User s Guide 124 Chapter 18 Classifier Figure 53 Classifier Example...
Page 131: ...GS 4012F User s Guide 130 Chapter 19 Policy Rule Figure 56 Policy Example...
Page 135: ...GS 4012F User s Guide 134 Chapter 20 Queuing Method...
Page 141: ...GS 4012F User s Guide 140 Chapter 21 VLAN Stacking...
Page 183: ...GS 4012F User s Guide 182 Chapter 30 VRRP...
Page 203: ...GS 4012F User s Guide 202 Chapter 32 Access Control...
Page 205: ...GS 4012F User s Guide 204 Chapter 33 Diagnostic...
Page 219: ...GS 4012F User s Guide 218 Chapter 38 Routing Table...
Page 267: ...GS 4012F User s Guide 266 Chapter 40 Command Examples...
Page 277: ...GS 4012F User s Guide 276 Chapter 41 IEEE 802 1Q Tagged VLAN Commands...
Page 287: ...GS 4012F User s Guide 286 Chapter 42 Troubleshooting...
Page 291: ...GS 4012F User s Guide 290 Product Specifications...