默认该交换机只支持3对上下行镜像,可以通过远程vlan镜像实现多个端口监听
默认监听方法
observe-port 1 interface GigabitEthernet0/0/48
observe-port 2 interface GigabitEthernet0/0/47
observe-port 3 interface GigabitEthernet0/0/46
observe-port 1 forwarding disable
observe-port 2 forwarding disable
observe-port 3 forwarding disable
interface GigabitEthernet0/0/45
port link-type trunk
port-mirroring to observe-port 1 both
port-mirroring to observe-port 2 both
port-mirroring to observe-port 3 both
//此处port-mirroring会自动将both拆解为inbound和outbound
===================以上为正常镜像方法=========================
但是只能添加3条上下行规则,其他口不适用
其他口会收到来自45输入口的默认下行报文广播,如何去掉不清楚,谁知道可以评论解答,感谢大牛。