show status ospf

OSPFの動作状況を参照する

show status ospf.route

OSPFの経路情報を参照する

コマンドの書式

show status ospf.route

出力例:

Destination        Gateway          Interface Type    From(ID)          Cost
172.16.1.0/24      -                vlan2     Network 10.4.0.5             1
172.16.2.0/24      -                vlan3     Network 10.4.0.42          120
10.4.0.5           172.16.1.5       vlan2     Area/AS 10.4.0.5             1
10.4.99.0/24       172.16.1.5       vlan2     Network 10.4.0.5            20

説明

項目 項目の意味
Destination 宛先ネットワーク又は Router-LSA の Link-State ID
Gateway

ゲートウェイアドレス またはPoint to Pointインタフェース(ipsec, ppp, pppoe)

Interface インタフェース名
Type 経路を学習したルータの種別
ASBR
AS境界ルータ
ABR
Area境界ルータ
Area/AS
ABRかつASBR
Network
ネットワークルータ
Discard
Discard経路
From(ID) 経路生成元のルータID
Cost 経路のコスト値(External Type2の場合は経路生成元で付与された値)

show status ospf.route.detail

OSPFの経路情報の詳細を参照する

コマンドの書式

show status ospf.route.detail

出力例:

Destination        Gateway          Interface Type    From(ID)          Cost
172.16.1.0/24      -                vlan2     Network 10.4.0.5             1
                   Area 0.0.0.0, Path Intra
172.16.2.0/24      -                vlan3     Network 10.4.0.42          120
                   Area 0.0.0.1, Path Intra
10.4.0.5           172.16.1.5       vlan2     Area/AS 10.4.0.5             1
                   Area 0.0.0.0, Path Intra
10.4.99.0/24       172.16.1.5       vlan2     Network 10.4.0.5            20
                   Path Ext2, Tag 0

説明

項目 項目の意味
Destination 宛先ネットワーク又は Router-LSA の Link-State ID
Gateway

ゲートウェイアドレス またはPoint to Pointインタフェース(ipsec, ppp, pppoe)

Interface インタフェース名
Type 経路を学習したルータの種別
ASBR
AS境界ルータ
ABR
Area境界ルータ
Area/AS
ABRかつASBR
Network
ネットワークルータ
Discard
Discard経路
From(ID) 経路生成元のルータID
Cost 経路のコスト値(External Type2の場合は経路生成元で付与された値)
Area エリア
Path
Inter
Inter Area(エリア間経路)
Intra
Intra Area(エリア内経路)
Ext1
External Type1
Ext2
External Type2
Tag External Router Tag

show status ospf.neighbor

OSPFの近接ルータ情報を参照する

コマンドの書式

show status ospf.neighbor

出力例:

Neighbor ID     Pri State           Dead Time Address         Interface
10.4.0.5          1 Full/DR          00:00:38 172.16.1.5      vlan2

説明

項目 項目の意味
Neighbor ID 隣接ルータのルータID
Pri プライオリティ
State 隣接ルータの状態/インタフェースの状態
隣接ルータの状態
Down, Attempt, Init, 2-Way, ExStart?, Exchange, Loading, Full
インタフェースの状態
Down, Loopback, Waiting, Point-To-Point, DROther, Backup, DR
Dead Time Dead Time(sec)
Address IPアドレス情報
Interface インタフェース情報

show status ospf.neighbor.detail

OSPFの近接ルータ情報の詳細を参照する

コマンドの書式

show status ospf.neighbor.detail

出力例:

Neighbor ID     Pri State           Dead Time Address         Interface
10.4.0.5          1 Full/DR          00:00:33 172.16.1.5      vlan2   
   Area 0.0.0.0, DR-addr 172.16.1.5, BDR-addr 172.16.1.42
   Up 22h17m34s, State-chg 6
   RXmtL 0, RqstL 0, DBsmL 0

説明

項目 項目の意味
Neighbor ID 隣接ルータのルータID
Pri プライオリティ
State 隣接ルータの状態/インタフェースの状態
隣接ルータの状態
Down, Attempt, Init, 2-Way, ExStart?, Exchange, Loading, Full
インタフェースの状態
Down, Loopback, Waiting, Point-To-Point, DROther, Backup, DR
Dead Time Dead Time(sec)
Address IPアドレス情報
Interface インタフェース情報
Area

エリア情報

DR-addr DRアドレス
BDR-addr BDRアドレス
Priority プライオリティ
Up 最近の状態遷移からの時間
State-chg 状態遷移回数
RXmitL Link State Retransmission Count
RqstL Link State Request Count
DBsmL Database Summary Count

show status ospf.interface

OSPFのインタフェース情報を参照する

コマンドの書式

show status ospf.interface

出力例:

Interface        Area             Cost State    DR(ID)          BDR(ID)       
vlan2            0.0.0.0             1 Backup   10.4.0.5        10.4.0.42      
vlan3            0.0.0.1           120 DROther  -               -

説明

項目 項目の意味
Interface インタフェース名
Area

所属エリア

Cost OSPFコスト値
State
DR
Designated Router
DROther
DRまたはBDRではない状態
Backup
Backup Designated Router
PtoP
Point to Point
Waiting
待機状態
DR(ID) DRのルータID
BDR(ID) BDRのルータID

show status ospf.interface.detail

OSPFのインタフェース情報の詳細を参照する

コマンドの書式

show status ospf.interface.detail

出力例:

Interface        Area             Cost State    DR(ID)          BDR(ID)       
vlan2            0.0.0.0             1 Backup   10.4.0.5        10.4.0.42      
   Type BROADCAST, Address 172.16.1.42/24
   DR-addr 172.16.1.5, BDR-addr 172.16.1.42, Nbr-count 1, Adj-count 1
   TransmitDelay 1, Priority 1
   HelloTimer 10, DeadTimer 40, WaitTimer 40, Retransmit 5
   HelloDueIn 4.000s
vlan3            0.0.0.1           120 DROther  -               -              
   Type BROADCAST, Address 172.16.2.42/24
   DR-addr -, BDR-addr -, Nbr-count 0, Adj-count 0
   TransmitDelay 3, Priority 0
   HelloTimer 12, DeadTimer 42, WaitTimer 42, Retransmit 7
   HelloDueIn (Passive interface)

説明

項目 項目の意味
Interface インタフェース名
Area

所属エリア

Cost OSPFコスト値
State
DR
Designated Router
DROther
DRまたはBDRではない状態
Backup
Backup Designated Router
PtoP
Point to Point
Waiting
待機状態
DR(ID) DRのルータID
BDR(ID) BDRのルータID
Type インタフェースの種別

BROADCAST, POINTOPOINT, NBMA, POINTOMULTIPOINT, VIRTUALLINK, LOOPBACK

Address アドレス, ネットマスク長
DR-addr ステート
BDR-addr BDRのアドレス
Nbr-count Neighborの総数
Adj-count Adjecencyの総数
TransmitDelay OSPFパケットを送信するのに必要な遅延時間(sec)
Priority Routerプライオリティ値
HelloTimer Helloインターバル(sec)
DeadTimer Deadインターバル(sec)
WaitTimer Interfaceが Waiting状態から抜けるまでのタイマ(sec)
Retransmit LSA再送までの待ち時間(sec)

show status ospf.database

OSPFのLSDB情報を参照する

コマンドの書式

show status ospf.database

出力例:

       OSPF Router with ID (10.4.0.42)
                Router Link States (Area 0.0.0.0)
Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.4.0.5        10.4.0.5        1164 0x8000012b 0xf583 1
10.4.0.42       10.4.0.42       1152 0x80000183 0xfab6 1
                Net Link States (Area 0.0.0.0)
Link ID         ADV Router      Age  Seq#       CkSum
172.16.1.5      10.4.0.5        1164 0x8000002d 0x53b9
                Router Link States (Area 0.0.0.1)
Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.4.0.42       10.4.0.42       1741 0x80000031 0x6711 1
                AS External Link States
Link ID         ADV Router      Age  Seq#       CkSum  Route
0.0.0.0         10.4.0.42        735 0x800000ef 0x0699 E2 0.0.0.0/0 [0x0]
10.3.0.0        10.4.0.42       1145 0x80000151 0x9996 E2 10.3.0.0/24 [0x0]
10.4.5.0        10.4.0.42       1415 0x80000151 0xd2d7 E1 10.4.5.0/24 [0x0]
10.4.10.20      10.4.0.42       1655 0x8000002d 0x5d20 E1 10.4.10.20/30 [0x0]
10.4.10.25      10.4.0.42        975 0x8000002f 0x393a E1 10.4.10.25/32 [0x0]
10.4.99.0       10.4.0.5        1101 0x800000fd 0x211c E2 10.4.99.0/24 [0x0]
10.4.100.0      10.4.0.42        655 0x80000148 0x4f84 E2 10.4.100.0/24 [0x0]
10.4.105.0      10.4.0.42        895 0x80000149 0x16b7 E2 10.4.105.0/24 [0x0]
10.4.129.0      10.4.0.42        935 0x80000151 0xfcb0 E2 10.4.129.0/24 [0x0]

show status ospf.database.detail

OSPFのLSDB情報の詳細を参照する

コマンドの書式

show status ospf.database.detail

出力例:

              Router Link States (Area 0.0.0.0)
LS age: 1199
Options: 0x2  : *|-|-|-|-|-|E|*
LS Flags: 0x6 
Flags: 0x3 : ABR ASBR
LS Type: router-LSA
Link State ID: 10.4.0.5
Advertising Router: 10.4.0.5
LS Seq Number: 8000012b
Checksum: 0xf583
Length: 36
 Number of Links: 1
  Link connected to: a Transit Network
   (Link ID) Designated Router address: 172.16.1.5
   (Link Data) Router Interface address: 172.16.1.5
    Number of TOS metrics: 0
     TOS 0 Metric: 1
 
LS age: 1187
Options: 0x2  : *|-|-|-|-|-|E|*
LS Flags: 0x3 
Flags: 0x3 : ABR ASBR
LS Type: router-LSA
Link State ID: 10.4.0.42
Advertising Router: 10.4.0.42
LS Seq Number: 80000183
Checksum: 0xfab6
Length: 36
 Number of Links: 1
  Link connected to: a Transit Network
   (Link ID) Designated Router address: 172.16.1.5
   (Link Data) Router Interface address: 172.16.1.42
    Number of TOS metrics: 0
     TOS 0 Metric: 1
              Router Link States (Area 0.0.0.1)
...