Quality of Service (QoS) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 930
47
Command Mode
Policy-map Class Configuration mode.
User Guidelines
This command is only available when QoS is in advanced mode.
A frame is mirrored in the same format if it matches to one of the class ACLs
regardless the command of this ACL: permit or deny.
Only one source session from VLAN and flow mirroring is supported.
The analyzer Ethernet port is configured by the monitor session destination
command with the same session number.
Example
The following example creates an ACL, places it into a class map, places the class
map into a policy map and mirrors the flow to an analyzer Ethernet port defined by
session 2:
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)#
mirror 2
switchxxxxxx(config-pmap-c)#
exit
switchxxxxxx(config-pmap)#
exit
switchxxxxxx(config)#