Configuring traffic redirecting, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual
Page 80
70
Configuring traffic redirecting
Traffic redirecting is the action of redirecting the packets matching the specific match criteria to a certain
location for processing.
The following redirect actions are supported:
•
Redirecting traffic to the CPU—Redirects packets that require processing by the CPU to the CPU.
•
Redirecting traffic to an interface—Redirects packets that require processing by an interface to the
interface. This action applies to only Layer 2 packets, and the target interface must be a Layer 2
interface.
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 class
exists.
3.
Configure match criteria.
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
behavior exists.
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.
The actions of redirecting
traffic to the CPU and
redirecting traffic to an
interface are mutually
exclusive with each other
in the same traffic
behavior. The last
redirecting action
configured takes effect.
7.
Return to system view.
quit
N/A
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches