学习网考试学习资料

Gzu521.com

ccna中文读书笔记(6)

思科认证   点击:次   发布时间:2006-9-14   【字体: 】   来源:Gzu521.com
Gzu521.com我的学习网

  encryption your passwords
  只有enable secret是加密的,当你在特权模式下输入sh running-c
  router#sh run
  (略)
  !
  enable secret jhdflkdfg$#sdf
  enable password 123
  !
  (略)

  对密码进行加密:在全局配置模式下使用service password-encrypti

  banners
  banner类似标语,问候语.最常用的是motd(message of the day),分界符用于分隔信息,但是分隔符不能出现在motd信息中,如下:
  router(c motd #
  the router is mine
  #
  router(c
  router#exit
  router c is now available
  press return to get started
  the router is mine
  router>
 
  其他的3种banner:
  1.exec banner
  2.incoming banner
  3.login banner

  router interfaces
  配置router的接口,一般命令模式采用:interface type number的格式,比如:
  router(c ethernet 0
  但是cisco的2600,3600,4000和7000等系列采用了物理卡槽和模块化的端口机制.因此,命令变化为:interface type slot/port,比如:
  router(c fastethernet 0
  % imcomplete command
  router(c fastethernet 0?
  /
  router(c fastethernet 0/?
  <0-1> fastethernet interface number
  router(c fastethernet 0/1

  配置连接器的介质类型,使用media-type命令,不过这个一般是自动检测,如下:
  router(c fa 0/0
  router(c ?
  100basex use rj45 for -tx; sc f0 for ╟fx
  mii use mii c

  bring up an interface
  打开和关闭1个接口,分别使用shutdown和no shutdown命令,当你关闭某个接口的时候,使用sh interfaces命令可以查看接口状态,并且你将看到以下输出:
  router#sh int e0
  ethernet0 is administratively down,line protocol is down
  (略)
  接口是关闭的,所以你要手动打开它,如下:
  router#c t
  router(c e0
  router(c shut
  router(c
  router#sh int e0
  ethernet is up,line protocol is up
  (略)

  c an ip address on an interface
  给某个接口配置ip地址,使用ip address [address] [mask]命令,如下:
  router(c e0
  router(c address 172.16.10.2 255.255.255.0
  记得把接口打开:
  router(c shut
  router(c

  如果你需要在1个接口添加第二个子网地址,在末尾使用sec
  router(c e0
  router(c address 172.16.20.2 255.255.255.0 sec
  router(c
  来验证下:
  router#sh run 本资料来源于贵-州-学-习-网 IT认证思科认证 WWW.GZU521.COM
  (略)
  !
  interface ethernet0
  ip address 172.16.20.2 255.255.255.0 sec
  ip address 172.16.10.2 255.255.255.0
  !

  serial interface commands
  serial口一般是连接在csu/dsu等类型的提供时钟频率的设备上.但是,假如你在个实验环境里采用了背对背配置,那么1端将作为dce设备提供时钟频率.默认cisco的router都是dte,所以你必须让1个serial接口来提供时钟频率,采用的命令是:clock rate,如下:
  router(c s0
  router(c rate ?
speed (bits per sec
  1200
  (略)
  56000
  64000
  (略)
  router(c rate 64000
  % error: this commands applies to dce interfaces
  router(c s1
  router(c rate 64000

  确定serial接口是否是dce线缆使用sh c
  router>sh c s 0
  hd unit 0, idb=0x297de8, driver structure at 0x29f3a0
  buffer size 1524 hd unit 0, v.35 dce cable

  cisco的router的默认serial连接带宽是t-1(1.544mbps).有的路由协议要以带宽做为度来进行衡量,所以,我们给它配置带宽,使用bandwidth命令,注意参数单位是kb,如下:
  router(c ?
  <1-10000000> bandwidth in kilobits
  router(c 64

  hostnames
  给router配置主机名,使用hostname命令,这个是本地标志,不影响router在internet上的工作,注意回车立即生效,如下:
  router(c noko
  noko(c noco
  noco(c

  descripti
  descripti
  noco(c e0
  noco(c sales lan
  noco(c
  来验证下:
  noco#sh int e0
  (略)
  descripti sales lan
  (略)

  viewing and saving c
  将running-c running-c startup-c
  noco#copy run start
  可以使用erase startup-c
  noco#erase startup-c
  (略)
  noco#sh start
  %% n c memory is not present
  假如在这个情况下在特权模式使用reload命令重新启动router,将进入setup模式
  verifying your c

上 一 页 下 一 页
10页: 第 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

责任编辑:gzu521

IT认证分类
计算机软件水平考试
全国计算机等级考试
思科认证
微软认证
ORACLE/CIW认证
Linux认证
JAVA认证
其它认证
分类推荐信息
更多...
大类最新文章
更多...