beautypg.com

10 debug rip packet, 10 debug rip packet - 51, At8904m utility commands – Kontron AT8904 CLI User Manual

Page 251

background image

AT8904M

Utility Commands

Page 5 - 51

AT8904M CLI Reference Manual

Type

Type determines whether or not the ICMP message is a

REQUEST or a RESPONSE.

5.11.9.1

no debug ping packet

This command disables tracing of ICMP echo requests and responses.

Format

no debug ping packet

Mode

Privileged EXEC

5.11.10

debug rip packet

This command turns on tracing of RIP requests and responses. This command takes no
options. The output is directed to the log file.

Default

disabled

Format

debug rip packet

Mode

Privileged EXEC

A sample output of the trace message is shown below.

<15> JAN 01 00:35:15 192.168.17.29-1 RIP[181783160]:
rip_map_debug.c(96) 775 %
Pkt RX on Intf: 1/0/1(1), Src_IP:43.1.1.1 Dest_IP:43.1.1.2
Rip_Version: RIPv2 Packet_Type:RIP_RESPONSE
ROUTE 1): Network: 10.1.1.0 Mask: 255.255.255.0 Metric: 1
ROUTE 2): Network: 40.1.0.0 Mask: 255.255.0.0 Metric: 1
ROUTE 3): Network: 10.50.50.0 Mask: 255.255.255.0 Metric: 1
ROUTE 4): Network: 41.1.0.0 Mask: 255.255.0.0 Metric: 1
ROUTE 5): Network:42.0.0.0 Mask:255.0.0.0 Metric:1
Another 6 routes present in packet not displayed.

The following parameters are displayed in the trace message:

TX/RX

TX refers to a packet transmitted by the device. RX refers

to packets received by the device.

Intf

The interface that the packet came in or went out on. For-

mat used is slot/port (internal interface number).

Src_IP

The source IP address in the IP header of the packet.

Dest_IP

The destination IP address in the IP header of the packet.

Rip_Version

RIP version used .

Packet_Type

Type of RIP packet. .

Routes

Up to 5 routes in the packet are displayed in the follow-

ing format:

Network: Mask Next_Hop Met-

ric

The next hop is only displayed if it is different from

0.0.0.0.

For RIPv1 packets, Mask is always 0.0.0.0.

Number of routes not printed

Only the first five routes present in the

packet are included in the trace. There is another notifi-

cation of the number of additional routes present in the

packet that were not included in the trace.