D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
596
config rspan vlan source
tx - Only monitor egress packets.
both - Monitor both ingress and egress packets.
mirror_group_id - The mirror group identify that specify which mirror session used for RSPAN
source function.
If the mirror group is not specified when configuring the mirror ports, the mirror group 1 will be
the default group.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an RSPAN source entry without source target port:
DGS-3627:admin#config rspan vlan vlan_name vlan2 source add ports 2-5 rx
Command:config rspan vlan vlan_name vlan2 source add ports 2-5 rx
Success.
DGS-3627:admin#
To configure an RSPAN source entry for per flow RSPAN, without any source ports:
DGS-3627:admin#config rspan vlan vlan_id 2 source
Command:config rspan vlan vlan_id 2 source
Success.
DGS-3627:admin#
To configure an RSPAN entry on a source with mirror group ID:
DGS-3627:admin#config rspan vlan vlan_id 2 source mirror_group_id 3
Command:config rspan vlan vlan_id 2 source mirror_group_id 3
Success.
DGS-3627:admin#
config rspan vlan redirect
Purpose Used by the intermediate or last switch to configure the output port for the RSPAN mirrored
packet.
Syntax
config rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] redirect [add |
delete] port <port>
Description This command is used by the intermediate or last switch to configure the output port of the
RSPAN VLAN packets.
The redirect command makes sure that the RSPAN VLAN packets can egress to the redirect
ports. In addition, to this redirect command, the VLAN setting must be correctly configured to
make the RSPAN VLAN work correctly. That is, for the intermediate switch, the redirect port
must be tagged member port of RSPAN VLAN. For the last switch, the redirect port must be
either be a tagged member port or an untagged member port of the RSPAN VLAN based on
the users’ requirements. If untagged membership is specified, the RSPAN VLAN tag will be
removed.