OSPF R1(config)# router ospf 1 R1(config-router)# network 10.1.100.0 0.0.0.255 area 0 R1(config-router)# network 10.1.200.0 0.0.0.255 area 0 R1# debug ip ospf adj R1# show ip ospf Routing Process "ospf 1" with ID 10.1.1.1 R1# show ip ospf neighbor R1# show ip ospf database R1(config)# interface loopback1 R1(config-if)# ip ospf network point-to-point Modify OSPF link costs R1(config)# interface FastEthernet 0/0 R1(config-if)# ip ospf cost 50 Modify interface priorities to control the DR and BDR election R1(config)# interface FastEthernet 0/0 R1(config-if)# ip ospf priority 10 R2(config)# interface FastEthernet 0/0 R2(config-if)# ip ospf priority 5 - najnizszy jest zawsze DR show ip ospf neighbor detail command. You can also see the change with the show ip ospf neighbor clear ip ospf process network point-to-point R1(config-if)# ip ospf network point-to-point STUB R2(config)# router ospf 1 R2(config-router)# area 23 stub no-summary command on R2 (the ABR) under the OSPF process. R2(config)# router ospf 1 R2(config-router)# area 23 stub no-summary Configure a not-so-stubby area. R2(config)# router ospf 1 R2(config-router)# no area 23 stub R2(config-router)# area 23 nssa Configure OSPF interface authentication R2(config)# interface serial 0/0/1 R2(config-if)# ip ospf authentication R2(config-if)# ip ospf authentication-key cisco MD5 R1(config)# interface serial 0/0/0 R1(config-if)# ip ospf authentication message-digest R1(config-if)# ip ospf message-digest-key 1 md5 cisco Virtual Link R3(config)# router ospf 1 R3(config-router)# network 192.168.100.0 0.0.3.255 area 100 R2(config)# router ospf 1 R2(config-router)# area 23 virtual-link 192.168.103.1 Sumaryzacja area R3(config)# router ospf 1 R3(config-router)# area 100 range 192.168.100.0 255.255.252.0 Generate a default route into OSPF R1(config)# router ospf 1 R1(config-router)# default-information originate always Frame Relay is inherently a non-broadcast multi-access (NBMA) HQ(config)# router ospf 1 HQ(config-router)# network 10.1.123.0 0.0.0.255 area 0 HQ(config-router)# network 10.1.1.0 0.0.0.255 area 0 HQ(config-router)# exit HQ(config)# interface loopback 1 HQ(config-if)# ip ospf network point-to-point EAST(config)# interface serial 0/0/1 EAST(config-if)# ip ospf priority 0 - DR Change the network type to point-to-multipoint. HQ(config)# interface serial 0/0/1 HQ(config-if)# ip ospf network point-to-multipoint HQ(config-if)# frame-relay map ip 10.1.123.2 102 broadcast HQ(config-if)# frame-relay map ip 10.1.123.3 103 broadcast ip ospf hello-interval ip ospf dead-interval EAST(config)# interface FastEthernet 0/0 EAST(config-if)# ip ospf hello-interval 5 EAST(config-if)# ip ospf dead-interval 15 172.17.6.15
sliwak