Blog

Sometimes I need to find and delete, move or somehow alternate old files. Usually to delete old backups or session files. Here is very simple way to find and delete in a single command:

find /mnt/datadisk/Backups/PBX -mtime +5 -exec rm {} \;

This will delete the files older than 5 days.

 

To proceed with a TAC case you always have to provide tech support file which can be generated via GUI, Device - > Support -> Generate Tech Support File.
If this works, there is no issue, but this is not always the case :) 

If it gets stuck, you can use cli command
>request tech-support dump

But, if GUI option gets stuck, it is highly possible this will not help either. The solution is to interrupt the "show or debug" command which prevent process to generate the tech support file.
Use this CLI command:
>scp export tech-support to user@host:/path/

This will allow you to interrupt (using CTRL+C) the stuck command and carry on in generation of the file.

 

FILTER Description
ssl.handshake.type == 1 Shows Client Hello
ssl.handshake.type == 2 Shows Server Hello
ssl.handshake.type == 11   Show certificate
ssl Show all SSL packets
 eth.addr == aa:bb:cc:00:00:00 Packets having src or dst MAC address
 vlan.id == 100 Packets having VLAN id 100
 bgp.next_hop == 10.10.10.20 BGP Nexthop
 http.request  Shows HTTP request packets
 http.referer contains yourhost.com HTTP packets having referer set