举例:通过交换机的第2号口监控第1号口的流量
Switch(config)# monitor session 1 source interface gigabitethernet0/1 Switch(config)# monitor session 1 destination interface gigabitethernet0/2 Switch(config)# end
删除一个span会话:
Switch(config)# no monitor session 1 source interface gigabitethernet0/1 Switch(config)# end