How to use CLI command line "extension-filter" to capture packets?
Options
Zyxel_James
Posts: 626 Zyxel Employee
in Networking
Question: Some users may notice that some command line for capturing packets are unavailable after upgrading to the latest firmware version, how can we use it now?
Answer: For security concerns, we made some adjustments to the CLI command "extension-filter", some rules are not available now.
Originally, "extension-filter" allows any characters, but now, it has limitations. Here are the rules examples.
- arp
packet-trace interface ge1 extension-filter arp - host and port
packet-trace interface ge1 host 8.8.8.8 port 53 - host or host
packet-trace interface ge1 extension-filter match-host 8.8.8.8 8.8.4.4
packet-trace interface ge1 ip-proto tcp extension-filter match-host 1.1.1.1 2.2.2.2 - port or port
packet-trace interface ge1 extension-filter match-port 67 68 - (host or host) and port or port
packet-trace interface ge1 extension-filter match-host 192.168.1.1 8.8.8.8 match-port 67 68 - -e
packet-trace interface ge1 host 8.8.8.8 port 53 extension-filter link-header - -X
packet-trace interface ge1 extension-filter data-header - match-host, linker-header, data-header *Please note the order
packet-trace interface ge1 extension-filter match-host 8.8.8.8 8.8.4.4 link-header data-header.
Please note that before the adjustment, user may use "not" to excludes the host or port, for now, it's not allowed.
0
Categories
- All Categories
- 398 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 83 Nebula Status and Incidents
- 5.2K Security
- 99 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 923 WirelessLAN
- 35 WLAN Ideas
- 5.9K Consumer Product
- 212 Service & License
- 337 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2.1K FAQ
- 1K Nebula FAQ
- 445 Security FAQ
- 238 Switch FAQ
- 213 WirelessLAN FAQ
- 47 Consumer Product FAQ
- 142 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 62 Security Highlight