Cisco Workshop 1 Konfiguration
Version vom 3. Februar 2023, 11:32 Uhr von Thomas.will (Diskussion | Beiträge) (→OSPF Konfiguration)
OSPF Konfiguration
- R1 ist das Default Gateway
R1
router ospf 1 network 10.1.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50 default-information originate always
R2
router ospf 1 network 10.2.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50
R3
router ospf 1 network 10.3.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50
OSPF Überprüfen
R1
OSPF Neighbor
- show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface 172.16.0.2 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet1/0 172.16.0.3 1 FULL/DR 00:00:36 172.16.0.3 FastEthernet1/0
ip route
- show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets C 172.16.0.0 is directly connected, FastEthernet1/0 10.0.0.0/24 is subnetted, 3 subnets O 10.2.0.0 [110/2] via 172.16.0.2, 00:16:55, FastEthernet1/0 O 10.3.0.0 [110/2] via 172.16.0.3, 00:16:55, FastEthernet1/0 C 10.1.0.0 is directly connected, FastEthernet0/0
OSPF debug
- debug ip ospf events
OSPF events debugging is on *Nov 4 15:17:01.763: OSPF: Send hello to 224.0.0.5 area 50 on FastEthernet1/0 from 172.16.0.1 *Nov 4 15:17:05.879: OSPF: Rcv hello from 172.16.0.3 area 50 from FastEthernet1/0 172.16.0.3 *Nov 4 15:17:05.879: OSPF: End of hello processing *Nov 4 15:17:06.663: OSPF: Rcv hello from 172.16.0.2 area 50 from FastEthernet1/0 172.16.0.2 *Nov 4 15:17:06.663: OSPF: End of hello processing