monitor session 1 source interface fastEthernet 0/10, GigabitEthernet 0/2 both
// 監聽原地接口,可以指定多個接口作為數據源,both表示接受和發送都包含
monitor session 1 destination interface fastEthernet 0/1
// 數據發送接口,數據目的接口,直接接到電腦開始抓有線網卡的接口
// 查看monitor狀態
Switch#show monitor
Session 1
---------
Type : Local Session
Source Ports :
Both : Fa0/10,Gi0/2
Destination Ports : Fa0/1
Encapsulation : Native
Ingress : Disabled
