交换机为cisco4506 ,G1-4口做了汇聚并连接到IDC上游出口,现在想把G1-4口的流量镜像出来,我又做了个Port-channel2(由G5-8组成),将channel1镜像到channel2G1-4口流量比较大 平时大概能跑3-3.5G的样子 由于是生产环境,所以不好去试。想问问各路高手这样的配置可以吗?多谢帮助!interface Port-channel1switchportswitchport trunk encapsulation dot1qswitchport mode trunkinterface GigabitEthernet1-4switchport trunk encapsulation dot1qswitchport mode trunkchannel-group 1 mode on新加镜像配置interface Port-channel2interface GigabitEthernet5-8channel-group 2 mode onmonitor session 1 source interface channel-group 1monitor session 1 destination interface channel-group 2
An EtherChannel does not form if one of the ports in the bundle is a SPAN destination port. If you try to configure SPAN in this situation, the switch tells you:Channel port cannot be a Monitor Destination Port Failed to configure span feature You can use a port in an EtherChannel bundle as a SPAN source port.
Port-channel 只是一个vlan,可以只监控vlan数据。
monitor session 1 source vlan 3
monitor session 1 destination interface Gi6/15
端口gi6/15监控vlan3的流量
或
interface FastEthernet0/9
port monitor FastEthernet0/8
port monitor VLAN1
f0/8,fa0/9同属VLAN1,F0/9监听F0/8端口
本文链接:https://www.kinber.cn/post/580.html 转载需授权!
推荐本站淘宝优惠价购买喜欢的宝贝: