华三交换机镜像
system-view 进入系统视图模式,相当于配置模式
display current-configuration 查看当前的配置情况
interface Ethernet 1/0/1 进入以太网接口
undo shutdown 打开以太网端口
quit 退出
mirroring-group 1 local 在本地创建工作组1
mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both 在工作组一种将1/0/1和1/0/2这两个网口设置为镜像源端
mirroring-group 1 monitor-port Ethernet 1/0/3 将1/0/设置为镜像目的端口。
save 保存
查看端口是千兆还是百兆的
GigabitEthernet Ethernet
undo mirroring-group 1 monitor-port GigabitEthernet 2/0/25 删除 已经镜像目的端口
system-view
display mirroring-group ?
display mirroring-group all 查看所有mirroring-group 工作组
display mirroring-group local ? 查看本地工作组
mirroring-group 1 mirroring-port GigabitEthernet 2/0/3 ?