C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
357
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
WITCHING
C
OMMANDS
DEBUG
PLATFORM
PACKET
debug platform packet
Overview
This command enables platform to CPU level packet debug functionality on the
device.
Use the
no
variant of this 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 canceled.
Syntax
debug platform packet [recv] [send] [sflow] [timeout
<timeout>
]
[vlan <
vlan-id
>|all]
no debug platform packet [recv] [send]
Default
A 5 minute timeout is configured by default if no other timeout duration is
specified.
Mode
Privileged Exec and Global Configuration
Usage
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
variant of
this 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.
Examples
To enable both receive and send packet debug for the default timeout of 5
minutes, enter:
awplus#
debug platform packet
To enable receive packet debug for 10 seconds, enter:
awplus#
debug platform packet recv timeout 10
Parameter
Description
recv
Debug packets received.
send
Debug packets sent.
sflow
Debug sFlow packets.
timeout
Stop debug after a specified time.
<
timeout
>
<0-3600>The timeout period, specified in seconds.
vlan
Limit debug to a single VLAN ID specified.
<
vlan-id
>
<1-4094> The VLAN ID to limit the debug output on.
all
Debug all VLANs (default setting).