IP Addressing and Protocol Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
23.5
debug ip interface
The
debug ip interface
command enables IP packet debug and is controlled by the
terminal
monitor
command.
The required
interface
placeholder following the
interface
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.
If the optional
address
keyword is specified then only packets with the specified IP address as
specified in the
ip-address
placeholder are shown in the output.
If the optional
verbose
keyword is specified then more of the packet is shown in the output. If
an optional
hex
keyword is specified then the output for the packet is shown in hex.
If the optional
arp
keyword is specified then ARP packets are shown in the output.
If the optional
udp
keyword is specified then UDP packets are shown in the output.
If the optional
tcp
keyword is specified then TCP packets are shown in the output. If the
optional
icmp
keyword is specified then ICMP packets are shown in the output.
The
no debug ip interface
command disables the
debug ip interface
command.
Syntax
debug ip interface {<
interface-name
>|all}
[address <
ip-address
>|verbose|hex|arp|udp|tcp|icmp]
no debug ip interface [<
interface-name
>]
Mode
Privileged Exec mode
Example
To turn on ARP packet debugging on VLAN 1, use the command:
awplus#
debug ip interface vlan1 arp
To turn on all packet debugging on all interfaces on the switch, use the command:
awplus#
debug ip interface all
To turn on TCP packet debugging on VLAN 1 and IP address 192.168.2.4 , use the command:
awplus#
debug ip interface vlan1 address 192.168.2.4 tcp
To turn off IP interface debugging on all interfaces, use the command:
awplus#
no debug ip interface
Parameter
Description
<
interface-name
>
Specify a single layer 3 interface name (not a range of interfaces)
all
Specify all layer 3 interfaces on the switch.
<
ip-address
>
(A.B.C.D format) Specify an IPv4 address.
verbose
Specify
verbose
to output more of the IP packet.
hex
Specify
hex
to output the IP packet in hexadecimal.
arp
Specify
arp
to output ARP protocol packets.
udp
Specify
udp
to output UDP protocol packets.
tcp
Specify
tcp
to output TCP protocol packets.
icmp
Specify
icmp
to output ICMP protocol packets.