ospf3 link-state area-scope

The commands in this section enable display of the routing-switch's OSPFv3 link-state area-scope database, with options for narrowing the scope of the output and increasing the range of settings included in the output.

Syntax

show ipv6 ospf3 link-state area-scope

area area-id lsid lsid-# router-id rtr-# type lsa-type[detail|advertise]

Description

Displays link-state database for all areas configured on the routing switch. The range of displayed data can be reduced by using one or more subset options:

Options

area area-id

Subset option to filter displayed LSA database or advertisements to show only the data from a specific OSPFv3 area. Can also be filtered with other subset options (lsid, router-id , and type) to further define the source of displayed information.

lsid lsid-#

Subset option to filter displayed LSA database or advertisements to show only the data from sources having the specified IP address as a link-state ID.

Can also be filtered with other subset options (area, lsid, router-id, and type) to further define the source of displayed information.

router-id rtr-#

Subset option to filter displayed LSA database or advertisements to show only the data from sources having the specified router ID.

Can also be filtered with other subset options (area, lsid, and type) to further define the source of displayed information.

type lsa-type

Subset option to filter displayed LSA database or advertisements to show only the data from sources having the specified type. Can also be filtered with other subset options (area, lsid, and router-id) to further define the source of displayed information.

LSA type options include: router|network|inter-area-prefix|inter-area-router|nssa|intra-area-prefix

detail

Displays additional details for each LSA included in the range of displayed LSAs for any of the above options.

advertise

Displays the hexadecimal data in LSA packets (advertisements) for the OSPFv3 areas configured on the routing switch.

The output can also be filtered by area (area-id), lsid, router-id, and/or type.

Default: All OSPFv3 areas on the routing switch.

Example output

To display OSPFv3 link-state information, enter show ipv6 ospf3 link-state area-scope at any CLI level. When you enter this command, the switch displays an output similar to the following for all configured areas:

Switch# show ipv ospf3 link-state area-scope

OSPFv3 Area Scope Link State Database for area 0.0.0.0

                  Advertising  Link
LSA Type          Router ID    State ID Age Sequence # Checksum
----------------- ------------ -------- --- ---------- ----------
Router            1.0.0.4      0        2   0x80000037 0x00000a25
Router            1.1.1.1      0        20  0x8000038a 0x00004be4
Router            15.255.155.1 0        1   0x80000373 0x00006c10
Network           15.255.155.1 599      21  0x80000069 0x0000cd3e
Inter-Area-Prefix 1.0.0.4      1        22  0x80000002 0x00003cbf
Inter-Area-Prefix 1.0.0.4      3        22  0x80000002 0x00002870
Inter-Area-Prefix 1.0.0.4      5        22  0x80000002 0x00002273
Inter-Area-Prefix 1.0.0.4      7        22  0x80000002 0x00003c54
Inter-Area-Prefix 15.255.155.1 2        61  0x80000002 0x0000ba35
Inter-Area-Prefix 15.255.155.1 3        22  0x80000002 0x000080d1 
Inter-Area-Prefix 15.255.155.1 5        62  0x80000002 0x00006689
Inter-Area-Router 1.0.0.4      10       23  0x80000002 0x00003139
Inter-Area-Router 1.0.0.4      12       23  0x80000002 0x00005da3
Intra-Area-Prefix 15.255.155.1 599      22  0x80000068 0x00002bd7

OSPFv3 Area Scope Link State Database for area 0.0.0.1

                  Advertising  Link
LSA Type          Router ID    State ID Age Sequence # Checksum
----------------- ------------ -------- --- ---------- ----------
Router            1.0.0.4      0        14  0x80000004 0x000085ef
Router            15.255.155.1 0        13  0x80000004 0x0000ddee
Network           15.255.155.1 632      23  0x80000002 0x00005ef2
Inter-Area-Prefix 1.0.0.4      6        25  0x80000002 0x0000187c
Inter-Area-Prefix 1.0.0.4      14       25  0x80000002 0x000095f9
Inter-Area-Prefix 15.255.155.1 4        64  0x80000002 0x000046ad
Inter-Area-Prefix 15.255.155.1 6        19  0x80000002 0x0000707c
Inter-Area-Router 1.0.0.4      13       25  0x80000002 0x000053ac
Inter-Area-Router 15.255.155.1 7        19  0x80000002 0x0000eb72
Intra-Area-Prefix 1.0.0.4      0        15  0x80000004 0x00006d56
Intra-Area-Prefix 15.255.155.1 0        14  0x80000004 0x000070a1
Intra-Area-Prefix 15.255.155.1 632      24  0x80000002 0x00003ae9

To display area-scope LSA advertisements in hexadecimal format, use the advertise keyword.

Output for show ipv6 ospf3 link-state area-scope advertise

Switch# show ipv ospf3 link-state area-scope advertise area 1 router-id 1.0.0.4

OSPFv3 Area Scope Link State Database for area 0.0.0.1

Raw Advertisements
------------------------------------------------------------------------
0e60200100000000010000048000000583f0002801000013020000010000027800000278
0fff9b01

0e382003000000060100000480000003167d002400000001400000002620000f00000000
0e3820030000000e010000048000000393fa002400000002400000002620000b00000000

0e3820040000000d010000048000000351ad002000000013000000010f010102
0e6a20090000000001000004800000056b57003400012001000000000100000480020000