H3C S3100 Series Command Manual page 659

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

undo traffic-redirect inbound acl-rule
View
System view, Ethernet port view, port group view
Parameter
inbound: Redirects inbound packets.
acl-rule: ACL rules to be applied. This argument can be the combination of multiple ACLs. For more
information about this argument, refer to
must be those defined with the permit keyword specified.
cpu: Redirects the packets to the CPU.
interface interface-type interface-number: Redirects the packets to the specified Ethernet port.
interface-type indicates the type of the interface and interface-number indicates the interface number.
Description
Use the traffic-redirect command to redirect all the packets that match specific ACL rules, or the
packets that match specific ACL rules and are of a port group or pass a port.
Use the undo traffic-redirect command to disable traffic redirecting for all the packets that match
specific ACL rules, or the packets that match specific ACL rules and are of a port group or pass a port.
You can redirect packets to a port or the CPU.
Note that, the same ACL cannot be simultaneously referenced in both traffic mirroring configuration and
traffic redirecting configuration globally, in port group view, or in port view.
By default, traffic redirecting is disabled globally, on all port groups, and all ports.
Only H3C S3100-EI series switches support this command.
Packets redirected to the CPU are not forwarded.
If the traffic is redirected to a Combo port in down state, the system automatically redirects the
traffic to the port corresponding to the Combo port in up state. Refer to Port Basic Configuration
module of this manual for information about Combo ports.
Related command: display qos-interface traffic-redirect.
Example
# Redirect the packets that match ACL 2000 and pass Ethernet 1/0/1 to Ethernet 1/0/7 (assuming that
the current device is an S3100-EI series switch).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/1
Table 1-9
and
Table
1-10. Note that the ACL rules referenced
1-39

Advertisement

Table of Contents
loading

Table of Contents