Вы находитесь на странице: 1из 11

Enter enable secret: 123 The enable password is used when you do not specify an enable secret password,

with some older software versions, and some boot images. Enter enable password: 123 % Please choose a password that is different from the enable secret Enter enable password: abc The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: % No defaulting allowed Enter virtual terminal password: 456 Configure SNMP Network Management? [yes]: y Community string [public]: Current interface summary Any interface listed with OK? value "NO" does not have a valid configuration Interface ocol FastEthernet0 Serial0 Serial1 IP-Address unassigned unassigned unassigned OK? Method Status NO unset NO unset down NO unset down down down Prot

Enter interface name used to connect to the management network from the above interface summary: % No defaulting allowed Enter interface name used to connect to the management network from the above interface summary: % No defaulting allowed Enter interface name used to connect to the management network from the above interface summary: fa0 Invalid i

Enter interface name used to connect to the management network from the above interface summary: Invalid interface Configuration aborted, no changes made.

Press RETURN to get started! *Mar 1 00:00:te to administratively down *Mar 1 00:04:55.299: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0, changed state to down *Mar 1 00:12:05.483: %SYS-5-RESTART: System restarted -Cisco IOS Software, C1700 Software (C1700-K9O3SY7-M), Version 12.3(7)T3, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2004 by Cisco Systems, Inc. Compiled Mon 19-Jul-04 18:47 by eaarmas *Mar 1 00:12:05.511: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start Router> Router> Router> Router> Router> Router>enable Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface Serial S0 ^ % Invalid input detected at ' Router(config)#interface fa/0 ^ % Invalid input detected at '^' marker. Router(config)#interface fastEthernet0 Router(config-if)#ip address 172.16.255.254 255.255.0.0 Router(config-if)#exit Router(config)#interface serial0 Router(config-if)#ip address 10.10.10.5 % Incomplete command. Router(config-if)#ip address 10.10.10.5 255.255.255.252

Router(config-if)#exit Router(config)#ip route 0.0.0.0 10.10.10.6 % Incomplete command. Router(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.6 Router(con Router# *Mar 1 00:20:03.587: %SYS-5-CONFIG_I: Configured from console by console Router#exit

Router con0 is now available

Press RETURN to get started.

Router> Router> Router>line con 0 ^ % Invalid input detected at '^' marker. Router>enable Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line con 0 Router(config-line)#password cisco Router(config-line)#exit Router(config)#line vty Router(config-line)#password cisco Router(config-line)#exit Router(config)#exit Router# *Mar 1 00:22:48.391: %SYS-5-CONFIG_I: Configured from console by consolewri Building configuration... [OK] Router# Router# Router#^Z Router# Router#write Building configuration... [OK] Router#show running Building configuration... Current configuration : 819 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-ma ! ! mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model

ip subnet-zero ! ! ! Router#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 Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface fastEthernet0 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#exit Router# *Mar 1 00:25:36.099: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up *Mar 1 00:25:37.579: %SYS-5-CONFIG_I: Configured from console by console *Mar 1 00:25:40.183: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0, changed state to up Router#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 lev 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 C 172.16.0.0/16 is directly connected, FastEthernet0

Router#show running Building configuration... Current configuration : 809 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! mmi polling-interval 60 no mmi auto-con no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero ! ! ! ! ip cef ip audit po max-events 100 no ftp-server write-enable ! ! ! ! ! no crypto isakmp enable ! ! ! interface FastEthernet0 ip address 172.16.255.254 255.255.0.0 speed auto ! interface Serial0 ip address 10.10.10.5 255.255.255.252 shutdown no fair-queue ! interface Serial1 no ip address shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 10.10.10.6 no ip http server no ip http secure-server ! ! ! !

! control-plane ! ! line con 0 password cisco line aux 0 line vty 0 4 password cisco login ! ! end Router#write Building configuration... [OK] Router#exit

Router con0 is now available

Press RETURN to get started.

Router>erase nvram ^ % Invalid input detected at '^' marker. Router>enable Router#erase nvram Erasing the nvram filesystem will remove all configuration files! Continue? [con firm]^Z Router#show running Building configuration... Current configuration : 809 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 no aaa new-model ip subnet-zero ! ! ! ! ip cef ip audit po max-events 100 no ftp-server write-enable ! ! ! ! ! no crypto isakmp enable ! ! ! interface FastEthernet0 ip address 172.16.255.254 255.255.0.0 speed auto ! interface Serial0 ip address 10.10.10.5 255.255.255.252 shutdown no fair-queue

! interface Serial1 no ip ad shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 10.10.10.6 no ip http server no ip http secure-server ! ! ! ! ! control-plane ! ! line con 0 password cisco line aux 0 line vty 0 4 password cisco login ! ! end Router# Router# Router# Router# Router# Router#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 extern 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 C 172.16.0.0/16 is directly connected, FastEthernet0

Router#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 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 C 172.16.0.0/16 is directly connected, FastEthernet0

Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interfac Router(config-if)#no shutdown Router(config-if)#exi *Mar 1 00:35:19.295: %LINK-3-UPDOWN: Interface Serial0, changed state to up *Mar 1 00:35:20.295: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, c hanged state to upt Router(config)#exit Router# *Mar 1 00:35:24.379: %SYS-5-CONFIG_I: Configured from console by console Router#show iproute ^ % Invalid input detected at '^' marker. Router#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 10.10.10.6 to network 0.0.0.0 C 172.16.0.0/16 is directly connected, FastEthernet0 10.0.0.0/30 is subnetted, 1 subnets C 10.10.10.4 is directly connected, Serial0 S* 0.0.0.0/0 [1/0] via 10.10.10.6 Router# *Mar 1 00:36:25.931: %LINEPROTO-5-UPDOWN: Line protocol hanged state to down *Mar 1 00:36:35.931: %LINEPROTO-5-UPDOWN: Line protocol hanged state to up *Mar 1 00:36:55.931: %LINEPROTO-5-UPDOWN: Line protocol hanged state to down *Mar 1 00:37:05.931: %LINEPROTO-5-UPDOWN: Line protocol hanged state to up

on Interface Serial0, c on Interface Serial0, c on Interface Serial0, c on Interface Serial0, c

Router# *Mar 1 00:37:25.931: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, c hanged state to down *Mar 1 00:37:35.931: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, c hanged state to up