Chinaunix首页 | 论坛 | 博客
  • 博客访问: 663812
  • 博文数量: 779
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5000
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 13:28
文章分类

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:33:21


  目  录
  1. 连接设备 3
  1.1. 从CONSOLE连接 3
  1.2. 远程TELNET连接 6
  2. 基本信息配置 6
  2.1. 配置机器名、TELNET、密码 6
  2.2. 配置SNMP网管串 6
  3. 冗余及系统高可用性配置 7
  3.1. 同步SUPERVISOR ENGINE配置 7
  3.2. 查看SUPERVISOR ENGINE冗余 9
  3.3. 向冗余SUPERVISOR ENGINE拷贝IOS文件 11
  4. 端口设置 11
  4.1. 基本设置 11
  4.2. 配置三层端口 12
  5. 配置二层端口 13
  5.1. 配置TRUNK: 13
  6. 配置HSRP 15
  6.1. 配置二层普通接口 15
  6.2. 清除二层接口配置 16
  7. 配置VLAN 16
  8. 动态--OSPF配置 18
  8.1. 启用OSPF动态路由 18
  8.2. 定义参与OSPF的子网 18
  8.3. OSPF区域间的路由信息汇总 19
  8.4. 配置密码验证 19
  8.5. 设置产生缺省路由 19
  9. 机维护 20
  9.1. 交换机IOS保存和升级 20
  9.2. 交换机密码恢复 21
  
  1. 连接设备
  1.1. 从console连接
  第一次对6000交换机进行配置,必须从console进入。 
  首先先将机器上架,按要求接好电源,然后用随机附带的Console线和转接头将交换机的console口与PC的串口相联,如下:
   
  Com口设置如下:
  · 9600 baud
  · 8 data bits
  · No parity
  · 2 stop bits
  检查电源无误后,开电,可能会出现类似下面的显示,按黑粗体字回答:
  System Bootstrap, Version 6.1(2)
  Copyright (c) 1994-2000 by cisco Systems, Inc.
  c6k_sup2 processor with 131072 Kbytes of main memory
  
  rommon 1 > boot slot0:c6sup22-jsv-mz.121-5c.EX.bin
  
  Self decompressing the image : #################################################
  ###############################################################################
  ###############################################################################
  ###############################################################################
  ###############################################################################
   [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
  
   Internetwork Operating System Software
  IOS (tm) MSFC2 Software (C6MSFC2-BOOT-M), Version 12.1(3a)E4, EARLY DEPLOYMENT R
  ELEASE SOFTWARE (fc1)
  Copyright (c) 1986-2000 by cisco Systems, Inc.
  Compiled Sat 14-Oct-00 05:33 by eaarmas
  Image text-base: 0x30008980, data-base: 0x303B6000
  
  cisco Cat6k-MSFC2 (R7000) processor with 114688K/16384K bytes of memory.
  Processor board ID SAD04430J9K
  R7000 CPU at 300Mhz, Implementation 39, Rev 2.1, 256KB L2, 1024KB L3 Cache
  Last reset from power-on
  X.25 software, Version 3.0.0.
  509K bytes of non-volatile configuration memory.
   16384K bytes of Flash internal SIMM (Sector size 512K).
  
   Press RETURN to get started!
  --- System Configuration Dialog ---
    Would you like to enter the initial dialog? [yes]: no
  回答:NO,进入手工配置,在router>下,输入enable
  回车,进入全局模式
  
  
  1.2. 远程telnet连接
  当完成交换机配置,并起给交换机配置了管理地址,就可以直接采用远程telnet登陆进入交换机了,但是必须先配置line vty的密码和enable密码才能允许远程登陆。
  2. 基本信息配置
  2.1. 配置机器名、telnet、密码
  1. 在全局模式下,用conf t,进入配置模式,进行以下的配置:
  管理方面的配置:
  service timestamps debug datetime localtime
  service timestamps log datetime localtime
  service password-encryption
  hostname xxxx
  enable secret 0 xxxxx
  line vty 0 4
  exec-timeout 30 0
  password 0 xxxx
  login
  
  
  2.2. 配置snmp网管串
  conf t
  snmp-server community xxxxxx ro(只读)
  或
  snmp-server community xxxxxx rw(读写)
  
  3. 冗余及系统高可用性配置
  6000系列支持双supervisor engines或加强的高可用系统(EHSA),允许第二块supervisor engines处于standby模式或EHSA状态,在主用supervisor engines有问题时进行切换(切换过程中会照成网络的暂时中断),
  当交换机加电后,EHSA会缺省地在二supervisor engine上运行(slot 1 or 2), 其中之一会成为活动的。
  注意:二块supervisor engine必须有一致的IOS,内存等。
  3.1. 同步Supervisor Engine配置
  在正常的操作过程中,初始配置(startup-config)及config-registers配置缺省会在二supervisor engines之间同步. 发生切换后,新的活动supervisor engine会运行当前的配置。
  可按以下的步骤手工同步二块supervisor engines:
  命令 目的
  Step 1  Router(config)# redundancy 进入冗余配置模式
  Step 2  Router(config-r)# main-cpu 进入main-cpu配置模式
  Step 3  Router(config-r-mc)# auto-sync {startup-config | config-register | bootvar | standard} 同步配置参数,有startup-config, config-register,bootvar,standard
  Step 4  Router(config-r-mc)# end 退回全局模式
  Step 5  Router# copy running-config startup-config 保存配置
  
   注意 auto-sync standard命令不同步boot variables.
  
  
  配置如下:
  Router(config)# redundancy
  Router(config-r)# main-cpu
  Router(config-r-mc)# auto-sync standard
  Router(config-r-mc)# auto-sync bootvar
  Router(config-r-mc)# end
  Router# copy running-config startup-config
  
   注意  手工同步某参数后,会使原缺省的同步特征
  
  3.2. 查看Supervisor Engine冗余
  Command Purpose
  Router# show module all Display the redundancy configuration.
  如下
  Router# show module all
  Mod Ports Card Type               Model       Serial No.
  --- ----- -------------------------------------- ------------------ -----------
   1  2 Catalyst 6000 supervisor 2 (Standby)  WS-X6K-SUP2-2GE  SAD04450LEU
   2  2 Catalyst 6000 supervisor 2 (Active)  WS-X6K-SUP2-2GE  SAD04160FSR
   3  48 SFM-capable 48-port 10/100 Mbps RJ45  WS-X6548-RJ-45   SAD050105Y0
   4  48 SFM-capable 48-port 10/100 Mbps RJ45  WS-X6548-RJ-45   SAD0440799G
   5  16 SFM-capable 16 port 10/100/1000mb RJ45 WS-X6516-GE-TX   SAD05030P0W
   7  0 Switching Fabric Module-136 (Active)  WS-X6500-SFM2   SAD04440663
   8  0 Switching Fabric Module-136 (Standby) WS-X6500-SFM2   SAD04510at4
   9  16 Pure SFM-mode 16 port 1000mb GBIC   WS-X6816-GBIC   SAD044904N7
   11  16 Pure SFM-mode 16 port 1000mb GBIC   WS-X6816-GBIC   SAD04390CCJ
   12  16 Pure SFM-mode 16 port 1000mb GBIC   WS-X6816-GBIC   SAD04260E24
   13  16 Pure SFM-mode 16 port 1000mb GBIC   WS-X6816-GBIC   SAD04260E1J
  
  Mod MAC addresses            Hw  Fw      Sw      Status
  --- ---------------------------------- ------ ------------ ------------ -------
   1 0001.6461.38a8 to 0001.6461.38a9  1.1  Unknown   6.2(0.106)  Ok  
   2 0040.0b14.03e2 to 0040.0b14.03e3  0.220 6.1(2)    6.2(0.106)  Ok  
   3 0001.6441.47f0 to 0001.6441.481f  0.303 6.1(3)    6.2(0.106)  Ok  
   4 0002.b9ff.e8d0 to 0002.b9ff.e8ff  0.204 6.1(3)    6.2(0.106)  Ok  
   5 0001.64f8.3330 to 0001.64f8.333f  0.201 6.1(2)    6.2(0.106)  Ok  
   7 0040.0bff.0000 to 0040.0bff.0000  0.107 6.1(3)    6.2(0.106)  Ok  
   8 0040.0bff.0000 to 0040.0bff.0000  0.203 6.1(3)    6.2(0.106)  Ok  
   9 0002.fc90.0888 to 0002.fc90.0897  0.302 12.1(4r)   12.1(nightly Ok  
  
【责编:admin】

--------------------next---------------------

阅读(368) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~