How to perform traffic capture by CLI
Zyxel Employee
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
- 442 Beta Program
- 3K Nebula
- 231 Nebula Ideas
- 131 Nebula Status and Incidents
- 6.6K Security
- 672 USG FLEX H Series
- 360 Security Ideas
- 1.8K Switch
- 87 Switch Ideas
- 1.4K Wireless
- 56 Wireless Ideas
- 7.1K Consumer Product
- 307 Service & License
- 500 News and Release
- 96 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.1K FAQ
- 34 Documents
- 89 About Community
- 111 Security Highlight