How to perform traffic capture by CLI






1)Login by SSH or Console cable
2)Find the interface name you want to capture.
usgflex200h> show interface vrf main
3)
Peform the command to see output and the filter syntax similar to tcpdump
For example:
usgflex200h> cmd traffic-capture ge3 filter 'icmp'
usgflex200h> cmd traffic-capture ge3 filter 'arp and host 192.168.168.1'
usgflex200h> cmd traffic-capture ge3 filter 'arp or host 192.168.168.1'
Peform the command to save packets as files.
For example:
usgflex200h> cmd traffic-capture new ge3
usgflex200h> cmd traffic-capture list //list pcap file
usgflex200h> cmd traffic-capture export url ftp://[FTP server]/path username [username] password [password] [filename] //fetch pcap file by FTP,TFTP or SCP
usgflex200h> cmd traffic-capture flush //flush all pcap file
usgflex200h> cmd traffic-capture delete //delete the specific pcap file.
Categories
- All Categories
- 430 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 354 USG FLEX H Series
- 292 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 407 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.9K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight