Management Guide
TigerAccess™ EE
7.15.1
7.15.2
SMC7824M/VSW
Packet Dump by Protocol
You can see packets about BOOTPS, DHCP, ARP and ICMP using the following com-
mand.
Command
debug packet {interface INTERFACE | port
PORTS} protocol {bootps | dhcp | arp | icmp}
{src-ip A.B.C.D | dest-ip A.B.C.D}
debug packet {interface INTERFACE | port
PORTS} host {src-ip A.B.C.D | dest-ip A.B.C.D}
{src-port <1-65535> | dest-port <1-65535>}
debug packet {interface INTERFACE | port
PORTS} host {src-port <1-65535> | dest-port
<1-65535>}
debug packet {interface INTERFACE | port
PORTS} multicast [src-ip A.B.C.D | dest-ip
A.B.C.D]
Packet Dump with Option
You can verify packets with tcpdump options using the following command.
Command
debug packet OPTION
Tab. 7.3
shows the options for packet dump.
Option
-a
Change Network & Broadcast address to name.
-d
Change the complied packet-matching code to readable letters and close it
-e
Output link-level header of each line
-f
Output outer internet address as symbol
Buffer output data in line. This is useful when other application tries to receive data
-l
from tcpdump.
-n
Do not translate all address (e.g. port, host address)
-N
When output host name, do not print domain.
Do not run packet-matching code optimizer. This option is used to find bug in opti-
-O
mizer
-p
Interface is not remained in promiscuous mode
-q
Reduce output quantity of protocol information. Therefore, output line is shorter.
-S
Output TCP sequence number not relative but absolute
-t
Time is not displayed on each output line
-v
Display more information
Tab. 7.3
Options for Packet Dump
Mode
Enable
Mode
Enable
Shows packet dump using options.
Description
Description
Shows packet dump by protocol.
Shows host packet dump.
Shows host packet dump.
Shows multicast packet dump.
Description
CLI
227