show ospf3 link-state link-scope information
The commands in this section enable display of the routing-switch's OSPFv3 link-state link-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 link-scope interface
vlan-id
lsid
lsid-#
router-id
rtr-id-#[detail|advertise]
Description
Displays link-state link-scope database for all links configured on the routing switch. The range of displayed data can be reduced by using one or more subset options:
Options
interface vlan-id
-
Subset option to filter displayed LSA database or advertisements to show only the link-scope data from a specific VLAN.
Can also be filtered with other subset options (
lsid
androuter-id
) to further define the source of displayed information. lsid lsid-#
-
Subset option to filter displayed LSA database or advertisements to show only the link-scope data having the specified (32-bit) IP address as a link-state ID.
Can also be filtered with other subset options (
router-id
andinterface
) to further define the source of displayed information. router-id rtr-id-#
-
Subset option to filter displayed LSA database or advertisements to show only the link-scope data having the specified router-ID.
Can also be filtered with other subset options (
lsid
andinterface
) to further define the source of displayed information. 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) within the OSPFv3 link scope on the routing switch.
The output can also be filtered by
lsid
androuter-id
.
Example output
To display link-scope link-state information, enter
show ipv6 ospf3 link-state link-scope
at any CLI level. When you enter this command, an output similar to the following is displayed:
Switch# show ipv6 ospf3 link-state link-scope
OSPFv3 Link Scope Link State Database for LS index 599
Advertising
LSA Type Router ID Link State ID Age Sequence # Checksum
-------- ------------ ------------- --- ---------- ----------
Link 1.1.1.1 599 842 0x80000009 0x0000fb93
Link 15.255.155.1 599 903 0x80000009 0x00006185
Link 1.0.0.4 632 845 0x80000009 0x00002a0c
Link 15.255.155.1 632 874 0x80000009 0x0000662a
Link-State Link-Scope Output for a Specific Tunnel
Switch(config)# show ipv6 ospf3 link-state link-scope interface tunnel 3
OSPFv3 Link Scope Link State Database for LS index for Tunnel 3
Advertising
LSA Type Router ID Link State ID Age Sequence # Checksum
-------- ----------- ------------- --- ---------- ----------
Link 1.1.1.1 578 106 0x80000004 0x0000583b
Link 2.2.2.2 578 114 0x80000004 0x000065d5
To display link-scope LSA advertisements in hexadecimal format, use the
advertise
keyword:
show ipv6 ospf3 link-state link-scope advertise output
Switch# show ipv6 ospf3 link-state link-scope advertise
OSPFv3 Link Scope Link State Database for LS index 599
Raw Advertisements
-----------------------------------------------------------------------
11a00008000002570101010180000009fb93003801000013fe800000000000000000000
0022000100000001400000002620000b00000000
11630008000002570fff9b01800000096185003801000013fe800000000000000000000
0022000200000001400000002620000b00000000
119e00080000027801000004800000092a0c003801000013fe800000000000000000000
0055000200000001400000002620000e00000000
11810008000002780fff9b0180000009662a003801000013fe800000000000000000000
0055000100000001400000002620000e00000000