beautypg.com

Saving captured packets – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 383

background image

Brocade Virtual ADX Server Load Balancing Guide

367

53-1003247-01

Using the debug filter command

B

Fragment offset(LSB 13 bits): 0 (0x00)

Time to live: 128 seconds/hops

IP protocol type: TCP (0x06)

Checksum: 0x4be2

IP address: 192.168.8.100 ---> 192.168.9.101

No option

Transmission Control Protocol

Port 3881 ---> 80

Sequence Number: 4047880147

Acknowledgement Number: 2434401980

Header Length(MSB 4 bits): 5 (32-bit word)

Reserved(LSB 4 bits): 0

Code: 0x18

RES: 0... ....

CON: .0.. ....

URG: ..0. ....

ACK: ...1 ....

PSH: .... 1...

RST: .... .0..

SYN: .... ..0.

FIN: .... ...0

Window: 64000

Checksum: 0xe90f

Urgent Pointer: 0x0000

Data:

0000: 47 45 54 20 2f 20 48 54 54 50 2f 31 2e 31 0d 0a | GET / HTTP/1.1..

0010: 48 6f 73 74 3a 20 31 39 32 2e 31 36 38 2e 38 2e | Host: 192.168.8.

0020: 32 32 32 0d 0a 41 63 63 65 70 74 3a 20 2a 2f 2a | 222..Accept: */*

0030: 0d 0a 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 | ................

0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................

0050: 00 00 00 00 00 00 00 00 | ........

The packet is leaving via port 3 (real server facing) and the IP header is showing the following:

source IP: 192.168.8.100

destination IP: 192.168.9.101

This is a packet coming from the client going to the real server.

Saving captured packets

After you captured packets and viewed them with the summary command, you can save them by
performing the following steps:

Virtual ADX(debug-filter-1-1)#pcap save

ASCII string file name

Virtual ADX(debug-filter-1-1)#pcap save a1

preparing pcap data file, please wait...

.Done

Virtual ADX(debug-filter-1-1)#end

Virtual ADX#

[detached]

[root@Virtual ADX]# cd /opt/ADX/pcap

[root@Virtual ADX pcap]# ls

a1.cap*