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 Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/300, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 98281000 bits/sec, 8762 packets/sec 4545 packets input, 539950 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 watchdog, 0 multicast 0 input packets with dribble condition detected 342251216 packets output, 3093422680 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out