Huawei router OSPF Protocol configuration command (1)

Source: Internet
Author: User

4.7.26 show ip ospf database
Display OSPF connection status database information

Show ip ospf database

Command mode]

Privileged user mode

User Guide]

Based on the output information of this command, you can view information about the OSPF connection status database, which helps you diagnose faults.

Example]

Quidway (config) # show ip ospf database

Link Status database:

Region: 0.0.0.0

Type link status identifier generation vro time length serial number location

Rtr 1.1.1.1 1.1.1.1 1613 24 8001_a 0 SpfTree

SNet 202.38.160.0 1.1.1.1 1454 28 80000005 1 Inter List

Region: 0.0.0.1

Type link status identifier generation vro time length serial number location

Rtr 1.1.1.1 1.1.1.1 1613 24 80000005 0 SpfTree

SNet 202.38.160.0 1.1.1.1 1454 28 80000005 1 Inter List

4.7.27 show ip ospf error
Displays OSPF error messages.

Show ip ospf error

Command mode]

Privileged user mode

User Guide]

The command output helps you diagnose OSPF faults.

Example]

Quidway (config) # show ip OS error

OSPF Packet error statistics:

0: IP: bad destination 0: IP: bad protocol

0: IP: received my own packet 0: OSPF: bad packet type

0: OSPF: bad version 0: OSPF: bad checksum

0: OSPF: bad area id 0: OSPF: area mismatch

5: OSPF: bad virtual link 0: OSPF: bad authentication type

0: OSPF: bad authentication key 0: OSPF: packet too small

0: OSPF: packet size $ # @ 62; ip length 0: OSPF: transmit error

0: OSPF: interface down 0: OSPF: unknown neighbor

0: HELLO: netmask mismatch 0: HELLO: hello timer mismatch

0: HELLO: dead timer mismatch 0: HELLO: extern option mismatch

<: HELLO: router id confusion 0: HELLO: virtual neighbor unknown

0: HELLO: NBMA neighbor unknown 0: DD: neighbor state low

0: DD: router id confusion 0: DD: extern option mismatch

0: DD: unknown LSA type 0: ls ack: neighbor state low

0: ls ack: bad ack 0: ls ack: duplicate ack

0: ls ack: Unknown LSA type 0: ls req: neighbor state low

0: ls req: empty request 0: ls req: bad request

0: ls upd: neighbor state low 0: ls upd: newer self-gen LSA

0: ls upd: LSA checksum bad 0: ls upd: Completed ed less recent LSA

0: ls upd: unknown LSA type

4.7.28 show ip ospf interface
Displays OSPF interface information.

Show ip ospf interface-type interface-number

Parameter description]

Interface-type is the interface type.

Interface-number is the interface number.

Command mode]

Privileged user mode

User Guide]

Based on the command output information, check the OSPF configuration and running status on the interface. You can confirm whether the configuration is correct and perform OSPF fault diagnosis.

Example]

QuidWay (config) # show ip ospf interface serial 1

Interface: 202.38.160.1 (Ethernet0)

Overhead: 1 Status: DR type: Broadcast

Priority: 1

Election router (DR): 202.38.160.1

Allow DoNotAge lsa

Verification word: None

Timer cycle: Hello: 10 Poll: 0 Dead: 40 Retrans: 5

4.7.29 show ip ospf lsa
Displays detailed information about the OSPF connection status database.

Show ip ospf lsa

Command mode]

Privileged user mode

User Guide]

The output information of this command can help you diagnose OSPF faults.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.