天天看點

華為交換機抓包指令

1 啟動ftp service

2 交換機開啟抓包任務
capture-packet interface GigabitEthernet 0/0/20 vlan 112  # 指定接口跟vlan destination ftp-server 192.168.0.107 username pengxiao password 123456 file tttest.cap  #傳到ftp 伺服器 time-out 30 #抓包時間30s



3 成功之後會有如下資訊

 ------------------capture report-----------------------
  file: tttest.cap(ftp 192.168.0.107) 
  capture: interface GigabitEthernet0/0/20 
  acl: - 
  vlan: 112  cvlan: - 
  car: 64kbps timeout: 30s 
  packets: 100 (expected) 100 (actual) 
  length: 128 (expected) 
  
  4 * 目前抓包隻支援接口in方向的抓包
           

FTP伺服器軟體

華為交換機抓包指令

抓包後儲存的内容

華為交換機抓包指令

繼續閱讀