电脑技术学习

65xx系列交换机配置(Native IOS)(上)

dn001

  65xx系列交换机配置(Native IOS)
  
  1. 6509介绍
  
  Cisco Catalyst 6500系列交换机提供3插槽、6插槽、9插槽和13插槽的机箱,以
  及多种集成式服务模块,包括数千兆位网络安全性、内容交换、语音和网络分析模块。
  Catalyst 6500系列中的所有型号都使用了统一的模块和操作系统软件,形成了能够
  适应未来发展的体系结构,由于能提供操作一致性,因而能提高IT基础设施的利用
  率,并增加投资回报。从48端口到576端口的10/100/1000以太网布线室到能够支
  持192个1Gbps或32个10Gbps骨干端口,提供每秒数亿个数据包处理能力的网络核
  心,Cisco Catalyst 6500系列能够借助冗余路由与转发引擎之间的故障切换功能提
  高网络正常运行时间。
  提高网络正常运行时间,提高网络弹性。提供数据包丢失保护,能够从网络故障中快
  速恢复。能够在冗余控制引擎间实现快速的1~3秒状态故障切换。
  提供可选的高性能Cisco Catalyst 6500系列Supervisor Engine 720、无源背板、
  多引擎的冗余;并可利用Cisco EtherChannel?技术、IEEE 802.3ad链路汇聚、IEEE
  802.1s/w和热备份路由器协议/虚拟路由器冗余协议(HSRP/VRRP)达到高可用性
  不需要部署外部设备,直接在6500机箱内部署集成式的千兆位的网络服务模块,以
  简化网络治理,降低网络的总体成本。这些网络服务模块包括:
  l 千兆位防火墙模块--提供接入保护
  l 高性能入侵检测系统(IDS)模块--提供入侵检测保护
  l 千兆位网络分析模块--提供可治理性更高的基础设施和全面的远程超级(RMON)支
  持
  l 高性能SSL模块--提供安全的高性能电子商务流量
  l 千兆位VPN和基于标准的IP Security(IPSec)模块--降低的互联网和内部专网的
  连接成本。
  集成式内容交换模块(CSM)能够为Cisco Catalyst 6500系列提供功能丰富的高性
  能的服务器和防火墙网络负载平衡连接,以提高网络基础设施的安全性、可治理性和
  强大控制
  基于网络的应用识别(NBAR)等软件特性可提供增强网络治理和QoS控制机制。
  利用分布式Cisco EXPress Forwarding dCEF720平台提供400Mpps交换性能。支持
  多种Cisco Express Forwarding(CEF)实现方式和交换矩阵速率。
  多协议第3层路由支持满足了传统的网络要求,并能够为企业网络提供平滑的过渡机
  制。支持IPv6,并提供高性能的IPv6服务。提供MPLS及MPLS/VPN的支持,并具有
  丰富的MPLS服务。增强的数据、语音和视频服务
  提供10/100和10/100/1000接口模块,借助在接口模块内增加电源子卡就可让这些
  接口模块提供在线的电源,提供IEEE 802.3af的支持,保护今天的投资。
  每台设备可提供576个支持语音的,具有在线电源的10/100/1000M铜线接口。提供
  192个GBIC千兆位以太网接口。可提供高密度的OC-3 POS接口的通道化的OC-48接
  口。
  
  2. 连接设备
  
  2.1. 从console连接
  第一次对6000交换机进行配置,必须从console进入。 
  首先先将机器上架,按要求接好电源,然后用随机附带的Console线和转接头将交换
  机的console口与PC的串口相联,如下:
  
  Com口设置如下:
  9600 baud
  8 data bits
  No parity
  1 stop bits
  检查电源无误后,开电,可能会出现类似下面的显示,按黑粗体字回答:
  System Bo otstrap, Version 7.7(1)
  Copyright (c) 19 94-20 03 by cisco Systems, Inc.
  Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
  
  Autoboot executing command: "boot bootflash:"
  
  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
  
  Cisco Internetwork Operating System Software
  IOS (tm) s72033_sp Software (s72033_sp-SP-M), Version 12.2(17a)SX1, EARLY
  DEPLOYMENT RELEASE SOFTWARE (fc1)
  TAC Support: http://www.cisco.com/tac
  Copyright (c) 1986-2003 by cisco Systems, Inc.
  Compiled Wed 29-Oct-03 08:20 by cmong
  Image text-base: 0x40020FBC, data-base: 0x40D32000
  
  00:00:03: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor
  
  00:00:03: %OIR-6-CONSOLE: Changing console ownership to route processor
  
  System Bo otstrap, Version 12.2(14r)S9, RELEASE SOFTWARE (fc1)
  TAC Sup port: ht tp:/ /w w w.cisco.com/tac
  Copyright (c) 20 03 by cisco Systems, Inc.
  Cat6k-Sup720/RP platform with 524288 Kbytes of main memory
  
  Download Start
  
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
  
  Download Completed! Booting the image.
  
  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
  
  Cisco Internetwork Operating System Software
  IOS (tm) s72033_rp Software (s72033_rp-PK9S-M), Version 12.2(17a)SX1, EARLY
  DEPLOYMENT RELEASE SOFTWARE (fc1)
  TAC Support: http://www.cisco.com/tac
  Copyright (c) 1986-2003 by cisco Systems, Inc.
  Compiled Wed 29-Oct-03 08:16 by cmong
  Image text-base: 0x40008FBC, data-base: 0x41E50000
  
  This prodUCt contains cryptographic features and is subject to United
  States and local country laws governing import, export, transfer and
  use. Delivery of Cisco cryptographic products does not imply
  third-party authority to import, export, distribute or use encryption.
  Importers, exporters, distributors and users are responsible for
  compliance with U.S. and local country laws. By using this product you
  agree to comply with applicable laws and regulations. If you are unable
  to comply with U.S. and local laws, return this product immediately.
  
  A summary of U.S. laws governing Cisco cryptographic products may be found
  at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.Html
  
  If you require further assistance please contact us by sending email to
  export@cisco.com.
  
  cisco WS-C6509 (R7000) processor (revision 3.0) with 458752K/65536K bytes of
  memory.
  Processor board ID SAL0743NKW8
  SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
  Last reset from power-on
  X.25 software, Version 3.0.0.
  Bridging software.
  1 Virtual Ethernet/IEEE 802.3 interface(s)
  48 FastEthernet/IEEE 802.3 interface(s)
  36 Gigabit Ethernet/IEEE 802.3 interface(s)
  1917K bytes of non-volatile configuration memory.
  8192K bytes of packet buffer memory.
  
  65536K bytes of Flash internal SIMM (Sector size 512K).
  Logging of %SNMP-3-AUTHFAIL is enabled
  Press RETURN to get started!
  --- System Configuration Dialog ---
    Would you like to enter the initial dialog? [yes]: no
  回答:NO,进入手工配置,在router>下,输入enable
  回车,进入全局模式
  
  2.2. 远程telnet连接
  
  当完成交换机配置,并起给交换机配置了治理地址,就可以直接采用远程telnet登
  陆进入交换机了,但是必须先配置line vty的密码和enable密码才能答应远程登陆。

  配置telnet登陆命令如下:
  #conf t
  #line vty 0 4
  #login ;控制vty接口是否能够telnet
  #passWord switch
  
  3. 基本信息配置
  
  3.1. 交换机软件版本
  
  Cisco的65xx交换机支持两种版本的系统软件,分别称为Natvie IOS版本和Cat OS
  版本的系统软件,CatOS版本的软件是为了兼容之前的65xx系列交换机的命令而沿袭
  下来的。Native IOS版本软件是Cisco公司为了统一其交换机及路由器的软件风格而
  研发出来的新一代IOS系统软件,Cisco所有的交换机版本都在整体向Native IOS
  版本过渡,目前来说,Native IOS版本的软件功能和CatOS版本的软件功能相差不多,
  但是今后都会向Native IOS版本软件。
  本项目中所使用的6509交换机采用的是Native IOS版本。
  
  3.2. 查看交换机基本配置
  
  show version ;查看系统版本,内存配置,寄存器等基本信息
  show module all ;查看交换机配置模块
  show catalyst6000 chassis-mac-address ;查看交换机MAC地址
  #show version输出信息如下:
  Cisco Internetwork Operating System Software
  IOS (tm) s72033_rp Software (s72033_rp-PK9S-M), Version 12.2(17a)SX1, EARLY
  DEPLOYMENT RELEASE SOFTWARE (fc1)
  TAC Support: http://www.cisco.com/tac
  Copyright (c) 1986-2003 by cisco Systems, Inc.
  Compiled Wed 29-Oct-03 08:16 by cmong
  Image text-base: 0x40008FBC, data-base: 0x41E50000
  
  ROM: System Bootstrap, Version 12.2(14r)S9, RELEASE SOFTWARE (fc1)
  BOOTLDR: s72033_rp Software (s72033_rp-PK9S-M), Version 12.2(17a)SX1, EARLY
  DEPLOYMENT RELEASE SOFTWARE (fc1)
  
  Router uptime is 29 minutes
  Time since Router switched to active is 29 minutes
  System returned to ROM by power-on (SP by power-on)
  System restarted at 12:57:08 PST Sat Jan 31 2004
  System image file is "sup-bootflash:s72033-pk9s-mz.122-17a.SX1.bin"
  
  
  This product contains cryptographic features and is subject to United
  States and local country laws governing import, export, transfer and
  use. Delivery of Cisco cryptographic products does not imply
  third-party authority to import, export, distribute or use encryption.
  Importers, exporters, distributors and users are responsible for
  compliance with U.S. and local country laws. By using this product you
  agree to comply with applicable laws and regulations. If you are unable
  to comply with U.S. and local laws, return this product immediately.
  
  A summary of U.S. laws governing Cisco cryptographic products may be found
  at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
  
  If you require further assistance please contact us by sending email to
  export@cisco.com.
  
  cisco WS-C6509 (R7000) processor (revision 3.0) with 458752K/65536K bytes of
  memory.
  Processor board ID SAL0743NKW8
  SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
  Last reset from power-on
  X.25 software, Version 3.0.0.
  Bridging software.
  1 Virtual Ethernet/IEEE 802.3 interface(s)
  48 FastEthernet/IEEE 802.3 interface(s)
  36 Gigabit Ethernet/IEEE 802.3 interface(s)
  1917K bytes of non-volatile configuration memory.
  8192K bytes of packet buffer memory.
  65536K bytes of Flash internal SIMM (Sector size 512K).
  Standby is up
  Standby has 458752K/65536K bytes of memory.
  
  Configuration register is 0x2102
  
  Router#sho module all
  Mod Ports Card Type               Model       Serial
  No.
  --- ----- -------------------------------------- ------------------
  -----------
   2  16 16 port 1000mb GBIC
  ethernet      WS-X6416-GBIC   SAL0750QNJP
   3  16 16 port 1000mb GBIC
  ethernet      WS-X6416-GBIC   SAL0750QNFV
   5  2 Supervisor Engine 720
  (Active)     WS-SUP720-BASE   SAD075000YF
   6  2 Supervisor Engine 720
  (Warm)      WS-SUP720-BASE   SAD075109SZ
   7  48 48 port 10/100 mb
  RJ45         WS-X6348-RJ-45   SAL0752R3E6
  
  Mod MAC
  addresses            Hw  Fw      Sw      Status
  --- ---------------------------------- ------ ------------ ------------
  -------
   2 000e.8442.4850 to 000e.8442.485f  2.5  5.4(2)    8.2(0.56)TET Ok
   3 000e.8442.48f0 to 000e.8442.48ff  2.5  5.4(2)    8.2(0.56)TET Ok
   5 000d.290f.fd08 to 000d.290f.fd0b  3.0  7.7(1)    12.2(17a)SX1 Ok
   6 000e.3838.1a8c to 000e.3838.1a8f  3.0  7.7(1)    12.2(17a)SX1 Ok
   7 000e.84c8.54f0 to 000e.84c8.551f  6.8

(出处:http://www.vipcn.com)