Switching Commands
©2008 Allied Telesis Inc. All rights reserved.
15.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
debug platform packet
This command enables platform to CPU level packet debug.
This command can be used to trace packets sent and received by the CPU. If a timeout is not
specified, then a default 5 minute timeout will be applied. If a timeout of 0 is specified, packet
debug will be generated until the
no debug platform packet
command is used or another
timeout value is specified. The timeout value applies to both send and receive debug and is
updated whenever the
debug platform packet
command is used.
Use the
no debug platform packet
command to disable platform to CPU level packet debug. If
the result means both send and receive packet debug are disabled, then any active timeout will
be cancelled.
Syntax
debug platform packet [recv|send] [timeout <0-3600>]
no debug platform packet [recv|send]
Mode
Privileged Exec Mode and Configure Mode
Example
To enable both receive and send packet debug for the default 5 minutes:
awplus#
debug platform packet
To enable receive packet debug for 10 seconds:
awplus#
debug platform packet recv timeout 10
To enable send packet debug with no timeout:
awplus#
debug platform packet send timeout 0
To disable receive packet debug:
awplus#
no debug platform packet recv
Parameter
Description
no
Negate a command or set its defaults
debug
Debugging functions (see also ’undebug’)
platform
Platform Asic
packet
Platform packets
recv
Platform receive packets
send
Platform send packets
timeout
Stop debug after a speci.ed time
<0-3600>
Time in seconds