ospf
show>router
Supported on all 7210 SAS platforms as described in this document
Commands in this context display OSPF information.
ospf
show>router
Supported on all 7210 SAS platforms as described in this document
Commands in this context display OSPFv3 information.
area [area-id] [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays configuration information about all areas or the specified area. When detail is specified, operational and statistical information will be displayed.
Specifies the OSPF area ID expressed in dotted decimal notation or as a 32-bit decimal integer.
Displays detailed information about the area.
The following output is an example of area information, and Table: Output fields: OSPF area describes the output fields.
Sample outputA:7210# show router ospf area detail
===============================================================================
OSPF Areas (Detailed)
===============================================================================
-------------------------------------------------------------------------------
Area Id: 0.0.0.0
-------------------------------------------------------------------------------
Area Id : 0.0.0.0 Type : Standard
Virtual Links : 0 Total Nbrs : 2
Active IFs : 3 Total IFs : 3
Area Bdr Rtrs : 0 AS Bdr Rtrs : 0
SPF Runs : 7 Last SPF Run : 10/26/2006 10:09:18
Router LSAs : 3 Network LSAs : 3
Summary LSAs : 0 Asbr-summ LSAs : 0
Nssa ext LSAs : 0 Area opaque LSAs : 3
Total LSAs : 9 LSA Cksum Sum : 0x28b62
Blackhole Range : True Unknown LSAs : 0
===============================================================================
*A:Bombadil# show router ospf area 0.0.0.0 detail
===============================================================================
OSPF Area (Detailed) : 0.0.0.0
===============================================================================
-------------------------------------------------------------------------------
Configuration
-------------------------------------------------------------------------------
Area Id : 0.0.0.0 Type : Standard
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Virtual Links : 0 Total Nbrs : 2
Active IFs : 3 Total IFs : 3
Area Bdr Rtrs : 0 AS Bdr Rtrs : 0
SPF Runs : 7 Last SPF Run : 10/26/2006 10:09:18
Router LSAs : 3 Network LSAs : 3
Summary LSAs : 0 Asbr-summ LSAs : 0
Nssa ext LSAs : 0 Area opaque LSAs : 3
Total LSAs : 9 LSA Cksum Sum : 0x28b62
Blackhole Range : True Unknown LSAs : 0
===============================================================================
Label |
Description |
---|---|
Area Id |
Displays a 32 bit integer uniquely identifying an area |
Type |
NSSA — This area is configured as an NSSA area Standard — This area is configured as a standard area (not NSSA or stub) Stub — This area is configured as a stub area |
SPF Runs |
Displays the number of times that the intra-area route table has been calculated using this area link-state database |
LSA Count |
Displays the total number of link-state advertisements in this area link-state database, excluding AS external LSAs |
LSA Cksum Sum |
Displays the 32-bit unsigned sum of the link-state database advertisements LS checksums contained in this area link-state database. This checksum excludes AS external LSAs (type-5). |
No. of OSPF Areas |
Displays the number of areas configured on the router |
Virtual Links |
Displays the number of virtual links configured through this transit area |
Active IFs |
Displays the active number of interfaces configured in this area |
Area Bdr Rtrs |
Displays the total number of ABRs reachable within this area |
AS Bdr Rtrs |
Displays the total number of ASBRs reachable within this area |
Last SPF Run |
Displays the time when the last intra-area SPF was run on this area |
Router LSAs |
Displays the total number of router LSAs in this area |
Network LSAs |
Displays the total number of network LSAs in this area |
Summary LSAs |
Displays the summary of LSAs in this area |
Asbr-summ LSAs |
Displays the summary of ASBR LSAs in this area |
Nssa-ext LSAs |
Displays the total number of NSSA-EXT LSAs in this area |
Area opaque LSAs |
Displays the total number of opaque LSAs in this area |
Total Nbrs |
Displays the total number of neighbors in this area |
Total IFs |
Displays the total number of interfaces configured in this area |
Total LSAs |
Displays the sum of LSAs in this area excluding autonomous system external LSAs |
Blackhole Range |
False — No blackhole route is installed for aggregates configured in this area |
database [type {router | network | summary | asbr-summary | external | nssa | all}] [area area-id] [adv-router router-id] [link-state-id] [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays information about the OSPF or OSPFv3 LSDB.
When no command line options are specified, the command displays brief output for all database entries.
Specifies to filter the OSPF or OSPFv3 LSDB information based on which type is specified of the following types: router, network, summary, asbr-summary, external, nssa, all.
Displays only router (Type 1) LSAs in the LSDB.
Displays only network (Type 2) LSAs in the LSDB.
Displays only summary (Type 3) LSAs in the LSDB.
Displays only ASBR summary (Type 4) LSAs in the LSDB.
Displays only AS external (Type 5) LSAs in the LSDB. External LSAs are maintained globally and not per area. If the display of external links is requested, the area parameter, if present, is ignored.
Displays only NSSA area-specific AS external (Type 7) LSAs in the LSDB.
Displays all LSAs in the LSDB. The all keyword is intended to be used with either the area area-id or the adv-router router-id [link-state-id] parameters.
Displays LSDB information associated with the specified OSPF area ID.
Displays LSDB information associated with the specified advertising router. To further narrow the number of items displayed, the link-state-id can optionally be specified.
Displays detailed information about the LSDB entries.
The following output is an example of database information, and Table: Output fields: OSPF database describes the output fields.
Sample outputA:ALA-A# show router ospf database
===============================================================================
OSPF Link State Database (Type : All)
===============================================================================
Area Id Type Link State Id Adv Rtr Id Age Sequence Cksum
-------------------------------------------------------------------------------
0.0.0.0 Router 180.0.0.2 180.0.0.2 1800 0x800000b6 0xf54
0.0.0.0 Router 180.0.0.5 180.0.0.5 1902 0x8000009d 0xcb7c
0.0.0.0 Router 180.0.0.8 180.0.0.8 1815 0x8000009a 0x529b
0.0.0.0 Router 180.0.0.9 180.0.0.9 1156 0x80000085 0xd00f
0.0.0.0 Router 180.0.0.10 180.0.0.10 533 0x8000009d 0x3f1f
0.0.0.0 Router 180.0.0.11 180.0.0.11 137 0x80000086 0xc58f
0.0.0.0 Router 180.0.0.12 180.0.0.12 918 0x8000009d 0x4cf3
0.0.0.0 Router 180.0.0.13 180.0.0.13 1401 0x800000a2 0x879c
0.0.0.0 Network 180.0.53.28 180.0.0.28 149 0x80000083 0xe5cd
0.0.0.0 Network 180.0.54.28 180.0.0.28 1259 0x80000083 0xdad7
0.0.0.0 Summary 180.0.0.15 180.0.0.10 378 0x80000084 0xeba1
0.0.0.0 Summary 180.0.0.15 180.0.0.12 73 0x80000084 0xdfab
0.0.0.0 Summary 180.0.0.18 180.0.0.10 1177 0x80000083 0xcfbb
0.0.0.1 Summary 180.100.25.4 180.0.0.12 208 0x80000091 0x3049
0.0.0.1 AS Summ 180.0.0.8 180.0.0.10 824 0x80000084 0x3d07
0.0.0.1 AS Summ 180.0.0.8 180.0.0.12 1183 0x80000095 0x4bdf
0.0.0.1 AS Summ 180.0.0.9 180.0.0.10 244 0x80000082 0x73cb
n/a AS Ext 7.1.0.0 180.0.0.23 1312 0x80000083 0x45e7
n/a AS Ext 7.2.0.0 180.0.0.23 997 0x80000082 0x45e6
n/a AS Ext 10.20.0.0 180.0.0.23 238 0x80000081 0x2d81
...
-------------------------------------------------------------------------------
No. of LSAs: 339
===============================================================================
A:ALA-A#
A:ALA-A# show router ospf database detail
===============================================================================
OSPF Link State Database (Type : All) (Detailed)
-------------------------------------------------------------------------------
Router LSA for Area 0.0.0.0
-------------------------------------------------------------------------------
Area Id : 0.0.0.0 Adv Router Id : 180.0.0.2
Link State Id : 180.0.0.2 LSA Type : Router
Sequence No : 0x800000b7 Checksum : 0xd55
Age : 155 Length : 192
Options : E
Flags : None Link Count : 14
Link Type (1) : Point To Point
Nbr Rtr Id (1) : 180.0.0.13 I/F Address (1) : 180.0.22.2
No of TOS (1) : 0 Metric-0 (1) : 25
Link Type (2) : Stub Network
Network (2) : 180.0.22.0 Mask (2) : 255.255.255.0
No of TOS (2) : 0 Metric-0 (2) : 25
Link Type (3) : Point To Point
Nbr Rtr Id (3) : 180.0.0.12 I/F Address (3) : 180.0.5.2
No of TOS (3) : 0 Metric-0 (3) : 25
Link Type (4) : Stub Network
Network (4) : 180.0.5.0 Mask (4) : 255.255.255.0
No of TOS (4) : 0 Metric-0 (4) : 25
Link Type (5) : Point To Point
Nbr Rtr Id (5) : 180.0.0.8 I/F Address (5) : 180.0.13.2
No of TOS (5) : 0 Metric-0 (5) : 6
Link Type (6) : Stub Network
Network (6) : 180.0.13.0 Mask (6) : 255.255.255.0
No of TOS (6) : 0 Metric-0 (6) : 6
Link Type (7) : Point To Point
Nbr Rtr Id (7) : 180.0.0.5 I/F Address (7) : 180.0.14.2
No of TOS (7) : 0 Metric-0 (7) : 6
Link Type (8) : Stub Network
Network (8) : 180.0.14.0 Mask (8) : 255.255.255.0
No of TOS (8) : 0 Metric-0 (8) : 6
Link Type (9) : Point To Point
Nbr Rtr Id (9) : 180.0.0.11 I/F Address (9) : 180.0.17.2
No of TOS (9) : 0 Metric-0 (9) : 25
Link Type (10) : Stub Network
Network (10) : 180.0.17.0 Mask (10) : 255.255.255.0
No of TOS (10) : 0 Metric-0 (10) : 25
Link Type (11) : Stub Network
Network (11) : 180.0.0.2 Mask (11) : 255.255.255.255
No of TOS (11) : 0 Metric-0 (11) : 1
Link Type (12) : Stub Network
Network (12) : 180.0.18.0 Mask (12) : 255.255.255.0
No of TOS (12) : 0 Metric-0 (12) : 24
Link Type (13) : Point To Point
Nbr Rtr Id (13) : 180.0.0.10 I/F Address (13) : 180.0.3.2
No of TOS (13) : 0 Metric-0 (13) : 25
Link Type (14) : Stub Network
Network (14) : 180.0.3.0 Mask (14) : 255.255.255.0
No of TOS (14) : 0 Metric-0 (14) : 25
-------------------------------------------------------------------------------
AS Ext LSA for Network 180.0.0.14
-------------------------------------------------------------------------------
Area Id : N/A Adv Router Id : 180.0.0.10
Link State Id : 180.0.0.14 LSA Type : AS Ext
Sequence No : 0x80000083 Checksum : 0xa659
Age : 2033 Length : 36
Options : E
Network Mask : 255.255.255.255 Fwding Address : 180.1.6.15
Metric Type : Type 2 Metric-0 : 4
Ext Route Tag : 0
-------------------------------------------------------------------------------
...
A:ALA-A#
Label |
Description |
---|---|
Area Id |
Displays the OSPF area identifier |
Type LSA Type |
Router — router LSA type (OSPF) Network — network LSA type (OSPF) Summary — summary LSA type (OSPF) ASBR Summary — ASBR summary LSA type (OSPF) Nssa-ext — LSA area-specific, NSSA external (OSPF) Area opaque — area opaque LSA type (OSPF) |
Link State Id |
Displays the link-state ID. The link-state ID is an LSA type specific field containing either a number to distinguish several LSAs from the same router, an interface ID, or a router-id; it identifies the piece of the routing domain being described by the advertisement. |
Adv Rtr Id Adv Router Id |
Displays the router identifier of the router advertising the LSA |
Age |
Displays the age of the link state advertisement in seconds |
Sequence Sequence No |
Displays the signed 32-bit integer sequence number |
Cksum Checksum |
Displays the 32-bit unsigned sum of the link-state advertisements LS checksums |
No. of LSAs |
Displays the number of LSAs displayed |
Options |
EA — External attribute LSA support DC — Demand circuit support R — If clear, a node can participates in OSPF topology distribution without being used to forward transit traffic N — Type 7 LSA support E — External routes support |
Prefix Options |
P — Propagate NSSA LSA |
Flags |
None — No flags set V — The router is an endpoint for one or more fully adjacent virtual links having the described area as the transit area E — The router is an AS boundary router B — The router is an area border router |
Link Count |
Displays the number of links advertised in the LSA |
Link Type (n) |
Displays the link type of the nth link in the LSA |
Network (n) |
Displays the network address of the nth link in the LSA |
Metric-0 (n) |
Displays the cost metric of the nth link in the LSA |
interface [ip-int-name | ip-address] [detail]
interface [area area-id] [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays the details of the OSPF or OSPFv3 interface, this interface can be identified by IP address or IP interface name. When neither is specified, all in-service interfaces are displayed.
The detail option produces a great amount of data. Nokia recommends to detail only when requesting a specific interface.
Displays only the interface identified by this IP address.
Displays only the interface identified by this interface name, up to 32 characters.
Displays all interfaces configured in this area.
Displays detailed information about the interfaced.
The following outputs are examples of OSPF interface information. The associated tables describe the output fields.
Standard output: Sample output, Table: Output fields: OSPF interface
Detailed output: Sample output — detailed, Table: Output fields: OSPF interface detail
*A:JC-NodeA# show router ospf interface area detail
===============================================================================
OSPF Interfaces in Area (Detailed) : 1
===============================================================================
Interface : ip-10.10.1.1
-------------------------------------------------------------------------------
IP Address : 10.10.1.1
Area Id : 0.0.0.1 Priority : 1
Hello Intrvl : 5 sec Rtr Dead Intrvl : 15 sec
Retrans Intrvl : 5 sec Poll Intrvl : 120 sec
Cfg Metric : 0 Advert Subnet : True
Transit Delay : 1 Auth Type : None
Passive : False Cfg MTU : 0
Admin Status : Enabled Oper State : Designated Rtr
Designated Rtr : 10.20.1.1 Backup Desig Rtr : 0.0.0.0
IF Type : Broadcast Network Type : Transit
Oper MTU : 1500 Last Enabled : 04/11/2007 16:06:27
Oper Metric : 1000
Nbr Count : 0 If Events : 5
Tot Rx Packets : 0 Tot Tx Packets : 1116
Rx Hellos : 0 Tx Hellos : 1116
Rx DBDs : 0 Tx DBDs : 0
Rx LSRs : 0 Tx LSRs : 0
Rx LSUs : 0 Tx LSUs : 0
Rx LS Acks : 0 Tx LS Acks : 0
Retransmits : 0 Discards : 0
Bad Networks : 0 Bad Virt Links : 0
Bad Areas : 0 Bad Dest Addrs : 0
Bad Auth Types : 0 Auth Failures : 0
Bad Neighbors : 0 Bad Pkt Types : 0
Bad Lengths : 0 Bad Hello Int. : 0
Bad Dead Int. : 0 Bad Options : 0
Bad Versions : 0 Bad Checksums : 0
LSA Count : 0 LSA Checksum : 0x0
TE Metric : 678
===============================================================================
*A:JC-NodeA#
Label |
Description |
---|---|
If Name |
Displays the interface name |
Area Id |
Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
D Rtr Id |
Displays the IP interface address of the router identified as the designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router. |
BD Rtr Id |
The IP interface address of the router identified as the backup designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router. |
Adm |
Dn — OSPF on this interface is administratively shut down Up — OSPF on this interface is administratively enabled |
Opr |
Down — This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable. Wait — The router is trying to determine the identity of the (Backup) designated router for the network PToP — The interface is operational, and connects either to a physical point-to-point network or to a virtual link DR — This router is the designated router for this network BDR — This router is the backup designated router for this network ODR — The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the designated router |
No. of OSPF Interfaces |
Displays the number of interfaces listed |
A:SetupCLI# show router ospf interface detail
===============================================================================
OSPF Interfaces (Detailed)
-------------------------------------------------------------------------------
Interface : system
-------------------------------------------------------------------------------
IP Address : 10.1.255.255
Area Id : 0.0.0.0 Priority : 1
Hello Intrvl : 10 sec Rtr Dead Intrvl : 40 sec
Retrans Intrvl : 5 sec Poll Intrvl : 120 sec
Cfg Metric : 0 Advert Subnet : True
Transit Delay : 1 Auth Type : None
Passive : True Cfg MTU : 0
Admin Status : Enabled Oper State : Designated Rtr
Designated Rtr : 2.2.2.2 Backup Desig Rtr : 0.0.0.0
IF Type : Broadcast Network Type : Transit
Oper MTU : 1500 Last Enabled : 05/14/2006 09:16:26
Oper Metric : 0
Nbr Count : 0 If Events : 5
Tot Rx Packets : 0 Tot Tx Packets : 0
Rx Hellos : 0 Tx Hellos : 0
Rx DBDs : 0 Tx DBDs : 0
Rx LSRs : 0 Tx LSRs : 0
Rx LSUs : 0 Tx LSUs : 0
Rx LS Acks : 0 Tx LS Acks : 0
Retransmits : 0 Discards : 0
Bad Networks : 0 Bad Virt Links : 0
Bad Areas : 0 Bad Dest Addrs : 0
Bad Auth Types : 0 Auth Failures : 0
Bad Neighbors : 0 Bad Pkt Types : 0
Bad Lengths : 0 Bad Hello Int. : 0
Bad Dead Int. : 0 Bad Options : 0
Bad Versions : 0 Bad Checksums : 0
LSA Count : 0 LSA Checksum : 0x0
-------------------------------------------------------------------------------
Interface : sender
-------------------------------------------------------------------------------
IP Address : 10.1.1.1
Area Id : 0.0.0.0 Priority : 1
Hello Intrvl : 10 sec Rtr Dead Intrvl : 40 sec
Retrans Intrvl : 5 sec Poll Intrvl : 120 sec
Cfg Metric : 0 Advert Subnet : True
Transit Delay : 1 Auth Type : None
Passive : False Cfg MTU : 0
===============================================================================
A:SetupCLI#
Label |
Description |
---|---|
Interface |
Displays the IP address of this OSPF interface |
IP Address |
Displays the IP address and mask of this OSPF interface |
Interface Name |
Displays the interface name |
Area Id |
Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
Priority |
Displays the priority of this interface. Used in multi-access networks, this field is used in the designated router election algorithm. |
Hello Intrvl |
Displays the length of time, in seconds, between the Hello packets that the router sends on the interface. This value must be the same for all routers attached to a common network. |
Rtr Dead Intrvl |
Displays the number of seconds that router Hello packets have not been seen before its neighbors declare the router down. This should be some multiple of the Hello interval. This value must be the same for all routers attached to a common network. |
Retrans Intrvl |
Displays the number of seconds between link-state advertisement retransmissions, for adjacencies belonging to this interface. This value is also used when retransmitting database description and link-state request packets. |
Poll Intrvl |
Displays the larger time interval, in seconds, between the Hello packets sent to an inactive non-broadcast multi-access neighbor |
Metric |
Displays the metric to be advertised for this interface |
Advert Subnet |
False — When a point-to-point interface is configured as false, then the subnet is not advertised and the endpoints are advertised as host routes True — When a point-to-point interface is configured to true, then the subnet is advertised |
Transit Delay |
Displays the estimated number of seconds it takes to transmit a link state update packet over this interface |
Auth Type |
Displays the authentication procedure to be used for the packet None — Routing exchanges over the network/subnet are not authenticated Simple — A 64-bit field is configured on a per-network basis. All packets sent on a particular network must have this configured value in their OSPF header 64-bit authentication field. This essentially serves as a ‟clear” 64-bit password. MD5 — A shared secret key is configured in all routers attached to a common network/subnet. For each OSPF protocol packet, the key is used to generate/verify a ‟message digest” that is appended to the end of the OSPF packet. |
Passive |
False — This interfaces operates as a normal OSPF interface with regard to adjacency forming and network/link behavior True — No OSPF hellos will be sent out on this interface and the router advertises this interface as a stub network/link in its router LSAs |
MTU |
Displays the desired size of the largest packet that can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Admin Status |
Disabled — OSPF on this interface is administratively shut down Enabled — OSPF on this interface is administratively enabled |
Oper State |
Down — This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable Waiting — The router is trying to determine the identity of the (backup) designated router for the network Point To Point — The interface is operational, and connects either to a physical point-to-point network or to a virtual link Designated Rtr — This router is the Designated Router for this network Other Desig Rtr — The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the designated router Backup Desig Rtr — This router is the backup designated router for this network |
DR-Id |
Displays the IP Interface address of the router identified as the designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no designated router |
BDR-Id |
The IP interface address of the router identified as the backup designated router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router. |
IF Type |
Broadcast — LANs, such as Ethernet NBMA — X.25 and similar technologies Point-To-Point — Links that are definitively point to point |
Network Type |
Stub — OPSF has not established a neighbor relationship with any other OSPF router on this network as such only traffic sourced or destined to this network will be routed to this network Transit — OPSF has established at least one neighbor relationship with any other OSPF router on this network as such traffic en route to other networks may be routed via this network |
Oper MTU |
Displays the operational size of the largest packet which can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Last Enabled |
Displays the time that this interface was last enabled to run OSPF on this interface |
Nbr Count |
Displays the number of OSPF neighbors on the network for this interface |
If Events |
Displays the number of times this OSPF interface has changed its state, or an error has occurred since this interface was last enabled |
Tot Rx Packets |
Displays the total number of OSPF packets received on this interface since this interface was last enabled |
Tot Tx Packets |
Displays the total number of OSPF packets transmitted on this interface since this interface was last enabled |
Rx Hellos |
Displays the total number of OSPF Hello packets received on this interface since this interface was last enabled |
Tx Hellos |
Displays the total number of OSPF Hello packets transmitted on this interface since this interface was last enabled |
Rx DBDs |
Displays the total number of OSPF database description packets received on this interface since this interface was last enabled |
Tx DBDs |
Displays the total number of OSPF database description packets transmitted on this interface since this interface was last enabled |
Rx LSRs |
Displays the total number of link-state requests (LSRs) received on this interface since this interface was last enabled |
Tx LSRs |
Displays the total number of LSRs transmitted on this interface since this interface was last enabled |
Rx LSUs |
Displays the total number of Link State Updates (LSUs) received on this interface since this interface was last enabled |
Tx LSUs |
Displays the total number of LSUs transmitted on this interface since this interface was last enabled |
Rx LS Acks |
Displays the total number of link state acknowledgments received on this interface since this interface was last enabled |
Tx LS Acks |
Displays the total number of link state acknowledgments transmitted on this interface since this interface was last enabled |
Retransmits |
Displays the total number of OSPF retransmits sent on this interface since this interface was last enabled |
Discards |
Displays the total number of OSPF packets discarded on this interface since this interface was last enabled |
Bad Networks |
Displays the total number of OSPF packets received with invalid network or mask since this interface was last enabled |
Bad Virt Links |
Displays the total number of OSPF packets received on this interface that are destined to a virtual link that does not exist since this interface was last enabled |
Bad Areas |
Displays the total number of OSPF packets received with an area mismatch since this interface was last enabled |
Bad Dest Addrs |
Displays the total number of OSPF packets received with the incorrect IP destination address since this interface was last enabled |
Bad Auth Types |
Displays the total number of OSPF packets received with an invalid authorization type since this interface was last enabled |
Auth Failures |
Displays the total number of OSPF packets received with an invalid authorization key since this interface was last enabled |
Bad Neighbors |
Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since this interface was last enabled |
Bad Pkt Types |
Displays the total number of OSPF packets received with an invalid OSPF packet type since this interface was last enabled |
Bad Lengths |
Displays the total number of OSPF packets received on this interface with a total length not equal to the length specified in the packet since this interface was last enabled |
Bad Hello int. |
Displays the total number of OSPF packets received where the hello interval specified in packet was not equal to that configured on this interface since this interface was last enabled |
Bad Dead Int. |
Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since this interface was last enabled |
Bad Options |
Displays the total number of OSPF packets received with an option that does not match those configured for this interface or area since this interface was last enabled |
Bad Versions |
Displays the total number of OSPF packets received with bad OSPF version numbers since this interface was last enabled |
Te Metric |
Displays the TE metric configured for this interface. This metric is flooded out in the TE metric sub-TLV in the OSPF TE LSAs. Depending on the configuration, either the TE metric value or the native OSPF metric value is used in CSPF computations. |
Te State |
Displays the MPLS interface TE status from the OSPF standpoint |
Admin Groups |
Displays the bit-map inherited from the MPLS interface that identifies the admin groups to which this interface belongs |
neighbor [ip-int-name | ip-address] [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays all neighbor information. To reduce the amount of output, the user can select the neighbors on a specific interface by address or name.
The detail option produces a large amount of data. Nokia recommends to use detail only when requesting a specific neighbor.
Displays neighbor information for the neighbor identified by the specified IP address.
Displays neighbor information only for neighbors of the interface identified by the interface name, up to 32 characters.
The following outputs are examples of OSPF neighbor information. The associated tables describe the output fields.
Standard output: Sample output, Table: Output fields: OSPF neighbor
Detailed output: Sample output — detailed, Table: Output fields: OSPF neighbor detail
A:ALA-A# show router ospf neighbor
===============================================================================
OSPF Neighbors
===============================================================================
Interface-Name Rtr Id State Pri RetxQ TTL
-------------------------------------------------------------------------------
pc157-2/1 10.13.8.158 Full 1 0 37
pc157-2/2 10.13.7.165 Full 100 0 33
pc157-2/3 10.13.6.188 Full 1 0 38
-------------------------------------------------------------------------------
No. of Neighbors: 3
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Nbr IP Addr |
Displays the IP address this neighbor is using in its IP Source Address. Note that, on addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces. |
Nbr Rtr Id |
Displays a 32-bit integer uniquely identifying the neighboring router in the autonomous system |
Nbr State |
Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor. Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (that is, the router did not appear in the neighbor Hello packet). Two Way — In this state, communication between the two routers is bidirectional. ExchStart — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide the initial database descriptor sequence number. Exchange — In this state, the router is describing its entire link state database by sending database description packets to the neighbor. Loading — In this state, link state request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the exchange state. Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router LSAs and network LSAs. |
Priority |
Displays the priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
RetxQ Len |
Displays the current length of the retransmission queue |
Dead Time |
Displays the time until this neighbor is declared down; this timer is set to the dead router interval when a valid hello packet is received from the neighbor |
No. of Neighbors |
Displays the number of adjacent OSPF neighbors on this interface |
A:ALA-A# show router ospf neighbor detail
===============================================================================
OSPF Neighbors
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.13.8.158 Interface: pc157-2/1
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.16.1.8
Local IF IP Addr : 10.16.1.7
Area Id : 0.0.0.0
Designated Rtr : 0.0.0.0 Backup Desig Rtr : 0.0.0.0
Neighbor State : Full Priority : 1
Retrans Q Length : 0 Options : -E--O-
Events : 4 Last Event Time : 05/06/2006 00:11:16
Up Time : 1d 18:20:20 Time Before Dead : 38 sec
GR Helper : Not Helping GR Helper Age : 0 sec
GR Exit Reason : None GR Restart Reason: Unknown
Bad Nbr States : 1 LSA Inst fails : 0
Bad Seq Nums : 0 Bad MTUs : 0
Bad Packets : 0 LSA not in LSDB : 0
Option Mismatches: 0 Nbr Duplicates : 0
Num Restarts : 0 Last Restart at : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.13.7.165 Interface: pc157-2/2
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.12.1.3
Local IF IP Addr : 10.12.1.7
Area Id : 0.0.0.0
Designated Rtr : 10.13.9.157 Backup Desig Rtr : 10.13.7.165
Neighbor State : Full Priority : 100
Retrans Q Length : 0 Options : -E--O-
Events : 4 Last Event Time : 05/05/2006 01:39:13
Up Time : 0d 16:52:27 Time Before Dead : 33 sec
GR Helper : Not Helping GR Helper Age : 0 sec
GR Exit Reason : None GR Restart Reason: Unknown
Bad Nbr States : 0 LSA Inst fails : 0
Bad Seq Nums : 0 Bad MTUs : 0
Bad Packets : 0 LSA not in LSDB : 0
Option Mismatches: 0 Nbr Duplicates : 0
Num Restarts : 0 Last Restart at : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.13.6.188 Interface: pc157-2/3
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.14.1.4
Local IF IP Addr : 10.14.1.7
Area Id : 0.0.0.0
Designated Rtr : 10.13.9.157 Backup Desig Rtr : 10.13.6.188
Neighbor State : Full Priority : 1
Retrans Q Length : 0 Options : -E--O-
Events : 4 Last Event Time : 05/05/2006 08:35:18
Up Time : 0d 09:56:25 Time Before Dead : 38 sec
GR Helper : Not Helping GR Helper Age : 0 sec
GR Exit Reason : None GR Restart Reason: Unknown
Bad Nbr States : 1 LSA Inst fails : 0
Bad Seq Nums : 0 Bad MTUs : 0
Bad Packets : 0 LSA not in LSDB : 0
Option Mismatches: 0 Nbr Duplicates : 0
Num Restarts : 0 Last Restart at : Never
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Neighbor IP Addr |
Displays the IP address this neighbor is using in its IP source address. Note that, on links with no address, this will not be 0.0.0.0, but the address of another of the neighbor interfaces. |
Local IF IP Addr |
Displays the IP address of this OSPF interface |
Area Id |
Displays a 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone |
Designated Rtr |
Displays the IP interface address of the router identified as the designated router for the network in which this interface is configured; set to 0.0.0.0 if there is no designated router |
Neighbor Rtr Id |
Displays a 32-bit integer uniquely identifying the neighboring router in the AS |
Neighbor State |
Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (that is, the router did not appear in the neighbor Hello packet). Two Way — In this state, communication between the two routers is bidirectional. Exchange start — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial database descriptor sequence number. Exchange — In this state the router is describing its entire link state database by sending database description packets to the neighbor Loading — In this state, link state request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the exchange state. Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs. |
Priority |
Displays the priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
Retrans Q Length |
Displays the current length of the retransmission queue |
Options |
E — External routes support N/P — Type 7 LSA support EA — External attribute LSA support DC — Demand circuit support O — Opaque LSA support |
Backup Desig Rtr |
Displays the IP Interface address of the router identified as the backup designated router for the network in which this interface is configured; set to 0.0.0.0 if there is no backup designated router |
Events |
Displays the number of times this neighbor relationship has changed state, or an error has occurred |
Last Event Time |
Displays the time when the last event occurred that affected the adjacency to the neighbor |
Up Time |
Displays the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up. To evaluate when the last state change occurred, see Last Event Time. |
Time Before Dead |
Displays the time until this neighbor is declared down; this timer is set to the dead router interval when a valid hello packet is received from the neighbor |
Bad Nbr States |
Displays the total number of OSPF packets received when the neighbor state was not expecting to receive this packet type since this interface was last enabled |
LSA Inst fails |
Displays the total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since this interface was last enabled |
Bad Seq Nums |
Displays the total number of times when a database description packet was received with a sequence number mismatch since this interface was last enabled |
Bad MTUs |
Displays the total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since this interface was last enabled |
Bad Packets |
Displays the total number of times when an LS update was received with an illegal LS type or an option mismatch since this interface was last enabled |
LSA not in LSDB |
Displays the total number of times when an LS request was received for an LSA not installed in the LSDB of this router since this interface was last enabled |
Option Mismatches |
Displays the total number of times when an LS update was received with an option mismatch since this interface was last enabled. |
Nbr Duplicates |
Displays the total number of times when a duplicate database description packet was received during the exchange state since this interface was last enabled |
prefix-sids [ip-prefix[/prefix-length]] [sid sid] [adv-router router-id]
show>router>ospf
Supported on all 7210 SAS platforms as described in this document
This command displays OSPF prefix SIDs.
Displays information about the specified IP prefix and length, up to 64 characters.
Displays information for the specific segment identifier.
Displays information for the specific advertising router identified by its router ID.
The following output is an example of OSPF prefix SID information, and Table: Output fields: prefix SIDs describes the output fields.
Sample output*A:Dut-C# show router ospf prefix-sids
========================================================================
Rtr Base OSPFv2 Instance 0 Prefix-Sids
========================================================================
Prefix Area RtType SID
Adv-Rtr Active Flags
------------------------------------------------------------------------
10.20.1.1/32 0.0.0.0 INTER-AREA 11
10.20.1.2 N NnP
10.20.1.1/32 0.0.0.1 INTRA-AREA 11
10.20.1.1 Y NnP
10.20.1.2/32 0.0.0.0 INTRA-AREA 22
10.20.1.2 Y NnP
10.20.1.2/32 0.0.0.1 INTER-AREA 22
10.20.1.2 N NnP
10.20.1.3/32 0.0.0.0 INTRA-AREA 33
10.20.1.3 Y NnP
10.20.1.3/32 0.0.0.1 INTER-AREA 33
10.20.1.2 N NnP
10.20.1.4/32 0.0.0.0 INTRA-AREA 44
10.20.1.4 Y NnP
10.20.1.4/32 0.0.0.1 INTER-AREA 44
10.20.1.2 N NnP
10.20.1.5/32 0.0.0.0 INTRA-AREA 55
10.20.1.5 Y NnP
10.20.1.5/32 0.0.0.1 INTER-AREA 55
10.20.1.2 N NnP
10.20.1.6/32 0.0.0.0 INTER-AREA 66
10.20.1.4 N NnP
10.20.1.6/32 0.0.0.0 INTER-AREA 66
10.20.1.5 Y NnP
10.20.1.6/32 0.0.0.1 INTER-AREA 66
10.20.1.2 N NnP
------------------------------------------------------------------------
No. of Prefix/SIDs: 13
Flags: N = Node-SID
nP = no penultimate hop POP
M = Mapping server
E = Explicit-Null
V = Prefix-SID carries a value
L = value/index has local significance
I = Inter Area flag
A = Attached flag
========================================================================
*A:Dut-C# show router ospf prefix-sids sid 66
========================================================================
Rtr Base OSPFv2 Instance 0 Prefix-Sids
========================================================================
Prefix Area RtType SID
Adv-Rtr Active Flags
------------------------------------------------------------------------
10.20.1.6/32 0.0.0.0 INTER-AREA 66
10.20.1.4 N NnP
10.20.1.6/32 0.0.0.0 INTER-AREA 66
10.20.1.5 Y NnP
10.20.1.6/32 0.0.0.1 INTER-AREA 66
10.20.1.2 N NnP
------------------------------------------------------------------------
No. of Prefix/SIDs: 3
Flags: N = Node-SID
nP = no penultimate hop POP
M = Mapping server
E = Explicit-Null
V = Prefix-SID carries a value
L = value/index has local significance
I = Inter Area flag
A = Attached flag
========================================================================
*A:Dut-C#
Label |
Description |
---|---|
Prefix |
Displays the IP prefix for the SID |
Area |
Displays the OSPF area |
Adv-Rtr |
Displays the advertised router IP address |
RtType |
Displays the type of route |
Active |
Displays the status of the route: active (Y) or inactive (N) |
SID |
Displays the segment routing identifier (SID) |
Flags |
Displays the flags related to the advertised router: R = Re-advertisement N = Node SID nP = No penultimate hop POP E = Explicit null V = Prefix-SID carries a value L = Value/index has local significance |
range [area-id]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays ranges of addresses on an area border router (ABR) for the purpose of route summarization or suppression.
Displays the configured ranges for the specified area.
The following output is an example of OSPF range information, and Table: Output fields: OSPF range describes the output fields.
Sample outputA:ALA-A# show router ospf range
==========================================================
OSPF Ranges
==========================================================
Area Id Address/Mask Advertise LSDB Type
----------------------------------------------------------
No. of Ranges: 0
==========================================================
A:ALA-A#
A:ALA-A# show router ospf range 180.0.7.9
==========================================================
OSPF Ranges for Area Id : 180.0.7.9
==========================================================
Area Id Address/Mask Advertise LSDB Type
----------------------------------------------------------
No. of Ranges: 0
==========================================================
A:ALA-A#
Label |
Description |
---|---|
Area Id |
Displays a 32-bit integer uniquely identifying an area. Area ID 0.0.0.0 is used for the OSPF backbone. |
Address/Mask |
Displays the mask for the range expressed as a decimal integer mask length or in dotted decimal notation |
Advertise |
False — The specified address/mask is not advertised outside the area True — The specified address/mask is advertised outside the area |
LSDB Type |
NSSA — This range was specified in the NSSA context, and specifies that the range applies to external routes (via type-7 LSAs) learned within the NSSA when the routes are advertised to other areas as type-5 LSAs. Summary — This range was not specified in the NSSA context, the range applies to summary LSAs even if the area is an NSSA. |
routes [ip-prefix[/prefix-length]] [type] [detail] [alternative] [summary] [exclude-shortcut]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays information about OSPF or OSPFv3 routes.
Specifies the IP address.
Displays information about the specified type.
Displays detailed information about the routes.
Displays the level of protection per prefix.
Displays summary information about the routes.
Displays routes without shortcuts.
The following output is an example of OSPF route information.
Sample outputA:ALU-A# show router ospf routes
===============================================================================
OSPFv2 (0) Routing Table
===============================================================================
Destination Type(Dest) Stat SID SIDflgs
NHIP NHIF Cost[E2]
-------------------------------------------------------------------------------
1.1.1.1/32 IA (HOST) N (R)
1.1.3.1 3 1000
1.1.2.0/24 IA (NET) N (R)
1.1.3.1 3 2000
1.2.3.2 4 2000
1.1.3.0/24 IA (NET) D (F)
DIRECT 3 1000
1.2.3.0/24 IA (NET) D (F)
DIRECT 4 1000
1.2.4.0/24 IA (NET) N (R)
2.2.3.2 5 2000
1.3.5.0/24 IA (NET) D (F)
DIRECT 6 1000
1.4.5.0/24 IA (NET) N (R)
1.3.5.5 6 2000
1.4.6.0/24 IE (NET) N (R)
2.2.3.2 5 3000
1.3.5.5 6 3000
1.5.6.0/24 IE (NET) N (R)
1.3.5.5 6 2000
2.2.2.2/32 IA (HOST) N (R)
2.2.3.2 5 1000
2.2.3.0/24 IA (NET) D (F)
DIRECT 5 1000
3.3.3.3/32 IA (HOST) D (F)
DIRECT 2 0
4.4.4.4/32 IA (HOST) N (R)
2.2.3.2 5 2000
1.3.5.5 6 2000
5.5.5.5/32 IA (HOST) N (R)
1.3.5.5 6 1000
6.6.6.6/32 IE (HOST) N (R)
1.3.5.5 6 2000
10.20.1.1/32 IA (HOST) N (R) 11 NnP
1.1.3.1 3 1000
10.20.1.2/32 IA (HOST) N (R) 22 NnP
2.2.3.2 5 1000
10.20.1.3/32 IA (HOST) D (F) 33 NnP
DIRECT 1 0
10.20.1.4/32 IA (HOST) N (R) 44 NnP
2.2.3.2 5 2000
1.3.5.5 6 2000
10.20.1.5/32 IA (HOST) N (R) 55 NnP
1.3.5.5 6 1000
10.20.1.6/32 IE (HOST) N (R) 66 NnP
1.3.5.5 6 2000
10.20.1.1/0 IA (RTR) N (N)
1.1.3.1 3 1000
10.20.1.2/0 IA (AB-AS) N (N)
2.2.3.2 5 1000
10.20.1.2/0 IA (AB-AS) N (N)
1.2.3.2 4 1000
10.20.1.4/0 IA (AB-AS) N (N)
2.2.3.2 5 2000
1.3.5.5 6 2000
10.20.1.5/0 IA (AB-AS) N (N)
1.3.5.5 6 1000
-------------------------------------------------------------------------------
No. of routes found: 26 (31 paths)
Stat: D = direct N = not direct
(RTM stat):(R) = added (F) = add failed
(N) = not added (D) = policy discarded
SID Flags : N = Node-SID
nP = no penultimate hop POP
M = Mapping server
E = Explicit-Null
V = Prefix-SID carries a value
L = value/index has local significance
I = Inter Area flag
A = Attached flag
===============================================================================
A:ALU-A#
A:ALU-A# show router ospf routes alternative detail
=======================================================================
OSPFv2 (0) Routing Table (detailed)
=======================================================================
Destination Type(Dest) Stat
NHIP NHIF Cost[E2] Area Tunnel-Information
A-NHIP(L) A-NHIF A-Cost[E2] A-Type PGID
-----------------------------------------------------------------------
1.1.2.0/24 IA (NET) D (F)
DIRECT 2 10 0.0.0.0
1.1.3.0/24 IA (NET) D (F)
DIRECT 3 10 0.0.0.0
1.2.3.0/24 IA (NET) N (R)
1.1.2.2 2 20 0.0.0.0
1.1.3.3 3 20 0.0.0.0
1.2.4.0/24 IA (NET) N (R)
1.1.2.2 2 20 0.0.0.0
1.1.3.3(L) 3 30 LINK 0x130015
1.3.5.0/24 IA (NET) N (R)
1.1.3.3 3 20 0.0.0.0
1.1.2.2(L) 2 30 LINK 0x130016
1.4.5.0/24 IA (NET) N (R)
1.1.2.2 2 30 0.0.0.0
1.1.3.3 3 30 0.0.0.0
1.4.6.0/24 IA (NET) N (R)
1.1.2.2 2 30 0.0.0.0
1.1.3.3(L) 3 40 LINK 0x130015
1.5.6.0/24 IA (NET) N (R)
1.1.3.3 3 30 0.0.0.0
1.1.2.2(L) 2 40 LINK 0x130016
10.20.1.1/32 IA (HOST) D (F)
DIRECT 1 0 0.0.0.0
10.20.1.2/32 IA (HOST) N (R)
1.1.2.2 2 10 0.0.0.0
1.1.3.3(L) 3 20 LINK 0x130015
10.20.1.3/32 IA (HOST) N (R)
1.1.3.3 3 10 0.0.0.0
1.1.2.2(L) 2 20 LINK 0x130016
10.20.1.4/32 IA (HOST) N (R)
1.1.2.2 2 20 0.0.0.0
1.1.3.3(L) 3 30 LINK 0x130015
10.20.1.5/32 IA (HOST) N (R)
1.1.3.3 3 20 0.0.0.0
1.1.2.2(L) 2 30 LINK 0x130016
10.20.1.6/32 IA (HOST) N (R)
1.1.3.3 3 30 0.0.0.0
1.1.2.2 2 30 0.0.0.0
10.20.1.2/0 IA (RTR) N (N)
1.1.2.2 2 10 0.0.0.0
10.20.1.3/0 IA (RTR) N (N)
1.1.3.3 3 10 0.0.0.0
10.20.1.4/0 IA (RTR) N (N)
1.1.2.2 2 20 0.0.0.0
10.20.1.5/0 IA (RTR) N (N)
1.1.3.3 3 20 0.0.0.0
10.20.1.6/0 IA (RTR) N (N)
1.1.3.3 3 30 0.0.0.0
1.1.2.2 2 30 0.0.0.0
-----------------------------------------------------------------------
19 OSPFv2 routes found (23 paths)
Flags: L = Loop-Free Alternate nexthop
Stat: D = direct N = not direct
(RTM stat):(R) = added (F) = add failed
(N) = not added (D) = policy discarded
=======================================================================
A:ALU-A#
spf
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays statistics of shortest-path-first (SPF) calculations.
The following output is an example of SPF information, and Table: Output fields: OSPF SFP describes the output fields.
Sample outputA:ALA-A# show router ospf spf
===============================================================================
OSPF SPF Statistics
===============================================================================
Total SPF Runs : 109
Last Full SPF run @ : 11/07/2006 18:43:07
Last Full SPF Time : < 0.01 secs
Intra SPF Time : < 0.01 secs
Inter SPF Time : < 0.01 secs
Extern SPF Time : < 0.01 secs
RTM Updt Time : < 0.01 secs
Min/Avg/Max Full SPF Times : 0.02/0.00/0.06 secs
Min/Avg/Max RTM Updt Times : 0.02/0.00/0.06 secs
Total Sum Incr SPF Runs : 333
Last Sum Incr SPF run @ : 11/07/2006 18:43:09
Last Sum Incr Calc Time : < 0.01 secs
Total Ext Incr SPF Runs : 0
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Total SPF Runs |
Displays the total number of incremental SPF runs triggered by new or updated LSAs |
Last Full SPF run @ |
Displays the date and time when the external OSPF Dijkstra (SPF) was last run |
Last Full SPF Time |
Displays the length of time, in seconds, when the last full SPF was run |
Intra SPF Time |
Displays the time when intra-area SPF was last run on this area |
Inter SPF Time |
Displays the total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs |
Extern SPF Time |
Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
RTM Updt Time |
Displays the time, in hundredths of seconds, used to perform a total SPF calculation |
Min/Avg/Max Full SPF Time |
Min — The minimum time, in hundredths of seconds, used to perform a total SPF calculation Avg — The average time, in hundredths of seconds, of all the total SPF calculations performed by this OSPF router Max — The maximum time, in hundredths of seconds, used to perform a total SPF calculation |
Total Sum Incr SPF Runs |
Displays the total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs |
Total Ext Incr SPF Runs |
Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
statistics
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays the global OSPF or OSPFv3 statistics.
The following output is an example of OSPF statistics information, and Table: Output fields: OSPF statistics describes the output fields.
Sample outputA:ALA-A# show router ospf statistics
===============================================================================
OSPF Statistics
===============================================================================
Rx Packets : 308462 Tx Packets : 246800
Rx Hellos : 173796 Tx Hellos : 149062
Rx DBDs : 67 Tx DBDs : 48
Rx LSRs : 21 Tx LSRs : 19
Rx LSUs : 105672 Tx LSUs : 65530
Rx LS Acks : 28906 Tx LS Acks : 32141
New LSAs Recvd : 38113 New LSAs Orig : 21067
Ext LSAs Count : 17 No of Areas : 3
Total SPF Runs : 327 Ext SPF Runs : 0
Retransmits : 46 Discards : 0
Bad Networks : 0 Bad Virt Links : 0
Bad Areas : 0 Bad Dest Addrs : 0
Bad Auth Types : 0 Auth Failures : 0
Bad Neighbors : 0 Bad Pkt Types : 0
Bad Lengths : 0 Bad Hello Int. : 0
Bad Dead Int. : 0 Bad Options : 0
Bad Versions : 0 Bad Checksums : 0
Failed SPF Attempts: 0
CSPF Requests : 0 CSPF Request Drops : 0
CSPF Path Found : 0 CSPF Path Not Found: 0
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Rx Packets |
Displays the total number of OSPF packets received on all OSPF enabled interfaces |
Tx Packets |
Displays the total number of OSPF packets transmitted on all OSPF enabled interfaces |
Rx Hellos |
Displays the total number of OSPF Hello packets received on all OSPF enabled interfaces |
Tx Hellos |
Displays the total number of OSPF Hello packets transmitted on all OSPF enabled interfaces |
Rx DBDs |
Displays the total number of OSPF database description packets received on all OSPF enabled interfaces |
Tx DBDs |
Displays the total number of OSPF database description packets transmitted on all OSPF enabled interfaces |
Rx LSRs |
Displays the total number of OSPF link state requests (LSRs) received on all OSPF enabled interfaces |
Tx LSRs |
Displays the total number of OSPF link state requests (LSRs) transmitted on all OSPF enabled interfaces |
Rx LSUs |
Displays the total number of OSPF link state update (LSUs) received on all OSPF enabled interfaces |
Tx LSUs |
Displays the total number of OSPF link state update (LSUs) transmitted on all OSPF enabled interfaces |
Rx LS Acks |
Displays the total number of OSPF link state acknowledgments (LSAs) received on all OSPF enabled interfaces |
New LSAs Recvd |
Displays the total number of new OSPF link state advertisements received on all OSPF enabled interfaces |
New LSAs Orig |
Displays the total number of new OSPF link state advertisements originated on all OSPF enabled interfaces |
Ext LSAs Count |
Displays the total number of OSPF external link state advertisements |
No of Areas |
Displays the number of areas configured for this OSPF instance |
Total SPF Runs |
Displays the total number of incremental SPF runs triggered by new or updated LSAs |
Ext SPF Runs |
Displays the total number of incremental SPF runs triggered by new or updated type-5 external LSAs |
Retransmits |
Displays the total number of OSPF retransmits transmitted on all OSPF enabled interfaces |
Discards |
Displays the total number of OSPF packets discarded on all OSPF enabled interfaces |
Bad Networks |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with invalid network or mask |
Bad Virt Links |
Displays the total number of OSPF packets received on all OSPF enabled interfaces that are destined to a virtual link that does not exist |
Bad Areas |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with an area mismatch |
Bad Dest Addrs |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with the incorrect IP destination address |
Bad Auth Types |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization type |
Auth Failures |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization key |
Bad Neighbors |
Displays the total number of OSPF packets received on all OSPF enabled interfaces where the neighbor information does not match the information this router has for the neighbor |
Bad Pkt Types |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with an invalid OSPF packet type |
Bad Lengths |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with a total length not equal to the length specified in the packet |
Bad Hello Int. |
Displays the total number of OSPF packets received on all OSPF enabled interfaces where the hello interval specified in the packet was not equal to that configured for the respective interface |
Bad Dead Int. |
Displays the total number of OSPF packets received on all OSPF enabled interfaces where the dead interval specified in the packet was not equal to that configured for the respective interface |
Bad Options |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with an option that does not match those configured for the respective interface or area |
Bad Versions |
Displays the total number of OSPF packets received on all OSPF enabled interfaces with bad OSPF version numbers |
status
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays the general status of OSPF or OSPFv3.
The following output is an example of OSPF status information, and Table: Output fields: OSPF status describes the output fields.
Sample outputA:ALA-A# show router ospf status
===============================================================================
OSPF Status
===============================================================================
OSPF Router Id : 10.13.7.165
OSPF Version : 2
OSPF Admin Status : Enabled
OSPF Oper Status : Enabled
Graceful Restart : Enabled
GR Helper Mode : Disabled
Preference : 10
External Preference : 150
Backbone Router : True
Area Border Router : True
AS Border Router : True
Opaque LSA Support : True
Traffic Engineering Support : True
RFC 1583 Compatible : True
TOS Routing Support : False
Demand Exts Support : False
In Overload State : False
In External Overflow State : False
Exit Overflow Interval : 0
Last Overflow Entered : Never
Last Overflow Exit : Never
External LSA Limit : -1
Reference Bandwidth : 100,000,000 Kbps
Init SPF Delay : 500 msec
Sec SPF Delay : 2000 msec
Max SPF Delay : 15000 msec
Min LS Arrival Interval : 500 msec
Max LSA Gen Delay : 5000 msec
Last Ext SPF Run : Never
Ext LSA Cksum Sum : 0x2afce
OSPF Last Enabled : 05/23/2006 23:34:36
Export Policies : export-static
Import Policies : None
Lfa Policies : pol1
: pol2
: pol3
: pol4
: pol5
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
OSPF Router Id |
Displays a 32-bit integer uniquely identifying the router in the autonomous system. The defaults is the system IP address, or if not configured, the 32 least significant bits of the system MAC address. |
OSPF Version |
Displays the current version number of the OSPF protocol is 2 |
OSPF Admin Status |
Disabled — Specifies that the OSPF process is disabled on all interfaces. Enabled — Specifies that the OSPF process is active on at least one interface |
OSPF Oper Status |
Disabled — Specifies that the OSPF process is not operational on all interfaces. Enabled — Specifies that the OSPF process is operational on at least one interface |
Preference |
Displays the route preference for OSPF internal routes |
External Preference |
Displays the route preference for OSPF external routes |
Backbone Router |
False — This variable indicates that this router is not configured as an OSPF back bone router True — This variable indicates that this router is configured as an OSPF back bone router |
Area Border Router |
False — This router is not an area border router True — This router is an area border router |
AS Border Router |
False — This router is not configured as an autonomous system border router True — This router is configured as an autonomous system border router |
OSPF Ldp Sync Admin Status |
Indicates whether the IGP-LDP synchronization feature is enabled or disabled on all interfaces participating in the OSPF routing protocol. |
Export Policies |
Displays the export policies currently in use |
Import Policies |
Displays the import policies currently in use |
LFA Policies |
Displays the LFA policies currently in use |
virtual-link [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays information for OSPF or OSPFv3 virtual links.
Displays operational and statistical information about virtual links associated with this router.
The following output is an example of OSPF virtual link information, and Table: Output fields: OSPF virtual link describes the output fields.
Sample outputA:ALA-A# show router ospf virtual-link
=================================================================
OSPF Virtual Links
=================================================================
Nbr Rtr Id Area Id Local Interface Metric State
-----------------------------------------------------------------
180.0.0.10 0.0.0.1 180.1.7.12 300 PToP
180.0.0.10 0.0.0.2 180.2.7.12 300 PToP
-----------------------------------------------------------------
No. of OSPF Virtual Links: 2
=================================================================
A:ALA-A#
A:ALA-A# show router ospf virtual-link detail
===============================================================================
OSPF Virtual Links (detailed)
===============================================================================
Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Nbr Router Id : 180.0.0.10 Area Id : 0.0.0.1
Local Interface: 180.1.7.12 Metric : 300
State : Point To Point Admin State : Up
Hello Intrvl : 10 sec Rtr Dead Intrvl: 60 sec
Tot Rx Packets : 43022 Tot Tx Packets : 42964
Rx Hellos : 24834 Tx Hellos : 24853
Rx DBDs : 3 Tx DBDs : 2
Rx LSRs : 0 Tx LSRs : 0
Rx LSUs : 15966 Tx LSUs : 16352
Rx LS Acks : 2219 Tx LS Acks : 1757
Retransmits : 0 Discards : 0
Bad Networks : 0 Bad Versions : 0
Bad Areas : 0 Bad Dest Addrs : 0
Bad Auth Types : 0 Auth Failures : 0
Bad Neighbors : 0 Bad Pkt Types : 0
Bad Lengths : 0 Bad Hello Int. : 0
Bad Dead Int. : 0 Bad Options : 0
Retrans Intrvl : 5 sec Transit Delay : 1 sec
Last Event : 11/07/2006 17:11:56 Authentication : None
-------------------------------------------------------------------------------
Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Nbr Router Id : 180.0.0.10 Area Id : 0.0.0.2
Local Interface: 180.2.7.12 Metric : 300
State : Point To Point Admin State : Up
Hello Intrvl : 10 sec Rtr Dead Intrvl: 60 sec
Tot Rx Packets : 43073 Tot Tx Packets : 43034
Rx Hellos : 24851 Tx Hellos : 24844
Rx DBDs : 3 Tx DBDs : 2
Rx LSRs : 1 Tx LSRs : 1
Rx LSUs : 18071 Tx LSUs : 17853
Rx LS Acks : 147 Tx LS Acks : 334
Retransmits : 0 Discards : 0
Bad Networks : 0 Bad Versions : 0
Bad Areas : 0 Bad Dest Addrs : 0
Bad Auth Types : 0 Auth Failures : 0
Bad Neighbors : 0 Bad Pkt Types : 0
Bad Lengths : 0 Bad Hello Int. : 0
Bad Dead Int. : 0 Bad Options : 0
Retrans Intrvl : 5 sec Transit Delay : 1 sec
Last Event : 11/07/2006 17:12:00 Authentication : MD5
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Nbr Rtr ID |
Displays the router IDs of neighboring routers |
Area Id |
Displays a 32-bit integer that identifies an area |
Local Interface |
Displays the IP address of the local egress interface used to maintain the adjacency to reach this virtual neighbor |
Metric |
Displays the metric value associated with the route. This value is used when importing this static route into other protocols. When the metric is configured as zero, the metric configured in OSPF, default-import-metric, applies. This value is also used to determine which static route to install in the forwarding table. |
State |
Displays the operational state of the virtual link to the neighboring router |
Authentication |
Specifies whether authentication is enabled for the interface or virtual link |
Hello Intrval |
Displays the length of time, in seconds, between the Hello packets that the router sends on the interface. |
Rtr Dead Intrvl |
Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since the OSPF admin status was enabled |
Tot Rx Packets |
Displays the total number of OSPF packets received on this interface since the OSPF admin status was enabled |
Rx Hellos |
Displays the total number of OSPF Hello packets received on this interface since the OSPF admin status was enabled |
Rx DBDs |
Displays the total number of OSPF database description packets received on this interface since the OSPF administrative status was enabled |
Rx LSRs |
Displays the total number of link state requests (LSRs) received on this interface since the OSPF admin status was enabled |
Rx LSUs |
Displays the total number of link state updates (LSUs) received on this interface since the OSPF admin status was enabled |
Rx LS Acks |
Displays the total number of link state acknowledgments received on this interface since the OSPF admin status was enabled |
Tot Tx Packets |
Displays the total number of OSPF packets transmitted on this virtual interface since it was created |
Tx Hellos |
Displays the total number of OSPF Hello packets transmitted on this virtual interface since it was created |
Tx DBDs |
Displays the total number of OSPF database description packets transmitted on this virtual interface |
Tx LSRs |
Displays the total number of OSPF link state requests (LSRs) transmitted on this virtual interface |
Tx LSUs |
Displays the total number of OSPF Hello packets transmitted on this interface since the OSPF admin status was enabled |
Tx LS Acks |
Displays the total number of OSPF link state acknowledgments (LSA) transmitted on this virtual interface |
Retransmits |
Displays the total number of OSPF retransmits sent on this interface since the OSPF admin status was last enabled |
Discards |
Displays the total number of OSPF packets discarded on this interface since the OSPF admin status was last enabled |
Bad Networks |
Displays the total number of OSPF packets received with invalid network or mask since the OSPF admin status was last enabled |
Bad Versions |
Displays the total number of OSPF packets received with bad OSPF version numbers since the OSPF admin status was last enabled |
Bad Areas |
Displays the total number of OSPF packets received with an area mismatch since the OSPF admin status was last enabled |
Bad Dest Addrs |
Displays the total number of OSPF packets received with the incorrect IP destination address since the OSPF admin status was last enabled |
Bad Auth Types |
Displays the total number of OSPF packets received with an invalid authorization type since the OSPF admin status was last enabled |
Auth Failures |
Displays the total number of OSPF packets received with an invalid authorization key since the OSPF admin status was last enabled |
Bad Neighbors |
Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled |
Bad Pkt Types |
Displays the total number of OSPF packets received with an invalid OSPF packet type since the OSPF admin status was last enabled |
Bad Lengths |
Displays the total number of OSPF packets received on this interface with a total length not equal to the length specified in the packet since the OSPF admin status was last enabled |
Bad Hello Int. |
Displays the total number of OSPF packets received where the hello interval specified in packet was not equal to that configured on this interface since the OSPF admin status was last enabled |
Bad Dead Int. |
Displays the total number of OSPF packets received where the dead interval specified in the packet was not equal to that configured on this interface since the OSPF admin status was last enabled |
Bad Options |
Displays the total number of OSPF packets received with an option that does not match those configured for this interface or area since the OSPF admin status was last enabled |
Retrans Intrvl |
Displays the length of time, in seconds, that OSPF waits before retransmitting an unacknowledged link state advertisement (LSA) to an OSPF neighbor |
Transit Delay |
Displays the time, in seconds, that it takes to transmit a link state advertisement (LSA) on the interface or virtual link |
Last Event |
Displays the date and time when an event was last associated with this OSPF interface |
virtual-neighbor [remote router-id] [detail]
show>router>ospf
show>router>ospf3
Supported on all 7210 SAS platforms as described in this document
This command displays virtual neighbor information.
Displays the specified router ID. This reduces the amount of output displayed.
Produces detailed information about the virtual neighbor. This option produces a large amount of data. Nokia recommends to use detail only when requesting information for a specific neighbor.
The following output is an example of OSPF virtual neighbor information, and Table: Output fields: OSPF virtual neighbor describes the output fields.
Sample outputA:ALA-A# show router ospf virtual-neighbor
===============================================================================
OSPF Virtual Neighbors
===============================================================================
Nbr IP Addr Nbr Rtr Id Nbr State Transit Area RetxQ Len Dead Time
-------------------------------------------------------------------------------
180.1.6.10 180.0.0.10 Full 0.0.0.1 0 58
180.2.9.10 180.0.0.10 Full 0.0.0.2 0 52
-------------------------------------------------------------------------------
No. of Neighbors: 2
===============================================================================
A:ALA-A#
A:ALA-A# show router ospf virtual-neighbor detail
===============================================================================
OSPF Virtual Neighbors
===============================================================================
Virtual Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Neighbor IP Addr : 180.1.6.10 Neighbor Rtr Id : 180.0.0.10
Neighbor State : Full Transit Area : 0.0.0.1
Retrans Q Length : 0 Options : -E--
Events : 4 Last Event Time : 11/07/2006 17:11:56
Up Time : 2d 17:47:17 Time Before Dead : 57 sec
Bad Nbr States : 1 LSA Inst fails : 0
Bad Seq Nums : 0 Bad MTUs : 0
Bad Packets : 0 LSA not in LSDB : 0
Option Mismatches: 0 Nbr Duplicates : 0
-------------------------------------------------------------------------------
Virtual Neighbor Router Id : 180.0.0.10
-------------------------------------------------------------------------------
Neighbor IP Addr : 180.2.9.10 Neighbor Rtr Id : 180.0.0.10
Neighbor State : Full Transit Area : 0.0.0.2
Retrans Q Length : 0 Options : -E--
Events : 4 Last Event Time : 11/07/2006 17:11:59
Up Time : 2d 17:47:14 Time Before Dead : 59 sec
Bad Nbr States : 1 LSA Inst fails : 0
Bad Seq Nums : 0 Bad MTUs : 0
Bad Packets : 0 LSA not in LSDB : 0
Option Mismatches: 0 Nbr Duplicates : 0
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Nbr IP Addr |
Displays the IP address this neighbor is using in its IP source address. Note that, on links with no address, this will not be 0.0.0.0, but the address of another of neighbor interface. |
Nbr Rtr ID |
Displays the router IDs of neighboring routers |
Transit Area |
Displays the transit area ID that links the backbone area with the area that has no physical connection with the backbone |
Retrans Q Length |
Displays the current length of the retransmission queue |
No. of Neighbors |
Displays the total number of OSPF neighbors adjacent on this interface, in a state of INIT or greater, since the OSPF admin status was enabled |
Nbr State |
Displays the operational state of the virtual link to the neighboring router |
Options |
Displays the total number of OSPF packets received with an option that does not match those configured for this virtual interface or transit area since the OSPF admin status was enabled |
Events |
Displays the total number of events that have occurred since the OSPF admin status was enabled |
Last Event Time |
Displays the date and time when an event was last associated with this OSPF interface |
Up Time |
Displays the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up |
Time Before Dead |
Displays the amount of time, in seconds, until the dead router interval expires |
Bad Nbr States |
Displays the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled |
LSA Inst fails |
Displays the total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since the OSPF admin status was last enabled |
Bad Seq Nums |
Displays the total number of times when a database description packet was received with a sequence number mismatch since the OSPF admin status was last enabled |
Bad MTUs |
Displays the total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since the OSPF admin status was enabled. |
Bad Packets |
Displays the total number of times when an LS update was received with an illegal LS type or an option mismatch since the OSPF admin status was enabled |
LSA not in LSDB |
Displays the total number of times when an LS request was received for an LSA not installed in the LSDB of this router since the OSPF admin status was enabled |
Option Mismatches |
Displays the total number of times when a LS update was received with an option mismatch since the OSPF admin status was enabled |
Nbr Duplicates |
Displays the total number of times when a duplicate database description packet was received during the exchange state since the OSPF admin status was enabled |