链路聚合和端口镜像技术
链路聚合技术命令如下:
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为源端口入和出的流量。