Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Лабы_сети / Лабораторная работа CCNA№5 2 часть.doc
Скачиваний:
68
Добавлен:
05.06.2015
Размер:
158.72 Кб
Скачать

6. Установить ospf Priority для изменения порядка dr/bdr/Drother

         Установить приоритет 100 для интерфейса Fa0/1 R1

R1(config)#interface FastEthernet 0/1

R1(config-if)#ip ospf priority 100

         Установить приоритет 10 для интерфейса Fa0/1 R2

R2(config)#interface FastEthernet 0/1

R2(config-if)#ip ospf priority 10

         Установить приоритет 0 для интерфейса Fa0/1 R3

R3(config)#interface FastEthernet 0/1

R3(config-if)#ip ospf priority 0

7. Отключить и включить интерфейсы маршрутизаторов для инициирования выборов

         Отключить интерфейс Fa0/1 на R1

R1(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

02:06:26: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.3 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

02:06:26: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.2 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

         Отключить интерфейс Fa0/1 на R2

R2(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

02:06:13: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.3 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

02:06:13: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.1 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

         Отключить интерфейс Fa0/1 на R3

R3(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

02:06:47: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.2 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

02:06:47: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.1 on FastEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

         Включить интерфейс Fa0/1 на R1

R1(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

02:18:14: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.2 on FastEthernet0/1 from LOADING to FULL, Loading Done

02:18:26: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.3 on FastEthernet0/1 from LOADING to FULL, Loading Done

         Включить интерфейс Fa0/1 на R2

R2(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

02:18:12: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.1 on FastEthernet0/1 from LOADING to FULL, Loading Done

02:18:24: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.3 on FastEthernet0/1 from LOADING to FULL, Loading Done

         Включить интерфейс Fa0/1 на R3

R3(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

02:18:55: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.1 on FastEthernet0/1 from LOADING to FULL, Loading Done

02:18:55: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.255.2 on FastEthernet0/1 from LOADING to FULL, Loading Done

         Используя команду show ip ospf interface , убедиться в изменении порядка DR/BDR/Drother

R1#show ip ospf interface

-----------------------------пропущено----------------------------

FastEthernet0/1 is up, line protocol is up

  Internet address is 192.168.0.1/24, Area 0

  Process ID 1, Router ID 192.168.255.1, Network Type BROADCAST, Cost: 1

  Transmit Delay is 1 sec, State DR, Priority 100

  Designated Router (ID) 192.168.255.1, Interface address 192.168.0.1

  Backup Designated Router (ID) 192.168.255.2, Interface address 192.168.0.2

  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

    Hello due in 00:00:07

-----------------------------пропущено----------------------------

R2#show ip ospf interface

-----------------------------пропущено----------------------------

FastEthernet0/1 is up, line protocol is up

  Internet address is 192.168.0.2/24, Area 0

  Process ID 1, Router ID 192.168.255.2, Network Type BROADCAST, Cost: 1

  Transmit Delay is 1 sec, State BDR, Priority 10

  Designated Router (ID) 192.168.255.1, Interface address 192.168.0.1

  Backup Designated Router (ID) 192.168.255.2, Interface address 192.168.0.2

  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

    Hello due in 00:00:03

-----------------------------пропущено----------------------------

R3#show ip ospf interface

-----------------------------пропущено----------------------------

FastEthernet0/1 is up, line protocol is up

  Internet address is 192.168.0.3/24, Area 0

  Process ID 1, Router ID 192.168.255.3, Network Type BROADCAST, Cost: 1

  Transmit Delay is 1 sec, State DROTHER, Priority 0

  Designated Router (ID) 192.168.255.1, Interface address 192.168.0.1

  Backup Designated Router (ID) 192.168.255.2, Interface address 192.168.0.2

  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

    Hello due in 00:00:09