72. RSPAN Commands
835
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure an RSPAN source entry without source target port:
To configure an RSPAN source entry for per flow RSPAN, without any source ports:
To configure RSPAN redirect for "VLAN 2" to ports 18 and 19:
source
If the ports are not specified by this command, the source of RSPAN will come from the
source specified by the mirror command or the flow-based source specified by an ACL. If
no parameter is specified for source, it deletes the configured source parameters.
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.
<value 1-4>
Enter the mirror group ID value here. This value must be between 1 and 4.
add
(Optional) Specify to add source ports.
delete(Optional) Specify to delete source ports.
ports
(Optional) Specify source port list to add to or delete from the RSPAN source.
<portlist>
Specify a range of ports to be configured.
rx
(Optional) Specify to only monitor ingress packets.
tx
(Optional) Specify to only monitor egress packets.
both (Optional) Specify to monitor both ingress and egress packets.
Zxxx0: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.
Zxxx0:admin#
Zxxx0:admin#config rspan vlan vlan_id 2 source
Command: config rspan vlan vlan_id 2 source
Success.
Zxxx0:admin#
Zxxx0:admin#config rspan vlan vlan_name vlan2 redirect add ports 18-19
Command: config rspan vlan vlan_name vlan2 redirect add ports 18-19
Success.
Zxxx0:admin#
Summary of Contents for ZEQUO 6400
Page 160: ...12 Basic IP Commands 161 ...
Page 189: ...17 Command Logging Command List 190 ...
Page 554: ...49 MAC based Access Control Commands 555 ...
Page 812: ...69 QoS Commands 813 ...
Page 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Page 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Page 1050: ...91 System Log Lists 1051 ...