66
Configuring traffic redirecting
Traffic redirecting redirects packets matching the specified match criteria to a location for processing.
You can redirect packets to an interface or the CPU.
Configuration procedure
To configure traffic redirecting:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
By default, no traffic classes
exist.
3.
Configure a match
criterion.
if-match match-criteria
By default, no match criterion is
configured for a traffic class.
For more information about the
match criteria, see the
if-match
command in
ACL and QoS
Command Reference
.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name
By default, no traffic behaviors
exist.
6.
Configure a traffic
redirecting action.
redirect
{
cpu
|
interface interface-type
interface-number
}
By default, no traffic redirecting
action is configured for a traffic
behavior.
If you execute this command
multiple times, the most recent
configuration takes effect.
For traffic redirecting to an
Ethernet interface on an
interface module, the switch
does not display the redirecting
action after the interface
module is removed. After the
interface module is reinserted,
the switch can display the
redirecting action.
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy
policy-name
By default, no QoS policies
exist.
9.
Associate the traffic class
with the traffic behavior in
the QoS policy.
classifier
classifier-name
behavior
behavior-name
[
insert-before
before-classifier-name
]
By default, a traffic class is not
associated with a traffic
behavior.
10.
Return to system view.
quit
N/A
Summary of Contents for FlexFabric 5940 Series
Page 23: ...17 Figure 3 QoS processing flow ...
Page 84: ...78 Figure 26 MPLS label structure ...
Page 91: ...85 Switch burst mode enable ...