Debug commands

ospf

Syntax

ospf ospf-instance

Context

debug>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables the context for OSPF debugging purposes.

Parameters

ospf-instance

Specifies the OSPF instance.

Values

0 to 31

ospf3

Syntax

ospf3

Context

debug>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables the context for OSPFv3 debugging.

area

Syntax

area [area-id]

no area

Context

debug>router>ospf

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF area.

area-range

Syntax

area-range ip-address

no area-range

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 area range.

Parameters

ip-address

Specifies the IP address for the range used by the ABR to advertise the area into another area.

cspf

Syntax

cspf [ip-address]

no cspf

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 constraint-based shortest path first (CSPF).

Parameters

ip-address

Specifies the IP address for the range used for CSPF.

graceful-restart

Syntax

[no] graceful-restart

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 graceful-restart.

interface

Syntax

interface [ip-int-name | ip-address]

no interface

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 interface.

Parameters

ip-int-name

The IP interface name. An interface name cannot be in the form of an IP address. Interface names can be any string up to 32 characters composed of printable, 7-bit ASCII characters. If the string contains special characters (such as #, $, spaces), the entire string must be enclosed within double quotes.

ip-address

Specifies the interface IP address.

leak

Syntax

leak ip-address

no leak

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for OSPF leaks.

Parameters

ip-address

Specifies the IP address to debug OSPF leaks.

lsdb

Syntax

lsdb [type] [ls-id] [adv-rtr-id] [area area-id]

no lsdb

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 link-state database (LSDB).

Parameters

type

Specifies the OSPF or OSPFv3 link-state database (LSDB) type.

Values

router, network, summary, asbr, extern, nssa, area-opaque, as-opaque, link-opaque

ls-id

Specifies an LSA type specific field containing either a router ID or an IP address. It identifies the piece of the routing domain being described by the advertisement.

adv-rtr-id

Specifies the router identifier of the router advertising the LSA.

area-id

Specifies the OSPF area ID expressed in dotted-decimal notation or as a 32-bit decimal integer.

Values

0 to 4294967295

misc

Syntax

[no] misc

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for miscellaneous OSPF or OSPFv3 events.

neighbor

Syntax

neighbor [ip-int-name | ip-address]

no neighbor

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 neighbor.

Parameters

ip-int-name

Specifies the neighbor interface name.

ip-address

Neighbor information for the neighbor identified by the specified router ID.

nssa-range

Syntax

nssa-range ip-address

no nssa-range

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an NSSA range.

Parameters

ip-address

Specifies the IP address range to debug.

packet

Syntax

packet [packet-type] [interface-name] [ingress | egress] [detail]

no packet

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for OSPF or OSPFv3 packets.

Parameters

detail

Keyword to specify detailed packet information.

egress

Keyword to specify an egress packet.

ingress

Keyword to specify ingress packet.

interface-name

Specifies the interface name to debug, up to 32 characters.

packet-type

Specifies the OSPF packet type to debug.

Values

hello, dbdescr, lsrequest, lsupdate, lsack

rtm

Syntax

rtm [ip-address]

no rtm

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for OSPF or OSPFv3 RTM.

Parameters

ip-address

Specifies the IP address to debug.

spf

Syntax

spf [type] [dest-addr]

no spf

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for OSPF or OSPFv3 SPF. Information regarding overall SPF start and stop times will be shown. To see detailed information regarding the SPF calculation of a specific route, the route must be specified as an optional argument.

Parameters

type

Specifies the area to debug.

Values

intra-area, inter-area, external

dest-addr

Specifies the destination IP address to debug.

virtual-neighbor

Syntax

virtual-neighbor [ip-address]

no virtual-neighbor

Context

debug>router>ospf

debug>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for an OSPF or OSPFv3 virtual neighbor.

Parameters

ip-address

Specifies the IP address of the virtual neighbor.