Quality of Service (QoS) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 928
47
Example
The following example creates an ACL, places it into a class map, places the class
map into a policy map and sets the DSCP value in the packet to 56 for classes in
the policy map called p1.
switchxxxxxx(config)#
ip access-list
extended
ip1
switchxxxxxx(config-ip-al)#
permit
ip any any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
class-map
c1
switchxxxxxx(config-cmap)#
match access-group
ip1
switchxxxxxx(config-cmap)#
exit
switchxxxxxx(config)#
policy-map
p1
switchxxxxxx(config-pmap)#
class
c1
switchxxxxxx(config-pmap-c)#
set dscp
56
47.12 redirect
Use the redirect Policy-map Class Configuration mode. command to redirect a
traffic flow to a given Ethernet port or port channel.
Syntax
redirect
interface-id
no redirect
Parameters
•
interface-id
—Specifies an Ethernet port or port channel to which the flow is
redirected.
Command Mode
Policy-map Class Configuration mode.
User Guidelines
Use the redirect command to redirect a frame into the VLAN the frame was
assigned to.