3Com 5500-SI Switch User Manual


 
384 CHAPTER 20: CONFIGURATION FOR QOS FEATURES
Configuration
Procedures in the Source
Switch
Configuration Example Network diagram requirements
The network description is as follows:
Switch A is connected to the data monitoring device using Ethernet1/0/2.
Ethernet1/0/1, the Trunk port of Switch A, is connected to Ethernet 1/0/1, the
Trunk port of Switch B.
Ethernet1/0/2, the Trunk port of Switch B, is connected to Ethernet 1/0/1, the
Trunk port of Switch C.
Ethernet1/0/2, the port of Switch C, is connected to PC1.
The requirement is to monitor and analyze the packets sent to PC1 using the data
monitoring device.
To meet the above requirement using the RSPAN function, perform the following
configurations:
Define VLAN10 as remote-probe VLAN.
Configure Switch A to be the destination switch, Ethernet1/0/2, the port that
connects the data monitoring device, to be the destination port of remote
mirroring. Disable the STP function for Ethernet1/0/2.
Configure Switch B to be the intermediate switch.
Table 406 Configuration procedures in the source switch
Operation Command Description
Enter system view system-view
Establish remote-probe VLAN,
and enter VLAN view
vlan vlan-id The parameter vlan-id represents
the ID of the remote-probe VLAN.
Define the current VLAN as
remote-probe VLAN.
remote-probe vlan enable Required.
Exit the current view quit
Enter the Ethernet port view
of Trunk ports
interface interface-type
interface-number
Configure Trunk ports so that
packets in the remote-probe
VLAN can pass through
port trunk permit vlan
remote-probe-vlan-id
Required.
Exit the current view quit
Configure the destination
group of remote mirroring
mirroring-group group-id
remote-destination
Required.
Configure the destination
ports of remote mirroring
mirroring-group group-id
monitor-port monitor-port
Required.
The destination ports of remote
mirroring cannot enable STP.
Once a port has been configured
as a destination port of remote
mirroring, its port type and
default VLAN ID can no longer be
modified.
Configure the remote-probe
VLAN for the destination
group of remote mirroring
mirroring-group group-id
remote-probe vlan
remote-probe-vlan-id
Required.
Display the configuration of
destination group of remote
mirroring
display mirroring-group
remote-destination
Optional.
The display command can be
used under any view.