| 场景 | 思科设备抓包定位 |
|---|---|
| 适用 | Cisco IOS/IOS-XE |
| 命令族 | monitor session / monitor capture |
思科 IOS
思科 IOS
monitor session 1 source interface GigabitEthernet0/1 both
monitor session 1 destination interface GigabitEthernet0/2
show monitor session all华为 VRP
华为 VRP
observe-port 1 interface GigabitEthernet0/0/2
interface GigabitEthernet0/0/1
port-mirroring to observe-port 1 bothH3C Comware
H3C Comware
mirroring-group 1 local
mirroring-group 1 mirroring-port GigabitEthernet1/0/1 both
mirroring-group 1 monitor-port GigabitEthernet1/0/2
display mirroring-group all差异:思科 monitor session(source/destination 两步);华为 observe-port 先定义观察口再在接口下 port-mirroring;H3C mirroring-group 三步——三厂镜像思路一致、语法完全不同。