设为首页 收藏本站
查看: 861|回复: 0

[经验分享] CISCO路由器初始配置简介

[复制链接]

尚未签到

发表于 2018-7-18 11:05:05 | 显示全部楼层 |阅读模式
  System Bootstrap, Version 11.1(20)AA2, EARLY DEPLOYMENT>  Copyright (c) 1999 by cisco Systems, Inc.C3600 processor with 32768 Kbytes of main memory Main memory is configured to 64 bit mode with parity disabled

  program load complete, entry point: 0x80008000,>  ###################################################################
  ###################################################################
  ###################################################################
  ###################################################################
  ###################################################################
  ###################################################################
  ###################################################################
  [OK]
  Restricted Rights Legend
  Use, duplication, or disclosure by the Government is
  subject to restrictions as set forth in subparagraph
  (c) of the Commercial Computer Software - Restricted
  Rights clause at FAR sec. 52.227-19 and subparagraph
  (c) (1) (ii) of the Rights in Technical Data and Computer
  Software clause at DFARS sec. 252.227-7013.
  cisco Systems, Inc.
  170 West Tasman Drive
  San Jose, California 95134-1706
  Cisco Internetwork Operating System Software

  IOS (tm) 3600 Software (C3640-I-M), Version 12.1(2)T,>  Copyright (c) 1986-2000 by cisco Systems, Inc.
  Compiled Tue 16-May-00 12:26 by ccai
  Image text-base: 0x600088F0, data-base: 0x60924000
  cisco 3640 (R4700) processor (revision 0x00) with 24576K/8192K bytes of memory.

  Processor board>  R4700 CPU at 100Mhz, Implementation 33, Rev 1.0
  Bridging software.
  X.25 software, Version 3.0.0.
  2 FastEthernet/IEEE 802.3 interface(s)
  1 Serial network interface(s)
  DRAM configuration is 64 bits wide with parity disabled.
  125K bytes of non-volatile configuration memory.
  8192K bytes of processor board System flash (Read/Write)
  --- System Configuration Dialog ---
  Would you like to enter the initial configuration dialog? [yes/no]: y
  您是否进入初始化配置对话,选Y
  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]: n
  您是否进入基本配置安装,选N
  First, would you like to see the current interface summary? [yes]: y
  首先,您是否看一下当前端口状态
  Any interface listed with OK? value "NO" does not have a valid configuration
  Interface IP-Address OK? Method Status Protocol
  FastEthernet0/0unassigned NO unset up down
  Serial0/0 unassigned NO unset down down
  FastEthernet0/1unassigned NO unset up down
  Configuring global parameters:
  Enter host name [Router]:RouterA
  输入路由器的名字
  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: aaa
  输入密文
  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: bbb
  输入密码(不能和密文相同)
  The virtual terminal password is used to protect
  access to the router over a network interface.
  Enter virtual terminal password: ccc
  输入虚拟终端的密码(以备远程登录)
  Configure SNMP Network Management? [yes]: n
  配置简单网管吗?选N
  Configure IP? [yes]: y
  配置IP吗?选Y
  Configure IGRP routing? [yes]: n
  配置IGRP路由选择协议吗?选N
  Configure RIP routing? [no]:
  配置IGRP路由选择协议吗?选N
  Configure bridging? [no]:
  配置桥接吗?选N
  Async lines accept incoming modems calls. If you will have
  users dialing in via modems, configure these lines.
  Configure Async lines? [yes]: n
  配置异步线路吗?选N
  Configuring interface parameters:
  Do you want to configure FastEthernet0/0 interface? [yes]: y
  您是否想配置fastethernet0/0接口?选Y
  Use the 100 Base-TX (RJ-45) connector? [yes]: y
  用RJ45的连接器吗?选Y
  Operate in full-duplex mode? [no]: y
  选用全双工模式?选Y
  Configure IP on this interface? [yes]: y
  在这个接口上配置IP吗?选Y
  IP address for this interface: 192.168.0.1
  配置该接口的IP地址(在此地址为192.168.0.1
  Subnet mask for this interface [255.255.255.0] :
  配置该接口的子网掩码.(默认的是255.255.255.0,可以手工输入修改)
  Class C network is 192.168.0.0, 24 subnet bits; mask is /24
  Do you want to configure Serial0/0 interface? [yes]: y
  您想配置serial0/0接口吗?选Y
  Some supported encapsulations are
  ppp/hdlc/frame-relay/lapb/x25/atm-dxi/smds
  Choose encapsulation type [hdlc]:
  选择封装方式(默认的封装方式是HDLC,您可根据与您的路由器相连选用的封装类型来决定用什么样的封装类型
  No serial cable seen.
  Choose mode from (dce/dte) [dte]:
  (因为没有连串口线所以会让您选择设备类型)
  Configure IP on this interface? [yes]: y
  (在接口上配置IP)
  Configure IP unnumbered on this interface? [no]:
  IP address for this interface: 172.16.0.5
  配置该接口的IP地址(在此地址为172.16.0.5)
  Subnet mask for this interface [255.255.0.0] : 255.255.255.252
  配置该接口的子网掩码.(默认的是255.255.0.0,可以手工输入修改为255.255.255.252)
  Class B network is 172.16.0.0, 30 subnet bits; mask is /30
  (以下配置同上)
  Do you want to configure FastEthernet0/1 interface? [yes]:
  Use the 100 Base-TX (RJ-45) connector? [yes]:
  Operate in full-duplex mode? [no]: y
  Configure IP on this interface? [yes]: y
  IP address for this interface: 172.16.0.9

  Subnet mask for this interface [255.255.0.0] : 255.255.255.252>  The following configuration command script was created:
  (把您的配置显示出来)
  hostname aaa
  enable secret 5 $1$ul/V$ezbZFgvzGHD.YPSieC0Ew/
  enable password RouterA
  line vty 0 4
  password ccc
  no snmp-server
  !
  ip routing
  no bridge 1
  !
  interface FastEthernet0/0
  media-type 100BaseX
  full-duplex
  ip address 192.168.0.1 255.255.255.0
  !
  interface Serial0/0
  encapsulation hdlc
  ip address 172.16.0.5 255.255.255.252
  !
  interface FastEthernet0/1
  media-type 100BaseX
  full-duplex
  ip address 172.16.0.9 255.255.255.252
  dialer-list 1 protocol ip permit
  dialer-list 1 protocol ipx permit
  !
  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]: 2
  选择2保存设置并存入NVRAM中
  Building configuration...
  [OK] Use the enabled mode 'configure' command to modify this configuration.
  Press RETURN to get started!
  路由器重新启动
  00:00:08: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down
  00:00:08: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
  00:00:08: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
  00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
  00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
  00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
  00:03:18: %IP-5-WEBINST_KILL: Terminating DNS process
  00:03:24: %SYS-5-RESTART: System restarted --
  Cisco Internetwork Operating System Software

  IOS (tm) 3600 Software (C3640-I-M), Version 12.1(2)T,>  Copyright (c) 1986-2000 by cisco Systems, Inc.
  Compiled Tue 16-May-00 12:26 by ccai
  RouterA>
  进入用户模式
  RouterA>en
  Password:
  RouterA#
  进入全局模式
  RouterA#sh run
  查看现在运行的配置
  Building configuration...
  Current configuration:
  !
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname RouterA
  !
  enable secret 5 $1$ul/V$ezbZFgvzGHD.YPSieC0Ew/
  enable password bbb
  !
  memory-size iomem 25
  ip subnet-zero
  !
  interface FastEthernet0/0
  ip address 192.168.0.1 255.255.255.0
  speed auto
  full-duplex
  !
  interface Serial0/0
  ip address 172.16.0.5 255.255.255.252
  clockrate 2000000
  !
  interface FastEthernet0/1
  ip address 172.16.0.9 255.255.255.252
  speed auto
  full-duplex
  !

  ip>  no ip http server
  !
  dialer-list 1 protocol ip permit
  dialer-list 1 protocol ipx permit
  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  password ccc
  login
  !
  end

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-538323-1-1.html 上篇帖子: Cisco7600/XR12000/12000系列SIP/SPA-jimao 下篇帖子: 华为 CISCO 交换机型号识别
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表