zoukankan      html  css  js  c++  java
  • Cisco设备参数总结

    Cisco设备参数总结

    1.MAC与TCAM的区别:
    两张表所其作用的环境不同,MAC表是全局表,一般通过全局CPU进程转发需要查看MAC表,但是,现在基本都是硬件快速转发,那么这个时候就生成了CAM表,它其实是从MAC表衍生出来的,每个接口都可以有CAM以便快速转发。简而言之,CAM从MAC转变而来,并用于基于硬件的快速转发。

    2.TCAM表
    TCAM (ternary content addressable memory)是一种三态内容寻址存储器,主要用于快速查找ACL、路由等表项。它是从CAM的基础上发展而来的。一般的CAM存储器中每个bit位的状态只有两个,“0”或“1”,而TCAM中每个bit位有三种状态,除掉“0”和“1”外,还有一个“don’t care”状态,所以称为“三态”,它是通过掩码来实现的,正是TCAM的这个第三种状态特征使其既能进行精确匹配查找,又能进行模糊匹配查找,而CAM没有第三种状态,所以只能进行精确匹配查找。

    3.Configuration Register

    Configuration Register SettingRouter Behavior
    0x102
    • Ignores break
    • 9600 console baud
    0x1202
    • 1200 baud rate
    0x2101
    • Boots into bootstrap
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate
    0x2102
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate default value for most platforms
    0x2120
    • Boots into ROMmon
    • 19200 console speed
    0x2122
    • Ignores break
    • Boots into ROM if initial boot fails
    • 19200 console baud rate
    0x2124
    • NetBoot
    • Ignores break
    • Boots into ROM if initial boot fails
    • 19200 console speed
    0x2142
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate
    • Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)
    0x2902
    • Ignores break
    • Boots into ROM if initial boot fails
    • 4800 console baud rate
    0x2922
    • Ignores break
    • Boots into ROM if initial boot fails
    • 38400 console baud rate
    0x3122
    • Ignores break
    • Boots into ROM if initial boot fails
    • 57600 console baud rate
    0x3902
    • Ignores break
    • Boots into ROM if initial boot fails
    • 2400 console baud rate
    0x3922
    • Ignores break
    • Boots into ROM if initial boot fails
    • 115200 console baud rate
    Configuration Register SettingRouter Behavior
    0x102
    • Ignores break
    • 9600 console baud
    0x1202
    • 1200 baud rate
    0x2101
    • Boots into bootstrap
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate
    0x2102
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate default value for most platforms
    0x2120
    • Boots into ROMmon
    • 19200 console speed
    0x2122
    • Ignores break
    • Boots into ROM if initial boot fails
    • 19200 console baud rate
    0x2124
    • NetBoot
    • Ignores break
    • Boots into ROM if initial boot fails
    • 19200 console speed
    0x2142
    • Ignores break
    • Boots into ROM if initial boot fails
    • 9600 console baud rate
    • Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)
    0x2902
    • Ignores break
    • Boots into ROM if initial boot fails
    • 4800 console baud rate
    0x2922
    • Ignores break
    • Boots into ROM if initial boot fails
    • 38400 console baud rate
    0x3122
    • Ignores break
    • Boots into ROM if initial boot fails
    • 57600 console baud rate
    0x3902
    • Ignores break
    • Boots into ROM if initial boot fails
    • 2400 console baud rate
    0x3922
    • Ignores break
    • Boots into ROM if initial boot fails
    • 115200 console baud rate

    记住常用的几个:
    0x0040:表示允许路由读取NVRAM中的配置文件。
    0x141:表示关闭Break键,不使用NVRAM中的配置文件,并且从系统默认的ROM中的系统中启动。
    0x2100:Rom Monitor监视模式
    0x2101:进入boot模式,从ROM中启用miniIOS。
    0x2102:运行过程中中断键被屏蔽,路由器会查看NVRAM中的配置内容以确定启动次序,如果启动失败会采用缺省的ROM软件进行启动。
    0x2141:从Boot RAM中启动,但不使用NVRAM中的配置文件其中C位的第三位为1时表示关闭Break键,反之表示打开Break键。
    0x2142:恢复密码时使用。忽略NVRAM的配置信息而进入初始配置对话模式中去。

    4.Cisco常见交换机MAC数量或容量
    设备正常运行时,基于设备的稳定性考虑,要求MAC地址数量不超过规格的80%:
    2960系列交换机:支持的MAC地址8000
    3560系列交换机:支持的MAC地址12000
    4948系列交换机:支持的MAC地址32768~55000
    4500系列交换机:支持的MAC地址,单播32K,组播16K
    6500系列交换机:支持的MAC地址,最多64K,有效32K

    5.Cisco常见交换机支持路由数量或容量
    设备正常运行时,基于设备的稳定性考虑,要求设备路由总数不超过厂家提供设备规格的80%。
    3560系列交换机:支持的路由总数11000
    4948系列交换机:支持的路由总数32K
    6500系列交换机:支持的路由总数sup32:256K,sup720:256K~1000K

    6.设备引擎冗余模式
    1.HAS(High System Availability)
    为了提高系统的可靠性,允许在单个路由器里面安装两个RP(该模式只在7500系列上可以用),这种模式是采用"冷启动"方式,即当active RP fail后,另外一个RP reboot路由器 10 minutes/20 minutes。
    2.RPR(Route Processor Redundancy)
    在standby模式中,Active RP同步startup配置到standby RP,如果发生致命错误时,系统将切换到standby RP.然后重新加载配置,重启所有线卡,restart系统. 5 minutes/15 minutes。
    3.RPR+(Route processor redundancy+)
    在RPR+模式下,standby RP完全初始化了,Active RP动态地同步startup和running的配置到standby RP,即当Active RP出现问题时,standby RP不需要reload,但线卡,协议,应用状态信息不会同步到standby RP 30 seconds/11 minutes。
    4.SSO(Stateful Switchover)
    SSO模式提供RPR+所提到的所有功能,另外SSO支持两个RP之间线卡,协议,应用状态信息等的同步 7 seconds/7 minutes。

    7.设备电源冗余模式
    1.冗余(Redundant)
    主电源坏了,第二个电源可以在不中断网络的情况下支持。两个电源必须相同瓦特。单个电源必须满足交换机配置。
    2.结合(Combined)
    所有安装的电源都提供交换机电源。但是如果一个失效,一个或多个模块可能关闭。

    选择电源模式注意事项:
    缺省交换机在冗余模式。在show power下,出现power supplies needed by system is 1。如果是2就是结合模式。 
    可以用show power module找出模块工作的电源以及在reset状态的电源需求。 
    缺省为冗余模式。为了有效的利用冗余模式,务必:
    1.两个电源相同类型。(fixed or variable and AC or DC)
    2.如果是只有一个电源,还是会工作在冗余模式,但没有冗余。
    3.对于固定瓦特电源,选一个用它就可以满足所有配置的。
    4.对了可变瓦特电源,选一个满足所有配置不超过最大可用电源的。

    Switch# configure terminal
    Switch(config)# power redundancy-mode redundant
    Switch(config)# end
    Switch# show power supplies
    Power supplies needed by system :1

    配置4500的结合模式
    如果交换机的配置单电源不够,用结合模式。结合模式利用2个电源,但是没有冗余。为了有效利用结合模式,务必:
    1.电源同类型和瓦特(fixed or variable and AC or DC)。
    2.如果电源不同类型或瓦特,交换机只会利用其中一个。
    3.如果是结合模式,但只有一个电源,交换机接受配置,但只有一个电源可用。
    4.结合模式下,总可用电源不是两个电源所加。

  • 相关阅读:
    B.Icebound and Sequence
    Educational Codeforces Round 65 (Rated for Div. 2) D. Bicolored RBS
    Educational Codeforces Round 65 (Rated for Div. 2) C. News Distribution
    Educational Codeforces Round 65 (Rated for Div. 2) B. Lost Numbers
    Educational Codeforces Round 65 (Rated for Div. 2) A. Telephone Number
    Codeforces Round #561 (Div. 2) C. A Tale of Two Lands
    Codeforces Round #561 (Div. 2) B. All the Vowels Please
    Codeforces Round #561 (Div. 2) A. Silent Classroom
    HDU-2119-Matrix(最大匹配)
    读书的感想!
  • 原文地址:https://www.cnblogs.com/danbo/p/4635008.html
Copyright © 2011-2022 走看看