问题描述
在用流策略匹配数据流做远端镜像时,提示错误,无法将流策略应用到镜像口。用策略做的镜像:
acl number 3444
rule 5 permit tcp destination-port eq www
#
traffic classifier JingXiang operator or precedence 5
if-match acl 3444
#
traffic behavior JingXiang
permit
mirroring to observe-port 1
#
traffic policy JingXiang match-order config
classifier JingXiang behavior JingXiang
[KMAP-S9706-XGigabitEthernet6/0/4]traffic-policy JingXiang outbound
Error: Check rule failed, outbound mirroring can not be configured together with other actions about policy JingXiang, class JingXiang, behavior JingXiang on interface XGigabitEthernet6/0/4 of slot 6.
解决方案
因为镜像不能和其它动作一起配置,将流行为中的permit去掉即可。