//创建本地镜像组
[switch] mirroring-group group-id local
//配置源端口
[switch] mirroring-group group-id mirroring-port mirroring-port-list { both | inbound | outbound }
注:
inbound:入接口方向
outbound :出接口方向
both:双方向
//配置目的端口
[switch] mirroring-group group-id monitor-port monitor-port-id