1 Catalyst 2550/3550支持2组monitor session
Switch(config)#monitor session 1 destination interface f0/4(1为session id,id范围为1-2//定义端口源镜像,也就是要管理员希望查看的端口流量
Switch(config)#monitor session 1 source interface f0/1,f0/2,f0/3(空格,逗号,空格)//定义端口目的镜像也就是接受流量的接口
查看镜像会话 Switch#show port-monitor
Switch#show monitor session 1
2 Juniper M/T路由器端口镜像方法                                   forwarding-options {
    port-mirroring {
      input {
        rate 1;
        run-length 20;
             }
      family inet {
        output {
           interface fe-0/1/1.0 {
              next-hop 123.1.1.2;
                                 }