Mirroring Configuration
243
Configuration procedure
Configuration example
■
Configure MAC-based mirroring to mirror the packets matching the MAC address
00e0-fc01-0101 to the destination port.
■
The destination port is GigabitEthernet1/0/2.
Configuration procedure:
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
mac-address static 00e0-fc01-0101 interface gigabitethernet
1/0/1 vlan 2
[4200G]
mirroring-group 1 local
[4200G]
mirroring-group 1 mirroring-mac 00e0-fc01-0101 vlan 2
[4200G]
interface gigabitethernet 1/0/2
[4200G-GigabitEthernet1/0/2]
mirroring-group 1 monitor-port
Configuring VLAN-Based
Mirroring
VLAN-based mirroring allows you to mirror packets received by all ports that belong
to the VLAN to the destination port.
Configuration prerequisites
■
The ID of the VLAN to be configured with VLAN-based mirroring has been
determined.
■
The destination port is specified.
Table 213
Configure MAC-based mirroring
Operation
Command
Description
Enter system view
system-view
-
Define a MAC-based local
mirroring group
mirroring-group
group-id
local
Required
Configure MAC-based
mirroring
mirroring-group
group-id
mirroring-mac
mac
vlan
vlan-id
Required
Enter Ethernet port view of
the destination port
interface
interface-type
interface-number
-
Define the current port as
the destination port
mirroring-group
group-id
monitor-port
Required
Display parameter settings
of the mirroring
display mirroring-group
{
group-id
|
all
|
local
}
Optional
command can be executed in
any view
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...