EasyManua.ls Logo

3Com 5500G-EI - Traffic-Redirect

3Com 5500G-EI
530 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
304 CHAPTER 8: USING QOS/ACL COMMANDS
[SW5500]interface gigabitethernet 1/0/1
[SW5500-Ethernet1/0/1]traffic-priority inbound ip-group 2000 cos 0
traffic-redirect Syntax
traffic-redirect inbound { ip-group
acl-number
[ rule
rule
[
link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] } { cpu | interface {
interface-name | interface-type
interface-num
} }
undo traffic-redirect inbound | { ip-group
acl-number
[ rule
rule
[
link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] }
View
Ethernet Port View
Parameter
inbound: Performs traffic redirecting on the packets received by the interface.
ip-group
acl-number
: Activates IP ACLs, including basic and advanced ACLs.
acl-number
: Sequence number of ACL, ranging from 2000 to 3999.
link-group
acl-number
: Activates Layer 2 ACLs.
acl-number
: Sequence number
of ACL, ranging from 4000 to 4999.
rule
rule
: Specifies the subitem of an active ACL, ranging from 0 to 65534; if not
specified, all subitems of the ACL will be activated. If only an IP ACL or a Layer 2
ACL is activated, this parameter can be omitted. If both IP and Layer 2 ACLs are
activated at the same time, the
rule
parameter cannot be omitted.
cpu: Configures to redirect the traffic to the CPU.
interface
{ interface-name | interface-type interface-num }
: Specifies
the Ethernet port to which the packets will be redirected.
interface-type
specifies the port type.
interface-num
specifies the port number.
interface-num
and
interface-type
specify a complete port name together.
interface-name
is
interface-type
added with
interface-num
.
Description
Use the traffic-redirect command to activate the ACL to recognize and
redirect the traffic (whose action is permit). Use the
undo traffic-redirect
command to cancel the redirection.
You can only redirect traffic within the same unit. That is to say that if you receive
traffic on port 2/0/1 you can only redirect it to another port in unit 2.
For the related command, see display qos-global traffic-redirect.
Example
Redirects the packets matching the ACL 2000 rules with action permit to the port
GigabitEthernet1/0/1.
<SW5500>system-view
System View: return to User View with Ctrl+Z

Table of Contents

Related product manuals