Dit document biedt een voorbeeldconfiguratie voor de manier waarop u een EtherChannel kunt instellen tussen een Catalyst 3550 en een Catalyst 6500/6000 met Cisco IOS®-systeemsoftware. EtherChannel kan Fast EtherChannel of Gigabit EtherChannel worden genoemd, afhankelijk van de snelheid van interfaces of poorten die worden gebruikt om EtherChannel te vormen.
Opmerking: de EtherChannel-opdrachten die in dit document op de Catalyst 3550 switch zijn toegepast, kunnen ook worden toegepast op Catalyst 3750 Series switches.
Er zijn geen specifieke vereisten van toepassing op dit document.
De informatie in dit document is gebaseerd op de volgende software- en hardware-versies:
Catalyst 3550 switch met Cisco IOS-softwarerelease 12.1(14)EA
Catalyst 6500/6000 switch met Cisco IOS-softwarerelease 12.1(13)E1
De informatie in dit document is gebaseerd op de apparaten in een specifieke laboratoriumomgeving. Alle apparaten die in dit document worden beschreven, hadden een opgeschoonde (standaard)configuratie. Als uw netwerk live is, moet u de potentiële impact van elke opdracht begrijpen.
In dit document zijn twee Gigabit Ethernet-interfaces op een Catalyst 3550-switch — de Gigabit Ethernet-interface op de 3500 is een 10/100/1000 Ethernet-interface met onderhandelingen — gebundeld in een Fast EtherChannel met twee Fast Ethernet-interfaces van een Catalyst 6500/6000 switch met Cisco IOS-systeemsoftware om een Layer 2 (L2) EtherChannel te vormen.
Opmerking: in dit document verwijzen Fast EtherChannel, Gigabit EtherChannel, poortkanaal en kanaalgroep allemaal naar EtherChannel.
De Catalyst switch-configuratie in dit document is van toepassing op alle Catalyst 6500/6000 of Catalyst 4500/4000 Series switch met Cisco IOS-systeemsoftware.
Dit document toont configuratiebestanden voor alleen de switches en uitvoer van de bijbehorende voorbeeldopdrachten. Zie deze documenten voor meer informatie over het configureren van een EtherChannel:
Layer 2 EtherChannel-sectie configureren van EtherChannel (Catalyst 3550 switch)
Layer 3 EtherChannel-sectie configureren van EtherChannel (Catalyst 3560 switch)
Layer 2 EtherChannel-sectie configureren van EtherChannel (Catalyst 3750 switch)
Layer 3 en Layer 2 EtherChannel (Catalyst 6500/6000 met Cisco IOS-systeemsoftware) configureren
Layer 2 EtherChannel-sectie configureren voor inzicht in en configuratie van EtherChannel (Catalyst 4500/4000 waarop Cisco IOS-systeemsoftware wordt uitgevoerd)
EtherChannel kan handmatig worden geconfigureerd met de juiste opdrachten. U kunt EtherChannel ook automatisch configureren met Port Aggregation Protocol (PAgP) zodat de switch het kanaal met de andere kant kan onderhandelen. Zie voor meer informatie over PAgP deze documenten:
De sectie Port Aggregation Protocol van configureren van EtherChannel (Catalyst 3550 switch)
De sectie Port Aggregation Protocol van Configureren EtherChannel (Catalyst 3560 switch) begrijpen
De sectie van het Protocol van de Poortaggregatie van het Vormen EtherChannel (Catalyst 3750 switch)
De sectie Port Aggregation Protocol van Configureren EtherChannel (Catalyst 6500/6000 met Cisco IOS-systeemsoftware)
De sectie Port Aggregation Protocol begrijpen en configureren van EtherChannel (Catalyst 4500/4000 waarop Cisco IOS-systeemsoftware wordt uitgevoerd)
De configuraties in dit document worden geïmplementeerd bij het gebruik van de gewenste modus. Als u van plan bent om EtherChannel handmatig te configureren, gebruikt u de stappen die u hebt opgegeven om een poortkanaal te maken. Dit voorkomt problemen met Spanning Tree Protocol (STP) tijdens het configuratieproces. STP kan sommige poorten afsluiten, met een poortstatus van fout-uitgeschakeld [err<], als de ene kant is geconfigureerd als een kanaal voordat de andere kant kan worden geconfigureerd als een kanaal.
Voer deze stappen uit om een poortkanaal te maken:
Laat de interfaces worden gebruikt in poortkanalisatie als administratief afsluiten.
Maak het poortkanaal (kanaalgroep) op de Catalyst 6500/6000 switch.
Zorg ervoor dat u de kanaalmodus instelt op, bijvoorbeeld, kanaal-groep 1 modus aan.
Maak poortkanalen aan op de Catalyst 3550, 3560 of 3750 switch.
Zorg ervoor dat u de kanaalmodus op Aan instelt.
Schakel de interfaces uit die eerder op de Catalyst 6500/6000 switch zijn uitgeschakeld met de opdracht niet afsluiten.
Deze sectie bevat informatie over het configureren van de functies die in dit document worden beschreven.
Opmerking: Gebruik Command Lookup Tool (alleen voor geregistreerde klanten) voor meer informatie over de opdrachten die in dit document worden gebruikt.
Dit document gebruikt de netwerkinstellingen die in dit diagram worden weergegeven:
Opmerking: de Gigabit Ethernet-interface op Catalyst 3550 is een 10/100/1000 Mbps Ethernet-interface met onderhandelingen. De Gigabit-poort op Catalyst 3550 kan ook worden aangesloten op een Fast Ethernet-poort (100 Mbps) op een Catalyst 6500/6000.
Opmerking: de Catalyst 3750 Series switches ondersteunen cross-stack EtherChannel, waarmee interfaces van verschillende stack switches lid kunnen zijn van dezelfde EtherChannel-groep. Raadpleeg voor meer informatie over EtherChannel in een gestapelde switch-omgeving de sectie EtherChannel- en Switch Stacks van de documentatie over EtherChannel configureren voor Catalyst 3750 Series switches.
Dit document gebruikt de volgende configuraties:
Catalyst 3550 |
---|
Building configuration... Current configuration : 1610 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat3550 ! enable password ww ! ip subnet-zero no ip finger ! ! ! ! !--- A logical port-channel interface is automatically created !--- when ports are grouped into a channel group. interface Port-channel 1 !--- In this example, the L2 EtherChannel is configured. !--- A Layer 3 (L3) EtherChannel can also be configured on the Catalyst 3550 switches. !--- For more information, refer to the document Configuring EtherChannel. switchport mode access no ip address snmp trap link-status! !--- Note: The Gigabit Ethernet interface on the Catalyst 3550 is a !--- 10/100/1000 Mbps negotiated Ethernet interface. The Gigabit port on the Catalyst 3550 is !--- connected to a FastEthernet (100 Mbps) port on the Catalyst 6500/6000. !--- The port is a member of channel group 1. interface GigabitEthernet0/1 switchport mode access no ip address snmp trap link-status channel-group 1 mode desirable ! !--- The port is a member of channel group 1. interface GigabitEthernet0/2 switchport mode access no ip address snmp trap link-status channel-group 1 mode desirable ! interface GigabitEthernet0/3 switchport mode access no ip address snmp trap link-status ! !--- Output suppressed. interface GigabitEthernet0/12 switchport mode access no ip address snmp trap link-status !--- Interface VLAN1 is required for management purposes. interface Vlan1 ip address 10.1.1.1 255.255.255.0 ! ip classless ip http server ! ! line con 0 transport input none line vty 5 15 ! end |
Catalyst 6500/6000 |
---|
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 bootldr bootflash:c6msfc-boot-mz.121-4.E1 enable password ww ! redundancy main-cpu auto-sync standard ip subnet-zero ! ! no ip finger ! ! ! ! !--- A logical port-channel interface is automatically created !--- when ports are grouped into a channel group. interface Port-channel 1 no ip address switchport switchport mode access ! interface GigabitEthernet1/1 no ip address shutdown ! interface GigabitEthernet1/2 no ip address shutdown ! !--- Note: The Gigabit Ethernet interface on the Catalyst 3550 is a !--- 10/100/1000 Mbps negotiated Ethernet interface. The Gigabit port on the Catalyst 3550 is !--- connected to a FastEthernet (100 Mbps) port on the Catalyst 6500/6000. interface FastEthernet3/1 no ip address !--- In this example, the L2 EtherChannel is configured. !--- An L3 EtherChannel can also be configured on the Catalyst 6500/6000 running !--- Cisco IOS System Software. For more details, refer to the document !--- Configuring EtherChannel. !--- On a Catalyst 6500/6000, you must issue the switchport !--- command once, without any keywords, in order to configure the interface as an L2 port. !--- By default, all the ports are router ports (L3 ports). !--- On a Catalyst 4500/4000 switch, all ports are L2 ports by default; !--- no additional command is required. switchport !--- This command puts the interface in VLAN1, by default. switchport mode access !--- The port is a member of channel group 1. channel-group 1 mode desirable ! interface FastEthernet3/2 no ip address !--- On a Catalyst 6500/6000, you must issue the switchport !--- command once, without any keywords, in order to configure the interface as an L2 port. !--- By default, all the ports are router ports (L3 ports). !--- On a Catalyst 4500/4000 switch, all ports are L2 ports by default; !--- no additional command is required. switchport !--- This command puts the interface in VLAN1, by default. switchport mode access !--- The port is a member of channel group 1. channel-group 1 mode desirable ! interface FastEthernet3/3 no ip address switchport switchport mode access ! !--- Output suppressed. ! interface FastEthernet3/48 no ip address switchport switchport mode access ! !--- Interface VLAN1 is required for management purposes. interface Vlan1 ip address 10.1.1.2 255.255.255.0 ! ip classless no ip http server ! ! ! line con 0 transport input none line vty 0 4 ! end |
Opmerking: Dit configuratievoorbeeld toont een EtherChannel-configuratie met toegangskoppelingen. De zelfde configuratie is van toepassing op EtherChannel trunklinks. Geef het commando van de switchport-modus uit of laat de switches de modus onderhandelen met de gewenste dynamische modus. Raadpleeg VLAN Trunk Protocol (VTP) configureren voor meer informatie over het configureren van trunking.
Een ander voorbeeld van de configuratie van poortkanaal met subinterface in Catalyst 3560 switch met Cisco IOS-softwarerelease 12.2(25)S.
Catalyst 3560 |
---|
Building configuration... Current configuration : 2480 bytes ! version 12.2 ! interface Port-channel5 no switchport no ip address ! interface Port-channel5.690 ! interface Port-channel10 no switchport no ip address ! interface Port-channel10.1 ! interface Port-channel10.690 ! interface Port-channel11 no switchport no ip address |
Bepaalde opdrachten met show worden ondersteund door de tool Output Interpreter (alleen voor geregistreerde klanten). Hiermee kunt u een analyse van de output van opdrachten met show genereren.
Om het poortkanaal in Catalyst 6500/6000 en Catalyst 3500 switches met Cisco IOS-systeemsoftware te verifiëren, geeft u deze opdrachten uit:
toon interfaces poort-kanaal kanaal-groep-nummer
samenvatting van etherchannel-kanaalgroep-nummer tonen
Om de STP-status te controleren in Catalyst 6500/6000 en Catalyst 3500 switches met Cisco IOS-systeemsoftware, geeft u deze opdracht:
details van VLAN-nummer tonen
Cat3550#show interface port-channel 1 Port-channel1 is up, line protocol is up Hardware is EtherChannel, address is 0002.4b28.db02 (bia 0002.4b28.db02) MTU 1500 bytes, BW 200000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s input flow-control is off, output flow-control is off Members in this channel: Gi0/1 Gi0/2 ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:03:27, output 00:00:00, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 26 packets input, 5344 bytes, 0 no buffer Received 17 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 59 packets output, 5050 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out Cat3550#show spanning-tree vlan 1 detail VLAN1 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 32768, address 0002.4b28.db01 Configured hello time 2, max age 20, forward delay 15 We are the root of the spanning tree Topology change flag not set, detected flag not set Number of topology changes 1 last change occurred 00:00:38 ago from Port-channel1 Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Timers: hello 0, topology change 0, notification 0, aging 0 Port 65 (Port-channel1) of VLAN1 is forwarding Port path cost 12, Port priority 128, Port Identifier 128.65. Designated root has priority 32768, address 0002.4b28.db01 Designated bridge has priority 32768, address 0002.4b28.db01 Designated port id is 128.65, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 34, received 0 Cat3550# show etherchannel 1 summary Flags: D - down P - in port-channel I - stand-alone s - suspended R - Layer3 S - Layer2 U - port-channel in use Group Port-channel Ports -----+------------+----------------------------------------------------------- 1 Po1(SU) Gi0/1(P) Gi0/2(P) Cat3550# ping 10.1.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Cat6500# show interface port-channel 1 Port-channel1 is up, line protocol is up Hardware is EtherChannel, address is 0002.7ef1.36e1 (bia 0002.7ef1.36e1) MTU 1500 bytes, BW 200000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Full-duplex, 100Mb/s Members in this channel: Fa3/1 Fa3/2 ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/2000, 0 drops 5 minute input rate 1000 bits/sec, 1 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 407 packets input, 34994 bytes, 0 no buffer Received 311 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 93 packets output, 16598 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 Cat6500# show spanning-tree vlan 1 detail VLAN1 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 32768, address 00d0.024f.6001 Configured hello time 2, max age 20, forward delay 15 Current root has priority 32768, address 0002.4b28.db01 Root port is 833 (Port-channel1), cost of root path is 12 Topology change flag not set, detected flag not set Number of topology changes 0 last change occurred 00:02:13 ago Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Timers: hello 0, topology change 0, notification 0, aging 300 Port 833 (Port-channel1) of VLAN1 is forwarding Port path cost 12, Port priority 128, Port Identifier 131.65. Designated root has priority 32768, address 0002.4b28.db01 Designated bridge has priority 32768, address 0002.4b28.db01 Designated port id is 128.65, designated path cost 0 Timers: message age 1, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 0, received 66 Cat6500# show etherchannel 1 summary Flags: D - down P - in port-channel I - stand-alone s - suspended R - Layer3 S - Layer2 Group Port-channel Ports -----+------------+----------------------------------------------------------- 1 Po1(SU) Fa3/1(P) Fa3/2(P) Cat6500# ping 10.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Een veel voorkomend probleem tijdens de EtherChannel-configuratie is dat de interfaces in de foutloze modus gaan. Dit is te zien wanneer EtherChannel in één switch is overgeschakeld op de ON-modus en de andere switch niet onmiddellijk is geconfigureerd. Indien deze status een minuut of zo wordt gelaten, denkt STP op de switch waar EtherChannel is ingeschakeld dat er een lus is. Hierdoor worden de kanaalpoorten onklaar gemaakt. Zie dit voorbeeld voor meer informatie over hoe u kunt bepalen of uw EtherChannel-interfaces zich in de foutloze status bevinden:
%SPANTREE-2-CHNL_MISCFG: Detected loop due to etherchannel misconfiguration of Gi0/9 %PM-4-ERR_DISABLE: channel-misconfig error detected on Po10, putting Gi0/9 in err-disable state %PM-4-ERR_DISABLE: channel-misconfig error detected on Po10, putting Gi0/10 in err-disable state
Switch1#show etherchannel summary Flags: D - down P - in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 u - unsuitable for bundling U - in use f - failed to allocate aggregator d - default port Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 10 Po10(SD) - Gi0/9(D) Gi0/10(D) Switch1#show interfaces GigabitEthernet 0/9 status Port Name Status Vlan Duplex Speed Type Gi0/9 err-disabled 1 auto auto 10/100/1000BaseTX Switch1#show interfaces GigabitEthernet 0/10 status Port Name Status Vlan Duplex Speed Type Gi0/10 err-disabled 1 auto auto 10/100/1000BaseTX
De foutmelding geeft aan dat EtherChannel is geconfronteerd met een overspannende boomloop. Om het probleem op te lossen, stelt u de kanaalmodus in op gewenst aan beide zijden van de verbinding en schakelt u de interfaces opnieuw in:
Switch1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch1(config)#interface gi0/9 Switch1(config-if)#channel-group 10 mode desirable
Dit zorgt ervoor dat elke kant alleen een kanaal vormt als ze beiden akkoord gaan met het kanaliseren. Als ze niet instemmen met kanalisatie, blijven ze functioneren als normale poorten.
Nadat de kanaalmodus is ingesteld op wenselijke waarden aan beide zijden van de verbinding, geeft u de opdrachten voor het uitschakelen en niet afsluiten op de bijbehorende interface uit om de poorten handmatig opnieuw in te schakelen:
Switch1(config-if)#shutdown Switch1(config-if)#no shutdown
Het speed nonegotiate commando geconfigureerd op een poortkanaal verschijnt niet altijd in de lopende configuratie. Dit gebeurt omdat de interface van het poortkanaal afhankelijk is van die van gebundelde poorten. Het wordt ingevoegd wanneer het poortkanaal actief is en is gebaseerd op de configuratie van de afzonderlijke kanaalpoorten.
Revisie | Publicatiedatum | Opmerkingen |
---|---|---|
1.0 |
04-Dec-2001
|
Eerste vrijgave |