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:
?Between the GE port in an installed small-form-factor pluggable (SFP) module on the Cisco 3825 and Cisco 3845 routers
?Between GE interfaces in NME slots 1 and 2 on the Cisco 3825 router
?Between GE interfaces in NME slots 2 and 4 on the Cisco 3845 router
Note 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.
Note 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:
?Connection Configuration Mode
?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:
?Establishing a Connection Between an SFP GE Port and a GE NME Slot
?Establishing a Connection Between Two GE NME Slots
?Deactivating a HIMI Connection
1.建立SFP GE和GE 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. enable
2. configure terminal
3. interface gigabitethernet 0/0
4. media-type rj45
5. exit
6. connect connection-name module Module1 Channel-id1 module Module2 Channel-id2
7. exit
DETAILED STEPS
| Command or Action | Purpose |
Step 1 | enable Example: Router> 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 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 identified as connection-name between the GE module Module1 and the GE module Module2. Note Since this procedure creates a connection between the SFP GE port and an NME, either Module1 or Module2 must be GigabitEthernet0/0. Note 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 "System Error Messages for the connect Command" section, the following commands can help troubleshoot NME connections:
?show connection all
?show connection id connection-id
where connection-id is in the range of 0 to 10000
?show connection name connection-name
?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 "SFP in use with an NME in Module Interconnection."
2.建立GE NME和GE NME的互连配置命令
Establishing a Connection Between Two GE NME Slots
Follow these steps to establish a connection between two GE NMEs.
SUMMARY STEPS
1. enable
2. configure terminal
3. connect connection-name module Module1 Channel-id1 module Module2 Channel-id2
4. exit
DETAILED STEPS
| Command or Action | Purpose |
Step 1 | enable Example: Router> enable | Enables privileged EXEC mode. ?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 identified as connection-name between the GE NME slot Module1 the GE NME slot Module2. Note 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 "System Error Messages for the connect Command" section, the following commands can help troubleshoot NME connections:
?show connection all
?show connection id connection-id
where connection-id is in the range of 0 to 10000
?show connection name connection-name
?show service-module status—If a connection has successfully been established to an NME slot, this command will display the output "Interface GigabitEthernet <port_number> is connected to BACKPLANE."
撤销HIMI连接
Deactivating a HIMI Connection
Follow these steps to deactivate a connection between two GE modules.
SUMMARY STEPS
1. enable
2. configure terminal
3. no connect connection-name
DETAILED STEPS
| Command or Action | Purpose |
Step 1 | enable Example: Router> enable | Enables privileged EXEC mode. ?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:
?Sample Connection Between an SFP GE Port and a GE NME Slot
?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 classless
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 classless
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