公   告
日   历
日   志
回   复
留   言
链   接
信   息
搜   索
登   陆
实验4初始化路由器和创建Startup-config文件
Posted by zangkui 2008-7-5 2:15:35

% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yesConfiguring global parameters:

  Enter host name [Router]: Rack141R1
  The enable secret is a password used to protect access to
  privileged EXEC and configuration modes. This password, after
  entered, becomes encrypted in the configuration.
  Enter enable secret: cisco
  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: cisco% Please choose a password that is different from the enable secret
  Enter enable password: training
  The virtual terminal password is used to protect
  access to the router over a network interface.
  Enter virtual terminal password: training  Configure SNMP Network Management? [yes]: yes    Community string [public]: public
Current interface summary


Any interface listed with OK? value "NO" does not have a valid configuration

Interface                  IP-Address      OK? Method Status                Protocol
Ethernet0/0                unassigned      NO  unset  up                    up     
Ethernet0/1                unassigned      NO  unset  up                    up     
Ethernet0/2                unassigned      NO  unset  up                    up     
Ethernet0/3                unassigned      NO  unset  up                    up     
Serial1/0                  unassigned      NO  unset  up                    down   
Serial1/1                  unassigned      NO  unset  up                    down   
Serial1/2                  unassigned      NO  unset  up                    down   
Serial1/3                  unassigned      NO  unset  up                    down   

Enter interface name used to connect to the
management network from the above interface summary: ethernet0/0
Configuring interface Ethernet0/0:
  Configure IP on this interface? [yes]: yes    IP address for this interface: 192.168.0.1    Subnet mask for this interface [255.255.255.0] :     Class C network is 192.168.0.0, 24 subnet bits; mask is /24

The following configuration command script was created:

hostname Rack141R1
enable secret 5 $1$DFKp$c/RHz28sbWMvbQVUXx0QK.
enable password training
line vty 0 4
password training
snmp-server community public
!
no ip routing

!
interface Ethernet0/0
no shutdown
ip address 192.168.0.1 255.255.255.0
!
interface Ethernet0/1
shutdown
no ip address
!
interface Ethernet0/2
shutdown
no ip address
!
interface Ethernet0/3
shutdown
no ip address
!
interface Serial1/0
shutdown
no ip address
!
interface Serial1/1
shutdown
no ip address
!
interface Serial1/2
shutdown
no ip address
!
interface Serial1/3
shutdown
no ip address
!
end


[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2Building configuration...
[OK]
Use the enabled mode 'configure' command to modify this configuration.




Press RETURN to get started!


*Mar  1 00:00:04.659: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Mar  1 00:00:04.663: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Mar  1 00:00:04.667: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Mar  1 00:00:04.671: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up
*Mar  1 00:00:04.675: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up
*Mar  1 00:00:04.683: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
*Mar  1 00:00:04.783: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
*Mar  1 00:00:04.879: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up
*Mar  1 00:00:04.899: %LINK-3-UPDOWN: Interface Serial1/3, changed state to up
*Mar  1 00:00:05.663: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
*Mar  1 00:00:05.667: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
*Mar  1 00:00:05.671: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up
*Mar  1 00:00:05.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up
*Mar  1 00:00:05.683: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
*Mar  1 00:00:05.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
*Mar  1 00:00:05.879: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up
*Mar  1 00:00:05.899: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to up
*Mar  1 00:00:33.615: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
*Mar  1 00:00:33.683: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
*Mar  1 00:00:33.751: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to down
*Mar  1 00:00:33.823: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/3, changed state to down
*Mar  1 00:06:47.583: %LINK-5-CHANGED: Interface Ethernet0/1, changed state to administratively down
*Mar  1 00:06:47.583: %LINK-5-CHANGED: Interface Ethernet0/2, changed state to administratively down
*Mar  1 00:06:47.583: %LINK-5-CHANGED: Interface Ethernet0/3, changed state to administratively down
*Mar  1 00:06:48.207: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down
*Mar  1 00:06:48.211: %LINK-5-CHANGED: Interface Serial1/1, changed state to administratively down
*Mar  1 00:06:48.211: %LINK-5-CHANGED: Interface Serial1/2, changed state to administratively down
*Mar  1 00:06:48.783: %LINK-5-CHANGED: Interface Serial1/3, changed state to administratively down
*Mar  1 00:06:48.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to down
*Mar  1 00:06:48.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to down
*Mar  1 00:06:48.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to down
*Mar  1 00:06:59.103: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) 3600 Software (C3620-IS-M), Version 12.3(21), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by cisco Systems, Inc.
Compiled Mon 06-Nov-06 14:22 by ccai
*Mar  1 00:06:59.127: %SNMP-5-COLDSTART: SNMP agent on host Rack141R1 is undergoing a cold start
Rack141R1>

Re:实验4初始化路由器和创建Startup-config文件
Posted by shipengfei 2008-7-8 17:36:01
重做

发表评论:

    昵称:
    密码:
    主页:
    标题:
Powered by Oblog.