13
Policy Routing Configuration
This chapter includes these sections:
Policy Routing Overview
Configuring Policy Routing
Policy Routing Configuration Examples
Policy Routing Overview
Policy routing is a routing mechanism based on user-defined policies. Different from destination-based
routing, policy routing makes routing decisions based on the source address and other criteria in
addition to the destination IP address.
The S5820X&S5800 series switches implement policy routing through QoS policies. You can configure
traffic classification and traffic redirecting action so that packets matching specific criteria will be
forwarded along the specified path.
Policy routing takes precedence over destination-based routing. That is, if a packet meets the match
criteria of the QoS policy, policy routing applies; otherwise, destination-based routing applies.
For details about QoS policies, see QoS Configuration Approaches in the ACL and QoS Configuration
Guide.
Configuring Policy Routing
To configure policy routing, you need to:
Configure a QoS policy that defines the match criteria and a redirecting action.
Apply the QoS policy to implement policy routing.
Configuring a QoS Policy
Follow these steps to configure a QoS policy:
To do...
Enter system view
Create a class and enter class
view
Configure match criteria
Use the command...
system-view
traffic classifier tcl-name [ operator
{ and | or } ]
if-match match-criteria
13-1
Remarks
—
—
—