Cisco IOS和Cisco路由器的Catalyst交换机之间( 二 )


Catalyst 6500交换机(没有VLAN中继 )
Building configuration...
 
Current configuration : 5869 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname cat6500
!
boot buffersize 126968
boot system flash slot0:c6sup11-jsv-mz.121-8b.EX4.bin
boot bootldr bootflash:c6msfc-boot-mz.121-4.E1
enable password ww
!
redundancy
 main-cpu
auto-sync standard
ip subnet-zero
!
!
no ip finger
!
!
!
!
!-- In this example, we have configured Layer 3 EtherChannel.
!-- For more details, refer to the following document:
!-- Configuring Layer 3 and Layer 2 EtherChannel Switchport.
!-- A logical port-channel interface is automatically created
!-- when ports are grouped in to a channel group.
interface Port-channel 1
 ip address 11.1.1.2 255.255.255.0
 hold-queue 300 in
!
interface GigabitEthernet1/1
 no ip address
 shutdown
!
interface GigabitEthernet1/2
 no ip address
 shutdown
!
interface FastEthernet3/1
no ip address
!-- Port is member of channel group 1. Routers do not support Etherchannel
!-- negotiation (PAgP), so PAgP needs to be disabled.
!-- On a Catalyst 4000 switch, all ports are Layer 2 port by default. Convert
!-- this port from physical Layer 2 port to physical Layer 3 port using the
!-- no switchport command.
channel-group 1 mode on
interface FastEthernet3/2
 no ip address
!-- Port is member of channel group 1. Routers do not support Etherchannel
!-- negotiation (PAgP), so PAgP needs to be disabled.
!-- On a Catalyst 4000 switch, all ports are Layer 2 port by default. Convert
!-- this port from physical Layer 2 port to physical Layer 3 port using the
!-- no switchport command.

channel-group 1 mode on
interface FastEthernet3/3
 no ip address
 switchport
 switchport mode Access
!
(....Output is suppressed)
!
ip classless
no ip http server
!
!
!
line con 0
 transport input none
line vty 0 4
!
end

Cisco 7500路由器(没有VLAN中继)
(....Output is suppressed)
!
interface Port-channel1
 ip address 11.1.1.1 255.255.255.0
 hold-queue 300 in
!
interface FastEthernet0/0
 no ip address
 full-duplex
 channel-group 1
!
interface FastEthernet0/1
 no ip address
 full-duplex
 channel-group 1
(....Output is suppressed)

debug 及show 命令
检查端口信道在集成 Cisco IOS交换问题以下命令:
show EtherChannel端口信道<信道id >
检查端口信道在Cisco IOS路由器 问题以下命令:
show interface port-channel <信道 id >
示例显示命令输出
Catalyst 6500交换机
show etherchnl < channel-id > port-channel
Cisco 7500路由器
show interface port-channel < 信道id >
Router# show interface Port-channel 1
Port-channel1 is up, line protocol is up
Hardware is FastEtherChannel, address is 00e0.1476.7600 (bia
0000.0000.0000)
Internet address is 11.1.1.1/24
MTU 1500 bytes, BW 400000 Kbit, DLY 100 usec, rely 255/255, load
62/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec), hdx
ARP type: ARPA, ARP Timeout 04:00:00
No. of members in this fechannel: 2
Member 0 : FastEthernet0/0
Member 1 : FastEthernet0/1
Last input never, output never, output hang never
Last clearing of "show interface" counters 10:51:55

推荐阅读