21. routerid
Configure the ID number of the OSPF router. The norouterid command cancels the ID number of the router.
Routeridrouter_id
[No] routerid
Parameter description: router_id is the ID of the router, in decimal format.
Default: The system does not configure the router ID. During the operation, select one of the IP addresses of each interface as the router ID.
Command mode: global configuration mode
User Guide: the ID number of the vro required during OSPF operation, which is the unique identifier of the vro in the autonomous system. If no IP address is configured on all router interfaces, you must use this command to specify the ID of the router. Otherwise, the OSPF Protocol cannot run. The change in the router ID number takes effect only after OSPF is restarted.
Example: configure the vroidid as 10.1.1.3.
Quidway (config) # routerid10.1.1.3
Related commands: routerospfenable
22. showipospf
Display main OSPF information showipospf
Command mode: privileged user mode
User Guide: Outputs Information Based on this command to help you diagnose OSPF faults.
Example: Quidway (config) # showipospf
Vroid ID: 1.1.1.1 VBR: Region
Route Selection priority: intra-region/Inter-region: 10 External: 150
Default ASE parameter: Overhead: 1 mark: 0 Path :( 0) 0EGP type: 2
SPF count: 9
Region 0.0.0.0:
Verification type: no flag: $ # @ 60; $ # @ 62;
Minimum tree computing time sequence: $ # @ 60; $ # @ 62;
AS border routing:
Area border routing:
1.1.1.1 area 0.0.0.0 overhead 0 generate vro1.1.1.1.1.1
Region 0.0.0.1:
Verification type: no flag: $ # @ 60; $ # @ 62;
Minimum tree computing time sequence: $ # @ 60; $ # @ 62;
AS border routing:
Area border routing:
1.1.1.1 area 0.0.0.1 overhead 0 generate vro1.1.1.1.1.1
AS border routing:
Area border routing:
1.1.1.1 area 0.0.0.2 overhead 0 generate vro1.1.1.1.1.1
23. showipospfase
Display OSPF external route information showipospfase
Command mode: privileged user mode
User Guide: Based on the command output information, you can view the external routing introduced by OSPF.
Example: QuidWay (config) # showipospfase
Destination Address generation vro next hop address length serial number type cost
100.1.1.11.1.1.11.1.1.112520.000000114
24. showipospfcumulative
Display OSPF statistics showipospfcumulative
Command mode: privileged user mode
User Guide: helps you diagnose OSPF Faults Based on the output information of this command.
Example: Quidway (config) # showipospfcumulative
IO statistics
Type Input and Output
Hello806884
DBDescription01593
Link-StateReq00
Link-StateUpdate00
Link-StateAck00
Number of ASE: 0 checksum: 0
Number of LSAs generated: 42 Number of LSAs Received: 0 Router: 25 SumNet: 17
Region 0.0.0.0:
Number of neighboring Routers: 0 interfaces: 0
Spf count: 3 All LSA checksum and EEE8
LSA count: rtr: 1net: 0 sumasb: 0 sumnet: 1
Region 0.0.0.1:
Number of neighboring Routers: 0 interfaces: 0
Spf calculation count: 2 All LSA checksum F8E3
LSA count: rtr: 1net: 0 sumasb: 0 sumnet: 1
Route table:
Area: 0 areas: 1 External: 0