Diagnostics and troubleshooting Analyze traffic
Digi TransPort WR Routers User Guide
269
Capture to and from IP host 10.0.0.1 but filter out ports 22 and 80:
digi.router> analyzer filter ip host 10.0.0.1 and not (port 22 or port
80)
Example Ethernet capture filters
Capture Ethernet packets to and from host 00:40:FF:0F:45:94:
digi.router> analyzer filter ether host 00:40:FF:0F:45:94
Capture Ethernet packets from host 00:40:FF:0F:45:94:
digi.router> analyzer filter ether src 00:40:FF:0F:45:94:
Capture Ethernet packets to host 00:40:FF:0F:45:94:
digi.router> analyzer filter ether dst 00:40:FF:0F:45:94
Show captured data traffic
To view the captured data traffic, use the show analyzer command. The command output shows the
following information for each packet:
n The packet number
n The timestamp for when the packet was captured
n The length of the packet and the amount of data captured
n Whether the packet was sent or received by the device
n The interface on which the packet was sent or received
n A hexadecimal dump of the packet of up to 256 bytes
n Decoded information of the packet
The output uses indents received packets as a visual cue for sent and received packets.
The output is paged. Press the spacebar to view the next page of data. Enter Q to navigate to the
command prompt.
For example:
digi.router> show analyzer
Packet 1 : Nov-09-2016 09:26:06.256857, Length 74 bytes (Captured Length 74 bytes)
Sent on interface eth1
00 04 2d f4 f8 aa 00 40 ff 0f 45 94 08 00 45 00 ..-....@ ..E...E.
00 3c 19 73 00 00 7f 01 e2 da 2f 00 00 64 08 08 .<.s.... ../..d..
08 08 08 00 08 e1 00 01 44 7a 61 62 63 64 65 66 ........ Dzabcdef
67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 ghijklmn opqrstuv
77 61 62 63 64 65 66 67 68 69 wabcdefg hi
Ethernet Header
Destination MAC Addr : 00:04:2d:f4:f8:aa
Source MAC Addr : 00:40:ff:0f:45:94
Ethernet Type : IP (0x0800)
IP Header
IP Version : 4
Header Length : 20 bytes
ToS : 0x00
Total Length : 60 bytes
ID : 6515 (0x1973)
Flags :
Fragment Offset : 0 (0x0000)