beautypg.com

11 debug ospf packet, 11 debug ospf packet - 50, Utility commands at8901m – Kontron AT8901M CLI User Manual

Page 250

background image

Utility Commands

AT8901M

AT8901M CLI Reference Manual

Page 5 - 50

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.

5.11.10.1

no debug rip packet

This command disables tracing of RIP requests and responses.

Format

no debug rip packet

Mode

Privileged EXEC

5.11.11

debug ospf packet

This command enables tracing of OSPF packets received and transmitted by the
switch.

Default

disabled

Format

debug ospf packet

Mode

Privileged EXEC