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

[经验分享] 如何在Cisco3825和3845上实现高速模块间的互连HIMI

[复制链接]

尚未签到

发表于 2018-7-21 11:24:50 | 显示全部楼层 |阅读模式
  By bob chen
  2011.9.22
  包括以下3种情况
  Ge(sfp)—sfp
  Ge(sfp)—NME
  NME—NME
  注意:不支持板载的Ge(RJ45)和NME之间互连
  Restrictions for Cisco High-Speed Intrachassis Module Interconnect (HIMI)
  Connections can be only established as follows:
  ? DSC0000.png Between the GE port in an installed small-form-factor pluggable (SFP) module on the Cisco 3825 and Cisco 3845 routers
  ? DSC0001.png Between GE interfaces in NME slots 1 and 2 on the Cisco 3825 router
  ? DSC0002.png Between GE interfaces in NME slots 2 and 4 on the Cisco 3845 router
DSC0003.gif

  Note DSC0004.png A module interconnection between the GE port on an SFP module and an NME slot or an NME-to-NME cross-connection is permitted at any given time, but both types of connections cannot exist at the same time.
DSC0005.gif

  Note DSC0006.png Connections between the onboard RJ-45 GE ports and NME slots are not supported.
  Information About Cisco High-Speed Intrachassis Module Interconnect
  To configure HIMI connections, you should understand the following concepts:
  ? DSC0007.png Connection Configuration Mode
  ? DSC0008.png System Error Messages for the connect Command
  Connection Configuration Mode
  Cisco 3825 and Cisco 3845 routers provide support for interconnecting NMEs using the router HIMI. This feature provides the new connect connection-name module Module1 Channel-id1 module Module2 Channel-id2 command for the Cisco IOS command line interface (CLI) that creates an interconnection between GE modules using the HIMI. Connections can be made between the onboard GE port in an SFP module and an NME or between two NMEs.
  If the new connect command is successfully executed, the router enters connection configuration mode, which is designated by the "config-module-conn" prompt. Once the router is in connection configuration mode, the commands shown in Table 1 can be issued.
  Table 1 Connection Configuration Mode Commands
  Command
  Description
  default
  Sets a command to its default values. Has no effect on the connect command functionality.
  exit
  Exits connection configuration mode. After you exit connection configuration mode, the actual connection establishment phase starts.
  shutdown
  Shuts down the connection. This command effectively deactivates the connection.
  no
  Negates a command or sets it to default. The no shutdown command reactivates a previously shut down connection.
  To establish a connection, after entering connection configuration mode, issue the exit command to return to configuration mode. The connection will be established after you leave connection configuration mode.
  关于机箱内互联命令的系统报错信息
  System Error Messages for the connect Command
  The following informational error messages appear on the console when something goes wrong during connection establishment or deletion phases:
  Table 2 connect Command System Error Messages
  Message
  Message Description
  %%CONN MODULE: Slot <slot#> is not supported
  The slot number you specified is not supported.
  %%CONN MODULE: Interconnect endpoints cannot be on the same slot
  The modules you are trying to connect cannot be in the same slot.
  %%CONN MODULE: Cannot allocate segment memory
  Attempts to allocate segment memory have failed.
  %%CONN MODULE: Cannot allocate segment data memory
  Attempts to allocate segment data memory has failed.
  %%CONN MODULE: Cannot allocate element data memory
  Attempts to allocate module list element memory have failed.
  %%CONN MODULE: Cannot establish connection between same end-points
  You have specified the same module for both segments of the connect command.
  %%CONN MODULE: Cannot delete a connection that does not exist
  You cannot delete a connection that does not exist.
  %%CONN MODULE: At least one of the modules is already in use
  You are trying to establish a connection to a module that already has a connection configured.
  %%CONN MODULE: Invalid connection found
  You are trying to establish a connection between two segments that are not modules.
  %%CONN MODULE: Media type for interface <interface-e-name> is sfp
  A connection cannot be established to GigabitEthernet0/0 when the mediatype is SFP.
  %%CONN MODULE: Interface <interface-name>, Channel <channel-id> already in use
  You are trying to establish a connection to GigabitEthernet0/0 when a connection to GigabitEthernet0/0 has already been configured.
  %%CONN MODULE: Cannot allocate memory for <interface-name> connection setup
  Attempts to allocate control message memory for the connection setup or teardown have failed.
  %%CONN MODULE: Cannot find <interface-name> Service Module
  The specified interface service module cannot be found in the service module database.
  How to Configure HIMI Connections
  This section contains the following procedures:
  ? DSC0009.png Establishing a Connection Between an SFP GE Port and a GE NME Slot
  ? DSC00010.png Establishing a Connection Between Two GE NME Slots
  ? DSC00011.png Deactivating a HIMI Connection
  1.建立SFP GEGE NME的互连配置命令
  Establishing a Connection Between an SFP GE Port and a GE NME Slot
  Follow these steps to establish a connection between an SFP module GE port and a GE NME.
  SUMMARY STEPS
  1. DSC00012.png enable
  2. DSC00013.png configure terminal
  3. DSC00014.png interface gigabitethernet 0/0
  4. DSC00015.png media-type rj45
  5. DSC00016.png exit
  6. DSC00017.png connect connection-name module Module1 Channel-id1 module Module2 Channel-id2
  7. DSC00018.png exit
  DETAILED STEPS
  Command or Action
  Purpose
  Step 1
  enable
  Example:
  Router&gt; enable
  Enables privileged EXEC mode.
  Enter your password if prompted.
  Step 2
  configure terminal
  Example:
  Router# configure terminal
  Enters global configuration mode.
  Step 3
  interface gigabitethernet 0/0
  Example:
  Router(config)# interface gigabitethernet 0/0
  Enters interface configuration mode on the Gigabit Ethernet 0/0 interface.
  Step 4
  media-type rj45
  Example:
  Router(config-if)# media-type rj45
  Ge on SFP互连必须配置RJ45模式
  Sets the media type on the Gigabit Ethernet 0/0 interface to RJ-45.
  Note DSC00019.png In order to create a connection to the GE port on the SFP module, the media type on the GE interface must be RJ-45. A connection cannot be established if the media type is SFP.
  Step 5
  exit
  Example:
  Router(config-if)# exit
  Exits interface configuration mode.
  Step 6
  connect connection-name module Module1Channel-id1 module Module2 Channel-id2
  Example:
  Router(config)# connect connection1 module GigabitEthernet0/0 0 module GigabitEthernet4/0 0

  Creates the connection>  Note DSC00020.png Since this procedure creates a connection between the SFP GE port and an NME, either Module1 or Module2 must be GigabitEthernet0/0.
  Note DSC00021.png On Cisco 3825 and Cisco 3845 routers, only one channel per slot is defined. Therefore, the Channel-id1 and Channel-id2 variables must always have a value of 0.
  After this command is issued, the router enters connection configuration mode.
  Step 7
  exit
  Example:
  Router(config-module-conn)# exit
  Exits module configuration mode. After you exit connection configuration mode, the connection establishment begins.
  Examples
  The example below shows the creation of a connection between the SFP GE port and a GE interface on NME slot 4:
  Router(config)# interface gigabitethernet 0/0
  Router(config-if)# media-type rj45
  Router(config)# connect connection1 module GigabitEthernet0/0 0 module GigabitEthernet4/0 0
  Router(config-module-conn)# exit
  Troubleshooting Tips
  In addition to the system error messages listed in the &quot;System Error Messages for the connect Command&quot; section, the following commands can help troubleshoot NME connections:
  ? DSC00022.png show connection all

  ? DSC00023.png show connection>  where connection-id is in the range of 0 to 10000
  ? DSC00024.png show connection name connection-name
  ? DSC00025.png show interfaces gigabitethernet 0/0—If a connection has successfully been established between the SFP module and an NME slot, this command will display the output &quot;SFP in use with an NME in Module Interconnection.&quot;
  2.建立GE NMEGE NME的互连配置命令
  Establishing a Connection Between Two GE NME Slots
  Follow these steps to establish a connection between two GE NMEs.
  SUMMARY STEPS
  1. DSC00026.png enable
  2. DSC00027.png configure terminal
  3. DSC00028.png connect connection-name module Module1 Channel-id1 module Module2 Channel-id2
  4. DSC00029.png exit
  DETAILED STEPS
  Command or Action
  Purpose
  Step 1
  enable
  Example:
  Router&gt; enable
  Enables privileged EXEC mode.
  ? DSC00030.png Enter your password if prompted.
  Step 2
  configure terminal
  Example:
  Router# configure terminal
  Enters global configuration mode.
  Step 3
  connect connection-name module Module1Channel-id1 module Module2 Channel-id2
  Example:
  Router(config)# connect connection1 module GigabitEthernet2/0 0 module GigabitEthernet4/0 0

  Creates the connection>  Note DSC00031.png On Cisco 3825 and Cisco 3845 routers, only one channel per slot is defined. Therefore, the Channel-id1 and Channel-id2 variables must always have a value of 0.
  After this command is issued, the router enters module configuration mode.
  Step 4
  exit
  Example:
  Router(config-module-conn)# exit
  Exits module configuration mode. After exiting module configuration mode, the connection establishment begins.
  Examples
  The example below shows the creation of a connection between a GE interface on NME slot 2 and a GE interface on NME slot 4:
  Router(config)# connect connection1 module GigabitEthernet2/0 0 module GigabitEthernet4/0 0
  Router(config-module-conn)# exit
  Troubleshooting Tips
  In addition to the system error messages listed in the &quot;System Error Messages for the connect Command&quot; section, the following commands can help troubleshoot NME connections:
  ? DSC00032.png show connection all

  ? DSC00033.png show connection>  where connection-id is in the range of 0 to 10000
  ? DSC00034.png show connection name connection-name
  ? DSC00035.png show service-module status—If a connection has successfully been established to an NME slot, this command will display the output &quot;Interface GigabitEthernet <port_number> is connected to BACKPLANE.&quot;
  撤销HIMI连接
  Deactivating a HIMI Connection
  Follow these steps to deactivate a connection between two GE modules.
  SUMMARY STEPS
  1. DSC00036.png enable
  2. DSC00037.png configure terminal
  3. DSC00038.png no connect connection-name
  DETAILED STEPS
  Command or Action
  Purpose
  Step 1
  enable
  Example:
  Router&gt; enable
  Enables privileged EXEC mode.
  ? DSC00039.png Enter your password if prompted.
  Step 2
  configure terminal
  Example:
  Router# configure terminal
  Enters global configuration mode.
  Step 3
  no connect connection-name
  Example:
  Router(config)# no connect connection1
  Removes the connection specified by connection-name.
  Configuration Examples for Cisco High-Speed Intrachassis Module Interconnect
  This section contains the following examples:
  ? DSC00040.png Sample Connection Between an SFP GE Port and a GE NME Slot
  ? DSC00041.png Sample Connection Between Two GE NME Slots
  Sample Connection Between an SFP GE Port and a GE NME Slot
  The following sample output from a router configuration file shows a connection between the GE port on an SFP module and a GE slot on an NME:
  Router# show running-config
  ..
  interface GigabitEthernet0/0
  mac-address 0002.0022.2222
  ip address 192.168.0.2 255.255.255.0
  load-interval 30
  duplex auto
  speed auto
  media-type rj45
  ..
  interface GigabitEthernet4/0
  ip address 192.168.4.1 255.255.255.0
  !

  ip>  ip route 10.10.0.0 255.255.0.0 1.3.0.1
  !
  ip http server
  !
  connect connection-1 module GigabitEthernet0/0 0 module GigabitEthernet4/0 0
  .
  Sample Connection Between Two GE NME Slots
  The following sample output from a router configuration file shows a connection between two GE slots on an NME:
  Router# show running-config
  .
  interface GigabitEthernet4/0
  ip address 192.168.4.1 255.255.255.0
  !

  ip>  ip route 10.10.0.0 255.255.0.0 1.3.0.1
  !
  ip http server
  !
  connect connection-1 module GigabitEthernet2/0 0 module GigabitEthernet4/0 0

运维网声明 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.iyunv.com/thread-539468-1-1.html 上篇帖子: cisco 65series:sup-bootflash和bootflash 下篇帖子: 如何设置CISCO路由器密码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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

扫描微信二维码查看详情

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


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


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


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



合作伙伴: 青云cloud

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