Per-subnet OSPF statistics
Field
Content
Total Rx
Total number of OSPF packets received on each
subnet interface.
Total Errors
Total number of errors in OSPF packet transmission on
each subnet interface.
Clearing OSPF statistics for all VLAN interfaces on the switch
Syntax:
clear ip ospf statistics
Clears the OSPF statistics for all VLAN interfaces on the switch and sets all VLAN/subnet counters for OSPF
traffic to zero. Enter the command at any CLI level.
Viewing OSPF link-state information
Syntax:
show ip ospf link-state [status] [
subsetoptions
] [advertise [
subset-options
]] [detail]
To display OSPF link state information, enter
show ip ospf link-state
at any CLI level.
advertise
Displays the hexadecimal data in LSA packets (advertisements) for the OSPF areas configured on the routing
switch.
The output can also be filtered by area (
area-id
),
link-state-id
,
router-id
,
sequence-number
,
and/or
type
.
Default: All OSPF areas configured on the routing switch.
ospf-area-id
Used to restrict display of LSA database or advertisements to show only the data from a specific OSPF area.
Can also be used with other subset options (
router-id
,
sequence-number
,
external link-state-
id
, and/or
type
) to further define the source of displayed information.
link-state-id ip-addr
Used to restrict display of LSA database or advertisements to show only the data from sources having the
specified IP address as a link-state ID.
Can also be used with other subset options (
ospf-area-id
,
router-id
,
sequence-number
,
external
link-state-id
, and
type
) to further define the source of displayed information
router-id ip-addr
Used to restrict display of LSA database or advertisements to show only the data from sources having the
specified router ID.
Can also be used with other subset options (
ospf-area-id
,
link-state-id
,
sequence-number
, and
type
) to further define the source of displayed information.
Chapter 11 Open Shortest Path First Protocol (OSPF)
233