
動作確認
基本構文
router01
rrouter02
r状態確認
show ospf
RP/0/RP0/CPU0:router01#show ospf
Wed Dec 24 18:43:35.541 UTC
Routing Process "ospf OSPF-1" with ID 10.255.0.1
Role: Primary Active
NSR (Non-stop routing) is Enabled
Supports only single TOS(TOS0) routes
Supports opaque LSA
Maximum number of non self-generated LSA allowed 500000
Current number of non self-generated LSA 10
Threshold for warning message 75%
Ignore-time 5 minutes, reset-time 10 minutes
Ignore-count allowed 5, current ignore-count 0
Maximum number of external prefixes per router 50000 (suppress-neighbor)
Warning threshold 75%
Maximum Exchange time 10 Hold time 5 Max Recovery count 300
Router is not originating router-LSAs with maximum metric
Initial SPF schedule delay 50 msecs
Minimum hold time between two consecutive SPFs 200 msecs
Maximum wait time between two consecutive SPFs 5000 msecs
Initial LSA throttle delay 50 msecs
Minimum hold time for LSA throttle 200 msecs
Maximum wait time for LSA throttle 5000 msecs
Minimum LSA interval 200 msecs. Minimum LSA arrival 100 msecs
LSA refresh interval 1800 seconds
Flood pacing interval 33 msecs. Retransmission pacing interval 66 msecs
Adjacency stagger enabled; initial (per area): 2, maximum: 64
Number of neighbors forming: 0, 2 full
Maximum number of configured interfaces 1024
Number of external LSA 1. Checksum Sum 0x0027a3
Number of opaque AS LSA 0. Checksum Sum 00000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
SNMP trap is enabled
LSD not connected, revision 0
Segment Routing Global Block default (16000-23999), not allocated
Segment Routing Local Block, unknown
Segment Routing prefix-sid-map, Advertise local: Disabled, Receive remote: Disabled
Strict-SPF capability is enabled
Area BACKBONE(0)
Number of interfaces in this area is 3
SPF algorithm executed 14 times
Number of LSA 10. Checksum Sum 0x04cc8a
Number of opaque link LSA 0. Checksum Sum 00000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Number of LFA enabled interfaces 0, LFA revision 0
Number of Per Prefix LFA enabled interfaces 0
Number of neighbors forming in staggered mode 0, 2 fullshow ospf neighbor
RP/0/RP0/CPU0:router01#show ospf neighbor
Wed Dec 24 18:42:46.562 UTC
* Indicates MADJ interface
# Indicates Neighbor awaiting BFD session up
Neighbors for OSPF OSPF-1
Neighbor ID Pri State Dead Time Address Interface
10.255.0.2 1 FULL/ - 00:00:33 10.254.1.2 GigabitEthernet0/0/0/0
Neighbor is up for 05:08:27
10.255.0.3 1 FULL/ - 00:00:33 10.254.3.2 GigabitEthernet0/0/0/1
Neighbor is up for 05:08:23
Total neighbor count: 2show ospf interface brief
RP/0/RP0/CPU0:router01#show ospf interface brief
Wed Dec 24 18:44:09.327 UTC
* Indicates MADJ interface, (P) Indicates fast detect hold down state
Interfaces for OSPF OSPF-1
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 OSPF-1 0 10.255.0.1/32 1 LOOP 0/0
Gi0/0/0/0 OSPF-1 0 10.254.1.1/24 100 P2P 1/1
Gi0/0/0/1 OSPF-1 0 10.254.3.1/24 100 P2P 1/1show ospf database
RP/0/RP0/CPU0:router01#show ospf database
Wed Dec 24 18:46:23.888 UTC
OSPF Router with ID (10.255.0.1) (Process ID OSPF-1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
10.255.0.1 10.255.0.1 495 0x8000000f 0x00effd 5
10.255.0.2 10.255.0.2 445 0x8000000d 0x008a63 5
10.255.0.3 10.255.0.3 463 0x8000000f 0x00f8eb 5
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.254.4.0 10.255.0.2 1449 0x8000000a 0x005a5c
10.254.5.0 10.255.0.3 1478 0x8000000a 0x00496b
10.255.0.4 10.255.0.2 445 0x80000007 0x006255
10.255.0.5 10.255.0.3 463 0x80000007 0x005263
10.255.0.6 10.255.0.3 463 0x80000007 0x00486c
192.168.1.0 10.255.0.2 1449 0x8000000a 0x004a0e
Summary ASB Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.255.0.6 10.255.0.3 463 0x80000007 0x003084
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
192.168.2.0 10.255.0.6 257 0x80000007 0x00a327 65001
