Display OSPF Peer Command Explanation | Generated by AI
Question: In Huawei routers, which command is used to display the current OSPF neighbor table?
A) display ospf peer
B) display ospf neighbor
C) display ospf interface
D) display ospf routing-table
Answer:
The correct answer is A) display ospf peer.
In Huawei routers and switches, the command display ospf peer is used to display the OSPF neighbor table, showing details such as neighbor router IDs, states (e.g., Full), interfaces, priorities, and dead timers.
display ospf neighboris not a valid command in Huawei devices.display ospf interfaceshows information about OSPF-enabled interfaces, not the neighbor table.display ospf routing-table(ordisplay ospf routing) displays the OSPF routing table, not neighbors.
References:
- Huawei Support: display ospf peer (various models)
- Huawei Support: Troubleshooting OSPF neighbor issues
- Huawei Command Reference Examples