beautypg.com

10 debug rip packet, 10 debug rip packet - 48, Utility commands at8402 – Kontron AT8402 CLI User Manual

Page 188

background image

Utility Commands

AT8402

AT8402 CLI Reference Manual

Page 4 - 48

Mode

Privileged EXEC

4.10.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. Format 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 following format:
Network: Mask Next_Hop Metric
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 notification of the number of
additional routes present in the packet that were not included in the
trace.

4.10.10.1

no debug rip packet

This command disables tracing of RIP requests and responses.

Format

no debug rip packet

Mode

Privileged EXEC