链路聚合和端口镜像技术
链路聚合技术命令如下:
Switch(Config)#link-aggregation group 100 interface e 1-4 //将端口1-4加入链路聚合组100中,注1-4端口必须是同在一vlan中;
Switch(Config)#port-group 100
Switch(Config)#interface e 0/0/1-3
Switch(Config-Port-Range)#prot-group 100 mode active
Switch(Config-Port-Range)#exit
Switch(Config)#interface prot-channel 100
Switch(Config-Port-Range)#exit
另一台交换机的mode 应为 passive
端口镜像命令如下(镜像源端口):
Switch(Config)#monitor session 1 source interface e 1,2-4 0/0/2-4 tx
Switch(Config)#monitor session <session> source interface e 端口列表{tx,rx,both}rx为镜像源端口接收的流量;tx为镜像从源端口发出的流量;both为源端口入和出的流量。
本文详细解读了链路聚合技术,如何在交换机上配置端口聚合组,并指导另一台交换机设置为被动模式。同时介绍了端口镜像的命令及其用途,包括源端口的选择和流量监控。
1万+

被折叠的 条评论
为什么被折叠?



