Ospf
Ospf
Ospf
router 1 Router>econf t ^ % Invalid input detected at '^' marker. Router> Router>conf t ^ % Invalid input detected at '^' marker. Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int Router(config)#interface fa0/0 Router(config-if)#ip add 192.168.1.1 255.255.255.0 Router(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up Router(config-if)# Router(config-if)#int Router(config-if)#int Router(config-if)#exit Router(config)#do wr Building configuration... [OK] Router(config)# Router(config)# Router(config)#inter Router(config)#interface l Router(config)#interface loopback 0 %LINK-5-CHANGED: Interface Loopback0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up Router(config-if)#ip add 100.100.100.1 255.255.255.0 Router(config-if)#no shut Router(config-if)#exit Router(config)#do wr Building configuration... [OK] Router(config)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up Router(config)# Router(config)#rou Router(config)#router os Router(config)#router ospf 10 Router(config-router)#net Router(config-router)#network 192.168.1.0 0.0.0.255 a Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)# Router# %SYS-5-CONFIG_I: Configured from console by console Router#econf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ro Router(config)#router os Router(config)#router ospf 10 Router(config-router)#network 100.100.100.0 0.0.0.255 area 0 Router(config-router)#
router 2
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory. Processor board ID FTX0947Z18E M860 processor: part number 0, mask 49 2 FastEthernet/IEEE 802.3 interface(s) 191K bytes of NVRAM. 63488K bytes of ATA CompactFlash (Read/Write) Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Wed 18-Jul-07 04:52 by pt_team --- System Configuration Dialog --Continue with configuration dialog? [yes/no]: no Press RETURN to get started!
Router> Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#inte Router(config)#interface fa0/0 Router(config-if)#ip add 192.168.1.2 255.255.255.0 Router(config-if)#no shut %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t o up Router(config-if)#exit Router(config)#inte Router(config)#interface loo
Router(config)#interface loopback 0 %LINK-5-CHANGED: Interface Loopback0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up Router(config-if)#ip add 200.200.200.1 255.255.255.0 Router(config-if)#no shut Router(config-if)#exit Router(config)#dowr ^ % Invalid input detected at '^' marker. Router(config)#do wr Building configuration... [OK] Router(config)# Router(config)# Router(config)# Router(config)# Router(config)# Router(config)# Router(config)#ro Router(config)#router os Router(config)#router ospf 110 Router(config-router)#net Router(config-router)#network 192.168.1.0 0.0.0.255 a Router(config-router)#network 192.168.1.0 0.0.0.255 area 0 Router(config-router)#network 192.168.1.0 0.0.0.255 area 0 Router(config-router)#network 200.200.200.0 0.0.0.255 area 0 Router(config-router)# Router(config-router)# Router(config-router)# Router(config-router)#network 192.168.1.0 0.0.0.255 area 0 Router(config-router)# Router(config-router)# Router(config-router)# Router(config-router)#end Router# %SYS-5-CONFIG_I: Configured from console by console Router#show ip Router#show ip r Router#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 O C C 100.0.0.0/32 is subnetted, 1 subnets 100.100.100.1 [110/2] via 192.168.1.1, 00:00:52, FastEthernet0/0 192.168.1.0/24 is directly connected, FastEthernet0/0 20