助け合いフォーラム

Cisco

CCNA(200-301)
問題ID : 8242
問題を開く
上記設定を行った場合、ルータIDとDR/BDRはどのようになるか(3つ選択)

この問題はプレミアムコンテンツです。

上に戻る

ルータIDの決定タイミング

投稿日 2024/08/15

本問題の画像に存在するR1にて、router ospf 1の後にルータIDをコマンドで設定しています。
つまりプロセスの起動後からルータIDの決定までの間に、コマンドを投入できるほどの時間が存在しているのでしょうか。
OSPF有効化後にルータIDを宣言した場合は再起動が必要な認識で、それと矛盾しているように感じています。

2024/08/15 20:33

「コマンドで設定」という点を気にされているかと思いますが、コマンド投入って手入力だけじゃなくてターミナルに張り付ける形だったりもあるので、必ずしも手入力のように投入するコマンド間に無視できないほどの時間が存在するわけではないんですよね。

単純に「こういう設定を入れた」という受け取り方でも良いと思いますよ。


コメント

c chibaseiya

2025/08/02 10:40

router ospf 1 は起動のみ。 ip ospf 1 area 0 からがospf有効では?

a arashi1977

2025/08/02 11:11

`network` で対象になった場合も有効になりますが、そういう話ではないですかね?

この返信に対して
コメントを記入できます

2025/07/25 14:56

この問題に直面してすっごくもやもやしています・・。再起動してないんだからルーターIDは変わってないよねぇ・・!?
AIに聞いてもそれが正しいと言われ・・まぁ問題なんだから書いてない以上そう認識すべきなんだろうけども・・・・・。


コメント

この返信に対して
コメントを記入できます

2025/07/25 20:31

1つコマンド投入して、何らか状態が安定するまで次のコマンドを打たない、という運用を想定されているのであればそのモヤモヤも妥当だとは思うのですが、大体にコマンドってだーっと打っていくかコピペするかなんですよね。

ちなみにどんなもんか手入力でチャレンジしてみましたが、この程度ならルータIDは 1.1.1.1 になるみたいですね。

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gi0/0
Router(config-if)#no shut
Router(config-if)#
*Jul 25 11:29:28.513: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*Jul 25 11:29:29.513: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ip addr 192.168.1.1 255.255.255.0
Router(config-if)#router ospf 1
Router(config-router)#net 192.168.1.0 0.0.0.255 ar 0
Router(config-router)#router-id 1.1.1.1
Router(config-router)#end
Router#sh ip proto
*** IP Routing is NSF aware ***

Routing Protocol is "application"
  Sending updates every 0 seconds
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Maximum path: 32
  Routing for Networks:
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: (default is 4)

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 1.1.1.1
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.1.0 0.0.0.255 area 0
  Routing Information Sources:
    Gateway         Distance      Last Update
 --More--
*Jul 25 11:29:44.866: %SYS-5-CONFIG_I: Configured from console by console

Router#


コメント

この返信に対して
コメントを記入できます

この投稿に対して返信しませんか?