You can use the following CLI commands to configure port mirroring:
Configure destination port for mirroring:
monitor session session-id (1-4) destination {interface interface-type interface-id} [secondary interface interface-type interface-id vlan vlan-id]
Configure source port for mirroring:
monitor session session-id (1-4) {source {interface interface-type interface-id [{rx|tx| both}]}}
Show command:
show monitor session 1-4
show monitor all
Delete mirroring session:
no monitor [session session-no | all]