4 debug ip packet, 5 show ip traffic – PLANET WGSW-50040 User Manual
Page 206

make sense for default-gateway.
Example:
The IP address of layer 3 interface is 2.2.2.2, network mask is 255.255.255.0, set the IP address of
default-gateway is 2.2.2.1.
Switch(config)#ip default-gateway 2.2.2.1
12.1.4 debug ip packet
Command:
debug ip packet
no debug ip packet
Function:
Enable the IP packet debug function: the “no debug ip packet” command disables this debug
function.
Default:
IP packet debugging information is disabled by default.
Command mode:
Admin Mode
Usage Guide:
Displays statistics for IP packets received/sent, including source/destination address and bytes, etc.
Example:
Enabling IP packet debug.
Switch#debug ip packet
IP PACKET: rcvd, src1.1.1.1, dst1.1.1.2, size 100
12.1.5 show ip traffic
Command:
show ip traffic
Function:
Display statistics for IP packets.
Command mode:
Admin Mode
Usage Guide:
Display statistics for IP, ICMP, TCP, UDP packets received/sent.
Example: