beautypg.com

Displaying ospf link state information, Displaying the data in an lsa – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 161

background image

Brocade Virtual ADX Switch and Router Guide

147

53-1003246-01

Displaying OSPF information

6

Displaying OSPF link state information

To display link state information, enter the following command at any CLI level.

Virtual ADX show ip ospf database link-state

Syntax: show ip ospf database link-state [advertise num] | [asbr] | [extensive] | [link-state-id

ip-addr] | [network] | [nssa] | [opaque-area] | [router] | [router-id ip-addr] |
[sequence-number num(Hex)] | [status num] | [summary]

The advertise num parameter displays the hexadecimal data in the specified LSA packet. The num
parameter identifies the LSA packet by its position in the router’s External LSA table. To determine
an LSA packet’s position in the table, enter the show ip ospf database external-link-state command
to display the table. Refer to

“Displaying the data in an LSA”

on page 147 for an example.

The asbr option shows ASBR information.

The extensive option displays the LSAs in decrypted format.

NOTE

You cannot use the extensive option in combination with other display options. The entire database
is displayed.

The link-state-id ip-addr parameter displays the External LSAs for the LSA source specified by
IP-addr.

The network option shows network information.

The nssa option shows network information.

The opaque-area option shows information for opaque areas.

The router-id ip-addr parameter shows the External LSAs for the specified OSPF router.

The sequence-number num(Hex) parameter displays the External LSA entries for the specified
hexadecimal LSA sequence number.

The status num option shows status information.

The summary option shows summary information.

Displaying the data in an LSA

You can use the CLI to display the data the Layer 3 Switch received in a specific External LSA
packet or other type of LSA packet. For example, to display the LSA data in entry 3 in the External
LSA table, enter the following command.

Syntax: show ip ospf database external-link-state [advertise num] | [link-state-id ip-addr] |

[router-id ip-addr] | [sequence-number num(Hex)] | [status num]

To determine an external LSA's or other type of LSA’s index number, enter one of the following
commands to display the appropriate LSA table:

show ip ospf database link-state advertise num – This command displays the data in the
packet for the specified LSA.

Virtual ADX show ip ospf database external-link-state advertise 3

05 84 02 05 82 83 0d 60 82 82 82 f1 80 00 00 02 e4 05

00 24 ff ff ff f0 80 00 00 0a 00 00 00 00 00 00 00 00