Requirement:An Aruba Controller running 6.4.4.x and above.
Solution:In many situations we may need to enable packet captures on an Aruba Controller to investigate the network related issues, in some situations we would not be able to setup a external device to store the captures so we can copy the pcap files to the internal flash of Aruba Controller temporarily for testing purposes and delete it after the debugging.
Configuration:We can configure to the pacp files to Aruba Controller flash and below is an example of sending a controlpath capture files to the flash.
(ArubaMaster) #
(ArubaMaster) #packet-capture controlpath udp all
(ArubaMaster) #packet-capture copy-to-flash controlpath-pcap
(ArubaMaster) #
(ArubaMaster) #
(ArubaMaster) #show packet-capture
Active Capture Destination
--------------------------
Destination Disabled
Active Capture (Controlpath)
----------------------------
Interprocess Disabled
Sysmsg Disabled
TCP Disabled
UDP Enabled Ports: All
Other Disabled
Active Capture (Datapath)
-------------------------
Wifi-Client Disabled
Ipsec Disabled
(ArubaMaster) #
VerificationWe can see the capture file has been sent to the flash as below.
(ArubaMaster) #
(ArubaMaster) #dir
-rw-r--r-- 1 root root 5455 Jul 25 11:43 AUDITTRAIL-HISTORY.log
-rw-r--r-- 1 root root 1104 May 29 06:39 AUDITTRAIL-LOGIN_OUT-HISTORY.log
-rw-r--r-- 1 root root 88 Sep 29 14:07 blimits
-rw-r--r-- 1 root root 40 Aug 18 00:00 bmap
-rw-r--r-- 1 root root 20783 Sep 29 16:15 controlpath-pcap.tar.gz
-rw-r--r-- 1 root root 30289 Sep 2 10:33 default.cfg
drwxr-xr-x 3 root root 4096 May 6 07:15 fieldCerts
-rw-r--r-- 1 root root 65642 Sep 29 10:49 flashbackup.tar.gz
-rw-r--r-- 1 root root 27784 Jul 25 11:46 original.cfg
drwx------ 2 root root 4096 May 6 07:15 tpm
(ArubaMaster) #