1-2
z
Apply the QoS policy, that is, to define the occasion to which the policy routing applies.
Configuring a QoS Policy
Follow these steps to configure traffic redirecting:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter
class view
traffic classifier
tcl-name
[
operator
{
and
|
or
} ]
—
Configure the match criteria
if-match match-criteria
—
Exit class view
quit
—
Create a behavior and enter
behavior view
traffic behavior behavior-name
Required
Configure a traffic
redirecting action
redirect next-hop
{
ipv4-add1
[
ipv4-add2
]
| ipv6-add1
[
interface-type interface-number
]
[
ipv6-add2
[
interface-type
interface-number
] ] }
Optional
Exit behavior view
quit
—
Create a policy and enter
policy view
qos policy
policy-name
—
Associate the class with the
traffic behavior in the QoS
policy
classifier
tcl-name behavior
behavior-name
—
To implement policy routing successfully, ensure that the next hop address specified in the redirect
action exist and the outgoing interface is not a tunnel interface. If you fail to do that, the matching traffic
will be dropped.
Applying the QoS Policy
When configuring policy routing, you can apply a QoS policy to different occasions:
z
Applied globally, the policy takes effect on the traffic sent or received on all ports.
z
Applied to an interface, the policy takes effect on the traffic sent or received on the interface.
z
Applied to a VLAN, the policy takes effect on the traffic sent or received on all ports in the VLAN.
A QoS policy used for policy routing applies to only traffic received on all ports/an interface/all ports in a
VLAN.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...