# 串口配置:9600,8,None,1,RTS/CTS
# 1、进入系统模式
system-view
# 2、查看当前配置
display current-configuration
# 3、创建本地镜像组
mirroring-group 1 local
# 4、配置镜像组源端口
mirroring-group 1 mirroring-port GigabitEthernet 1/0/17 both
# 5、配置镜像组目的端口
mirroring-group 1 monitor-port GigabitEthernet 1/0/24
# 6、查看镜像组配置
display mirroring-group 1
# 删除本地镜像组
undo mirroring-group 1
# 删除镜像组源端口
undo mirroring-group 1 mirroring-port GigabitEthernet 1/0/17
# 删除镜像组目的端口
undo mirroring-group 1 monitor-port GigabitEthernet 1/0/24