Cisco 交换机配置端口镜像 命令 全局模式下<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Sw(config)#monitor session 1 destination interface f0/24

Sw(config)#monitor session 1 source interface f0/1 – 23 both

Sw(config)#exit

Sw#copy running-config startup-config

Sw#show port-monitor