246
C
HAPTER
28: C
ONFIGURATION
FOR
M
IRRORING
F
EATURES
Configuring RSPAN on the destination switch
Configuration example
■
Switch A is connected to the data detect device using GigabitEthernet1/0/2.
■
GigabitEthernet1/0/1, the Trunk port of Switch A, is connected to GigabitEthernet
1/0/1, the Trunk port of Switch B.
■
GigabitEthernet1/0/2, the Trunk port of Switch B, is connected to GigabitEthernet
1/0/1, the Trunk port of Switch C.
■
GigabitEthernet1/0/2, the port of Switch C, is connected to PC1.
The purpose is to monitor and analyze the packets sent to PC1 using the data detect
device.
Configure Trunk port to
permit packets from the
remote-probe VLAN
port trunk permit vlan
remote
-
probe
-
vlan-id
Required
This configuration is
necessary for ports on the
intermediate switch that
are connected to the source
switch or the destination
switch.
Table 217
Configure RSPAN on the destination switch
Operation
Command
Description
Enter system view
system-view
-
Create a remote-probe
VLAN and enter VLAN view
vlan
vlan-id
v
lan-id
is the ID of the
Remote-probe VLAN.
Define the current VLAN as
a remote-probe VLAN
remote-probe vlan enable
Required
Exit the current view
quit
-
Enter Ethernet port view of
Trunk port
interface
interface-type
interface-number
-
Configure Trunk port to
permit packets from the
remote-probe VLAN
port trunk permit vlan
remote
-probe-
vlan-id
Required
Exit current view
quit
-
Configure the remote
destination mirroring group
mirroring-group
group-id
remote-destination
Required
Configure the destination
port for remote mirroring
mirroring-group
group-id
monitor-port
monitor-port
Required
STP cannot be enabled on
destination port for remote
mirroring.
After you configure a port
as the destination port for
remote mirroring, the
switch does not allow you
to change the port type or
default VLAN ID of the port.
Configure the
remote-probe VLAN for the
remote destination
mirroring group
mirroring-group
group-id
remote-probe vlan
remote
-
probe
-
vlan-id
Required
Display the configuration of
the remote destination
mirroring group
display mirroring-group
remote-destination
Optional
The
display
command can
be executed in any view
Table 216
Configure RSPAN on the intermediate switch (Continued)
Operation
Command
Description
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...