beautypg.com

Debug ip packet interface – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 645

background image

IP Addressing and Protocol Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

25.11

debug ip packet interface

The debug ip packet interface command enables IP packet debug and is controlled by
the terminal monitor command.

If the optional icmp keyword is specified then ICMP packets are shown in the output.

The no variant of this command disables the debug ip interface command.

Syntax

debug ip packet interface {<interface-name>|all}

[address <ip-address>|verbose|hex|arp|udp|tcp|icmp]

no debug ip packet interface [<interface-name>]

Mode

Privileged Exec and Global Configuration

Examples

To turn on ARP packet debugging on vlan1, use the command:

Parameter

Description

Specify a single Layer 3 interface name (not a range of interfaces)

This keyword can be specified as either all or as a single Layer 3
interface to show debugging for either all interfaces or a single
interface.

all

Specify all Layer 3 interfaces on the switch.

Specify an IPv4 address.
If this keyword is specified, then only packets with the specified IP
address as specified in the ip-address placeholder are shown in the
output.

verbose

Specify verbose to output more of the IP packet.

If this keyword is specified then more of the packet is shown in the
output.

hex

Specify hex to output the IP packet in hexadecimal.

If this keyword is specified, then the output for the packet is shown
in hex.

arp

Specify arp to output ARP protocol packets.

If this keyword is specified, then ARP packets are shown in the
output.

udp

Specify udp to output UDP protocol packets.

If this keyword is specified then UDP packets are shown in the
output.

tcp

Specify tcp to output TCP protocol packets.

If this keyword is specified, then TCP packets are shown in the
output.

icmp

Specify icmp to output ICMP protocol packets.

If this keyword is specified, then ICMP packets are shown in the
output.

awplus#

debug ip packet interface vlan1 arp