Dit document biedt voorbeeldconfiguraties op IEEE 802.1Q/Inter-Switch Link (ISL) trunking en Layer 2 (L2) EtherChannel tussen Cisco Catalyst 2900 XL/3500 XL of Catalyst 2950 Series switches en een Catalyst 6500/6000 switch die Cisco IOS®-software uitvoert. U kunt ook een Catalyst 4500/4000 switch gebruiken die Cisco IOS-software draait in plaats van Catalyst 6500/6000, voor dit voorbeeld. Dit document bespreekt de belangrijkste te overwegen factoren wanneer u trunking en het kanaliseren tussen de switches vormt. Het document bevat ook configuratievoorbeelden.
In dit document zijn vier Fast Ethernet-poorten van elk van de switches getrunkt en gebundeld in Fast EtherChannel (FEC’s). Trunking protocol werd gebruikt voor de 3500 XL ISL, en 802.1Q werd gebruikt voor het 2950 voorbeeld.
Opmerking: Catalyst 2950 ondersteunt ISL-trunking niet. Gebruik in plaats daarvan 802.1Q-trunking.
Er zijn geen specifieke vereisten van toepassing op dit document.
Om de voorbeelden in dit document te maken, zijn deze switches gebruikt in een laboratoriumomgeving, met goedgekeurde configuraties:
Catalyst 3548-XL switch waarop Cisco IOS-softwarerelease 12.0(5)WIC2 wordt uitgevoerd
Catalyst 2950-24 switch met Cisco IOS-softwarerelease 12.1(6)EA2c
Catalyst 6509 switch met Supervisor Engine II waarin Cisco IOS-softwarerelease 12.1(11b)E wordt uitgevoerd
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.
Trunks tussen apparaten kunnen statisch worden geconfigureerd of met behulp van Dynamic Trunking Protocol (DTP). DTP staat beide apparaten toe die worden aangesloten om de trunkinstellingen te bespreken alvorens de trunkverbinding eigenlijk te vormen. Configureerbare modi voor Cisco IOS-software switch (trunking) omvatten: dynamisch (de poort onderhandelt over toegang of trunkmodus), trunk (stelt de poort onvoorwaardelijk in op trunking) en toegang (niet-trunktoegangpoort). De meest gebruikte instellingen van de modemcombinatie aan twee zijden van een statische (niet-DTP onderhandelde) trunk zijn trunk-trunk. Voor dynamische (DTP-onderhandelde) trunks zijn de gebruikelijke instellingen dynamisch-dynamisch. Andere combinaties kunnen geldige resultaten opleveren, maar vallen buiten het bereik van dit document. Een trunkverbinding tussen een switch die geschikt is voor Port Aggregation Protocol (PAgP) en een niet-PagP-apparaat vereist dat de trunkmodus is ingeschakeld.
Opmerking: de meeste Cisco-routers en bepaalde Catalyst-switches ondersteunen DTP niet en vereisen een statische trunkingconfiguratie. Bijvoorbeeld Catalyst XL Series, Catalyst 2948G-L3, Catalyst 4908G-L3, Catalyst 8500 Series, Cisco-routers uit 2/3/4/7xxx Series en dergelijke ondersteunen DTP niet en vereisen statische trunkingconfiguratie.
802.1Q-trunking voegt een 4-byte 802.1Q-tagveld in frames in die over de trunk worden verzonden en VLAN-informatie bevatten. De 802.1Q-tag wordt ingevoegd in elk frame dat over de trunk wordt overgedragen, behalve de frames die op het native VLAN worden verzonden en die niet-gelabeld worden verzonden. In de meeste gevallen moet het native VLAN aan beide zijden van de trunk overeenkomen, tenzij er een specifiek ongebruikelijk configuratievereiste is, dat buiten het bereik van dit document valt. Als de native VLAN’s niet overeenkomen, registreert de switch CDP-berichten (Cisco Discovery Protocol) waarin staat dat de fout niet overeenkomt. Hoewel dit niet catastrofaal is, zorgt deze installatie ervoor dat de twee verschillende native VLAN’s worden samengevoegd tot één groter L2 broadcast-domein (VLAN). Deze twee VLAN’s proberen één gemeenschappelijke Spanning Tree Protocol (STP)-topologie voor dergelijke overbrugde native VLAN’s te berekenen, met het risico dat zij uiteindelijk de maximale ondersteunde STP-diameter overschrijden.
Opmerking: er is een speciaal geval wanneer een buur of apparaat van derden vereist dat alle VLAN’s worden gelabeld. Als dit gebeurt, kunt u een tijdelijke oplossing implementeren om een dummy VLAN te maken en het in te stellen als native VLAN. Dit zal alle andere noodzakelijke VLAN’s labelen en ze zullen verkeer via de trunk doorgeven aan de buur of het apparaat van derden. In Cisco IOS-softwarerelease 12.1.11bEX, 12.1.13E en hoger ondersteunt Catalyst 6500 waarin Cisco IOS-software wordt uitgevoerd de optie 802.1Q-trunking die al VLAN-verkeer inclusief native VLAN taggt. Geef het native commando van de VLAN dot1q-tag uit onder globale configuratiemodus. Op Catalyst 4500/4000 waarop Cisco IOS-software draait, werd de native opdracht van de VLAN dot1q-tag eerst geïntroduceerd in Cisco IOS-softwarerelease 12.2(18)EW.
Gigabit EtherChannel (GEC’s) en FEC’s tussen switches kunnen ook statisch of dynamisch worden geconfigureerd met het gebruik van PAgP. PAgP maakt het mogelijk dat beide apparaten die zijn aangesloten de instellingen doorpraten voordat ze daadwerkelijk het kanaal vormen. PAgP-kanaalmodi omvatten: wenselijk (de poort start actief kanaalonderhandeling), auto (standaard, waarin de poort niet onderhandeling start maar reageert op onderhandelingspogingen gestart door de andere kant), en op (onvoorwaardelijk stelt de poort in om te kanaliseren en ruilt geen PAgP frames). Een verbinding tussen een PAgP-switch en een niet-PAgP apparaat vereist de on-mode om een kanaal te vormen.
De meest gebruikte moduscombinatie aan twee zijden van een statisch (niet-PAgP onderhandelde) kanaal is aan. Voor dynamische (PAgP-onderhandelde) kanalen, zijn de gebruikelijke instellingen wenselijk-wenselijk of wenselijk-auto. De verbonden poorten die voor de gewenste modus zijn geconfigureerd, voeren kanaalonderhandeling en verificatie uit voordat de kanalisatie wordt gestart en blijven het kanaal controleren wanneer het in bedrijf is. Vanwege de extra bescherming die wordt geboden door PAgP, is dit meestal de aanbevolen instelling als beide verbonden switches PAgP ondersteunen.
Opmerking: PAgP heeft een aantal doelgerichte configuratiebeperkingen. De poorten om over een kanaal te onderhandelen moeten dezelfde snelheid, duplex, trunking, insluiting en VLAN-set hebben. Ook kan het kanaaltaakverdelingsalgoritme voor koppelingen op bepaalde platforms kunnen worden geconfigureerd.
Opmerking: Een EtherChannel wordt beschouwd als één unieke STP-poort zodra deze is geopend. Om STV-inconsistenties te vermijden bij het opzetten van een niet-onderhandeld kanaal, gaat u daarom als volgt te werk:
Sluit alle poorten van het kanaal om te configureren aan beide zijden.
Voer de configuratie aan beide uiteinden uit.
Alle poorten inschakelen.
Wanneer u probeert een dergelijk kanaal te configureren terwijl de poorten omhoog zijn, kan dit resulteren in tijdelijke STP-inconsistenties en/of -loops. De stappen zijn alleen van toepassing als PAgP niet wordt gebruikt.
Catalyst 2900-XL/3500-XL switch
Catalyst 2900-XL/ 3500-XL Series switches ondersteunen DTP en PAgP niet en hebben daarom statische trunk- en kanaalinstellingen nodig. Raadpleeg de bovenstaande opmerking voor meer informatie. Catalyst 2900-XL/ 3500-XL Series switches ondersteunen momenteel zowel ISL- als 802.1Q trunkinginsluitingen. Raadpleeg voor meer informatie dit document:
ISL wordt ondersteund in Cisco IOS-softwarerelease 11.2(8)SA4 en hoger, en 802.1Q wordt ondersteund in Cisco IOS-softwarerelease 11.2(8)SA5 en hoger.
Met een Catalyst 2900-XL die Cisco IOS-softwarerelease 11.2(8)SA1 of 11.2(8)SA2 uitvoert, hebt u vier EtherChannel (poortgroepen) per switch over met een onbeperkt aantal poorten per groep. Taakverdeling over de koppelingen in het kanaal is altijd gebaseerd op doeladressen. Switched Port Analyzer (SPAN) en poortbeveiligingsfuncties worden niet ondersteund.
Op een Catalyst 2900-XL die Cisco IOS-softwarerelease 11.2(8)SA3 of hoger draait, een Catalyst 3500-XL die Cisco IOS-softwarerelease 11.2(8)SA6 of hoger draait en een Catalyst 2950, kan de taakverdeling over de koppelingen in het kanaal worden geconfigureerd op basis van het MAC-adres van de bron of van de bestemming. De bron is de standaard. Op bron gebaseerde doorsturen maakt tot acht poorten in een FEC (poortgroep) mogelijk. Op bestemming gebaseerd doorsturen maakt onbeperkte poorten per poortgroep mogelijk. U kunt tot 12 poortgroepen per switch configureren en u kunt een combinatie van op bron-/doelgroepen instellen. SPAN- en poortbeveiliging worden niet ondersteund.
Catalyst 2950
Catalyst 2950 switches ondersteunen alleen 802.1Q-trunking en ondersteunen geen ISL-trunking. Catalyst 2950 switches ondersteunen dynamische trunking en kanaalonderhandeling met DTP- en PAgP-softwarerelease 12.1 en statische modi, alleen met Cisco IOS-softwarerelease 12.0-releases. EtherChannel taakverdeling kan zowel bron-MAC als bestemming-MAC-adres gebruiken voor het doorsturen. U kunt de taakverdelingsmethode configureren door de opdracht voor de globale configuratie van de poortkanaal-taakverdeling uit te geven. Deze switches ondersteunen tot acht switch poorten per kanaal.
Catalyst 6500 Series waarin Cisco IOS-software wordt uitgevoerd
Catalyst 6500 switches waarop Cisco IOS-softwarerelease ondersteuning L2 (switchport) en Layer 3 (L3) (Routed Port) EtherChannel-configuraties worden uitgevoerd. Een switch uit de Catalyst 6500/6000 Series ondersteunt maximaal 64 EtherChannel (256 met Cisco IOS-softwarerelease 12.1(2)E en hoger). U kunt een EtherChannel vormen met maximaal acht compatibele LAN-poorten op elke module in een Catalyst 6000 Series switch, met uitzondering van DFC-modules (Digital Feature Card) (zoals WS-X6816 enzovoort) die momenteel een L2-kanaal alleen toestaan met poorten op dezelfde DFC-module. Een L3-kanaal kan echter worden geconfigureerd over verschillende DFC-modules. Deze beperking is verwijderd in Catalyst 6500/6000 Cisco IOS-softwarerelease 12.1(11b)EX en hoger. Dit document vormt een L2 EtherChannel.
Catalyst 6500/6000 die Cisco IOS-software uitvoert, stelt u in staat EtherChannel-taakverdeling te configureren voor gebruik van MAC-adressen, IP-adressen of Layer 4 (L4)-poortinformatie in elke bron, bestemming en bron-doelcombinatie door de opdracht voor de globale configuratie van de poortkanaal-taakverdeling uit te geven. De standaardinstelling is om een hashfunctie te gebruiken tussen IP-adressen van de bron en van de bestemming.
Catalyst 6500/6000 switches ondersteunen zowel ISL- als 802.1Q trunkinginsluitingen en DTP. Gedetailleerde informatie over poortmogelijkheden is beschikbaar door de opdracht show interface interface_id mogelijkheden uit te geven.
Catalyst 4000 Series waarin Cisco IOS-software wordt uitgevoerd
Catalyst 4000 switches waarop Cisco IOS-software (met Supervisor Engine III en IV) wordt uitgevoerd, ondersteunen L2 (switchport) en L3 (Routed Port) EtherChannel-configuraties. Een Catalyst 4000 Series switch ondersteunt maximaal 64 EtherChannel. U kunt een EtherChannel vormen met maximaal acht compatibele geconfigureerde Ethernet-interfaces op elke module en over modules in een Catalyst 4000 Series-switch. Alle interfaces in elke EtherChannel moeten dezelfde snelheid hebben en moeten allemaal geconfigureerd zijn als L2- of L3-interfaces.
Catalyst 4000 die Cisco IOS-software uitvoert, stelt u in staat EtherChannel-taakverdeling te configureren voor gebruik van MAC-adressen, IP-adressen of L4-poortinformatie in elke bron, bestemming en bron-doelcombinatie door de opdracht voor de globale configuratie van de poortkanaal-taakverdeling uit te geven. De standaardinstelling is om een hashfunctie te gebruiken tussen IP-adressen van de bron en van de bestemming.
Catalyst 4000 die Cisco IOS-software gebruikt, ondersteunt ISL en 802.1Q trunkinginsluitingen en DTP. ISL is niet beschikbaar voor bepaalde modules. Voor een volledige lijst van dergelijke modules, raadpleegt u het gedeelte VLAN-trunks begrijpen van het configureren van Layer 2 Ethernet-interfaces. In een toekomstige softwarerelease zal gedetailleerde informatie over poortmogelijkheden beschikbaar zijn door het bevel van de showinterfacemogelijkheden uit te geven. Op dit moment is deze opdracht niet beschikbaar.
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.
Deze configuratie gebruikt de volgende netwerkinstellingen:
Catalyst 3524-XL switch |
---|
!--- Catalyst 3500 XL does not support DTP/PAgP. !--- First, shut down the secondary ports involved in the channel !--- and then enable them back when the configuration is complete on both switches. Cat3500XL#show run Building configuration... Current configuration: ! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat3500XL ip subnet-zero ! interface FastEthernet0/1 ! !--- Output suppressed. ! interface FastEthernet0/17 port group 1 !--- Assigned port to port channel 1. switchport trunk encapsulation isl !--- Configured the port to use the trunking encapsulation ISL. switchport mode trunk !--- Configured the port to be in trunking mode. ! interface FastEthernet0/18 !--- Repeated the trunk and channel configuration. port group 1 switchport trunk encapsulation isl switchport mode trunk ! interface FastEthernet0/19 !--- Repeated the trunk and channel configuration. Port group 1 switchport trunk encapsulation isl switchport mode trunk ! interface FastEthernet0/20 !--- Repeated the trunk and channel configuration. Port group 1 switchport trunk encapsulation isl switchport mode trunk ! interface FastEthernet0/21 ! !--- Output suppressed. ! interface FastEthernet0/48 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface VLAN1 ip address 10.10.10.1 255.255.255.0 no ip directed-broadcast no ip route-cache ! line con 0 transport input none stopbits 1 line vty 0 4 login |
Catalyst 6500 (Cisco IOS-software) |
---|
!--- Catalyst 3500 XL does not support DTP/PAgP. !--- First, shut down the secondary ports involved in the channel, !--- and then enable them back when the configuration is complete on both switches. Cat6500#show run Building configuration... Current configuration : 3999 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat6500 ! boot bootldr bootflash:c6msfc2-boot-mz.121-8b.E9 ! redundancy main-cpu auto-sync standard ip subnet-zero ! ! no mls ip multicast aggregate no mls ip multicast non-rpf cef mls qos statistics-export interval 300 mls qos statistics-export delimiter | ! interface Port-channel1 !--- This interface will be created and configured automatically. !--- You do not need to input this part of the configuration. switchport switchport trunk encapsulation isl switchport mode trunk no ip address ! interface GigabitEthernet1/1 no ip address shutdown ! !--- Output suppressed. ! interface FastEthernet4/2 switchport !--- Setting the interface as an L2 port, as by default the port is a routed port. !--- Note: Catalyst 4500/4000 that runs Cisco IOS Software defaults to the L2 port. switchport trunk encapsulation dot1q !--- Setting the trunk encapsulation to dot1q. switchport mode trunk !--- Configured port to be in trunking mode. no ip address channel-group 1 mode on !--- Configured the port to participate in port channel 1 with channel mode on. ! Interface FastEthernet4/3 !--- Repeated the trunk and channel configuration. switchport switchport trunk encapsulation isl switchport mode trunk no ip address channel-group 1 mode on ! interface FastEthernet4/4 !--- Repeated the trunk and channel configuration. switchport switchport trunk encapsulation isl switchport mode trunk no ip address channel-group 1 mode on ! interface FastEthernet4/5 !--- Repeated the trunk and channel configuration. switchport switchport trunk encapsulation isl switchport mode trunk no ip address channel-group 1 mode on ! interface FastEthernet4/6 no ip address shutdown ! ! interface VLAN 1 ip address 10.10.10.2 255.255.255.0 ! ip classless no ip http server ! line con 0 line vty 0 4 ! end Cat6500# |
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.
Deze configuratie gebruikt de volgende netwerkinstellingen:
Catalyst 2950 |
---|
!--- Catalyst 2950 with Cisco IOS Software Release 12.1 supports PAgP. !--- There is no need to shut down the ports as both Catalyst 2950 and 6500 can negotiate !--- channeling in desirable mode. Cat2950#show run Building configuration... Current configuration : 1380 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat2950 ! ip subnet-zero no ip finger ! interface Port-channel1 switchport mode trunk ! interface FastEthernet0/1 ! interface FastEthernet0/2 switchport mode trunk !--- Configured port to be in trunking mode. channel-group 1 mode desirable !--- Configured port to participate in PAgP-negotiated port channel 1. ! interface FastEthernet0/3 !--- Repeated trunk and channel configuration. switchport mode trunk channel-group 1 mode desirable ! interface FastEthernet0/4 !--- Repeated trunk and channel configuration. switchport mode trunk channel-group 1 mode desirable ! interface FastEthernet0/5 !--- Repeated trunk and channel configuration. switchport mode trunk channel-group 1 mode desirable ! interface FastEthernet0/6 ! !--- Output suppressed. ! interface FastEthernet0/25 ! interface FastEthernet0/26 ! interface VLAN1 ip address 10.10.10.1 255.255.255.0 no ip route-cache ! ip http server ! line con 0 transport input none line vty 5 15 ! end Cat2950# |
Catalyst 6500 (Cisco IOS-software) |
---|
!--- Catalyst 2950 with Cisco IOS Software Release 12.1 supports PAgP. !--- There is no need to shut down the ports as both Catalyst 2950 and 6500 can negotiate !--- channeling in desirable mode. Cat6500#show run Building configuration... Current configuration : 3999 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Cat6500 ! boot bootldr bootflash:c6msfc2-boot-mz.121-8b.E9 ! redundancy main-CPU auto-sync standard ip subnet-zero ! ! no mls ip multicast aggregate no mls ip multicast non-rpf cef mls qos statistics-export interval 300 mls qos statistics-export delimiter | ! interface Port-channel1 !--- This interface will be created and configured automatically. !--- You do not need to input this part of the configuration. switchport switchport trunk encapsulation dot1q switchport mode trunk no ip address ! interface GigabitEthernet1/1 no ip address shutdown ! !--- Output suppressed. ! interface FastEthernet4/2 switchport !--- Setting the interface as an L2 port, as by default the port is a routed port. !--- Note: Catalyst 4500/4000 that runs Cisco IOS Software defaults to the L2 port. switchport trunk encapsulation dot1q !--- Setting the trunk encapsulation to dot1q. switchport mode trunk !--- Configured port to be in trunking mode. No ip address channel-group 1 mode desirable !--- Configured port to participate in port channel 1 with channel mode desirable. ! Interface FastEthernet4/3 !--- Repeated trunk and channel configuration. switchport switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode desirable ! interface FastEthernet4/4 !--- Repeated trunk and channel configuration. switchport switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode desirable ! interface FastEthernet4/5 !--- Repeated trunk and channel configuration. switchport switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode desirable ! interface FastEthernet4/6 no ip address shutdown ! ! interface VLAN 1 ip address 10.10.10.2 255.255.255.0 ! ip classless no ip http server ! ! line con 0 line vty 0 4 ! end Cat6500# |
Gebruik deze sectie om te controleren of uw configuratie goed werkt.
De Output Interpreter Tool (OIT) (alleen voor geregistreerde klanten) ondersteunt bepaalde opdrachten met show. Gebruik de OIT om een analyse te bekijken van de output van de opdracht show.
Cat3500XL#show cdp neighbor Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Cat3500XL Fas 0/20 136 R S I Catalyst 6Fas 4/5 Cat3500XL Fas 0/19 136 R S I Catalyst 6Fas 4/4 Cat3500XL Fas 0/18 136 R S I Catalyst 6Fas 4/3 Cat3500XL Fas 0/17 136 R S I Catalyst 6Fas 4/2 Cat3500XL# Cat3500XL#show port group Group Interface Transmit Distribution ----- --------------------- --------------------- 1 FastEthernet0/18 source address 1 FastEthernet0/17 source address 1 FastEthernet0/20 source address 1 FastEthernet0/19 source address Cat3500XL# Cat3500XL#show etherchannel summary Flags: d - default D - down I - in use Group Ports ----- ----- 1 Fa0/18(I) Fa0/17(Id) Fa0/20(I) Fa0/19(I) Cat3500XL#
Opmerking: als u een acht-poorts EtherChannel hebt, kan het uitgeven van de show etherchannel summiere opdracht de switch crashen als u een Cisco IOS-softwarerelease uitvoert die ouder is dan Cisco IOS-softwarerelease 12.0(5)WC5.
Cat3500XL#show interfaces fastethernet0/17 switchport Name: Fa0/17 Switchport: Enabled Administrative mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: isl Operational Trunking Encapsulation: isl Negotiation of Trunking: Disabled Access Mode VLAN: 0 ((Inactive)) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Trunking VLANs Active: 1,2 Pruning VLANs Enabled: 2-1001 Priority for untagged frames: 0 Override vlan tag priority: FALSE Voice VLAN: none Appliance trust: none Cat3500XL#
Cat6500#show interfaces fastethernet 4/2 capabilities FastEthernet4/2 Model: WS-X6248-RJ-45 Type: 10/100BaseTX Speed: 10,100,auto Duplex: half,full Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on),tx-(none) Fast Start: yes QOS scheduling: rx-(1q4t), TX(2q2t) CoS rewrite: yes ToS rewrite: yes Inline power: no SPAN: source/destination Cat6500# Cat6500#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Cat6500 Fas 4/5 135 T S WS-C3548-XFas 0/20 Cat6500 Fas 4/4 135 T S WS-C3548-XFas 0/19 Cat6500 Fas 4/3 134 T S WS-C3548-XFas 0/18 Cat6500 Fas 4/2 134 T S WS-C3548-XFas 0/17 Cat6500# Cat6500#show interfaces port-channel 1 etherchannel Age of the Port-channel = 01d:07h:30m:43s Logical slot/port = 14/1 Number of ports = 4 GC = 0x00010001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state ------+------+------+------------ 0 11 Fa4/2 on 1 22 Fa4/3 on 2 44 Fa4/4 on 3 88 Fa4/5 on Time since last port bundled: 01d:06h:51m:22s Fa4/5 Time since last port Un-bundled: 01d:06h:52m:30s Fa4/5 Cat6500# Cat6500#show etherchannel ? <1-269> Channel group number brief Brief information detail Detail information load-balance Load-balance/frame-distribution scheme among ports in port-channel port Port information port-channel Port-channel information summary One-line summary per channel-group Cat6500#show etherchannel 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) Fa4/2(P) Fa4/3(P) Fa4/4(P) Fa4/5(P) Cat6500# Cat6500#show etherchannel port-channel Channel-group listing: ----------------------- Group: 1 ---------- Port-channels in the group: ---------------------- Port-channel: Po1 ------------ Age of the Port-channel = 01d:07h:35m:28s Logical slot/port = 14/1 Number of ports = 4 GC = 0x00010001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state ------+------+------+------------ 0 11 Fa4/2 on 1 22 Fa4/3 on 2 44 Fa4/4 on 3 88 Fa4/5 on Time since last port bundled: 01d:06h:56m:08s Fa4/5 Time since last port UN-bundled: 01d:06h:57m:15s Fa4/5 Cat6500#show interfaces port-channel 1 switchport Name: Po1 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: isl Operational Trunking Encapsulation: isl Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative private-vlan host-association: none Administrative private-vlan mapping: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Cat6500#
Gebruik deze sectie om te controleren of uw configuratie goed werkt.
De Output Interpreter Tool (OIT) (alleen voor geregistreerde klanten) ondersteunt bepaalde opdrachten met show. Gebruik de OIT om een analyse te bekijken van de output van de opdracht show.
Cat2950#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID Cat2950 Fas 0/4 120 R S I Catalyst 6Fas 4/4 Cat2950 Fas 0/5 120 R S I Catalyst 6Fas 4/5 Cat2950 Fas 0/3 120 R S I Catalyst 6Fas 4/3 Cat2950 Fas 0/2 120 R S I Catalyst 6Fas 4/2 Cat2950# Cat2950#show etherchannel port-channel Channel-group listing: ----------------------- Group: 1 ---------- Port-channels in the group: ---------------------- Port-channel: Po1 ------------ Age of the Port-channel = 01d:08h:27m:08s Logical slot/port = 1/0 Number of ports = 4 GC = 0x00010001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state ------+------+------+------------ 0 00 Fa0/2 desirable-SL 0 00 Fa0/3 desirable-SL 0 00 Fa0/4 desirable-SL 0 00 Fa0/5 desirable-SL Time since last port bundled: 00d:00h:07m:17s Fa0/5 Time since last port UN-bundled: 01d:08h:10m:06s Fa0/5 Cat2950# Cat2950#show etherchannel load-balance Source MAC address Cat2950# Cat2950#show interfaces port-channel 1 switchport Name: Po1 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Protected: false Voice VLAN: none (Inactive) Appliance trust: none Cat2950#
Cat6500#show etherchannel port-channel Channel-group listing: ----------------------- Group: 1 ---------- Port-channels in the group: ---------------------- Port-channel: Po1 ------------ Age of the Port-channel = 01d:08h:25m:07s Logical slot/port = 14/1 Number of ports = 4 GC = 0x00010001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state ------+------+------+------------ 1 11 Fa4/2 desirable-SL 3 22 Fa4/3 desirable-SL 0 44 Fa4/4 desirable-SL 2 88 Fa4/5 desirable-SL Time since last port bundled: 00d:00h:09m:53s Fa4/3 Time since last port UN-bundled: 00d:00h:09m:56s Fa4/5 Cat6500#
Deze sectie bevat informatie om uw configuratie te troubleshooten.
Een van deze oorzaken kan resulteren in het probleem:
Er is een native VLAN-configuratiefout op de poorten die zijn verbonden tussen twee switches.
Controleer de native VLAN-configuratie op beide switches. Geef de opdracht show trunk uit op de CatOS switch om de native VLAN-instelling te zien. Geef de opdracht show interface interface_id switchport uit op de XL switch om de native VLAN-instelling te zien. Als er een native VLAN-mismatch is tussen de twee switches, configureer dan de switches met hetzelfde native VLAN. Geef het switchport trunk native VLAN-interfaceconfiguratieopdracht uit om het native VLAN op de XL switch te wijzigen. Geef de ingestelde VLAN-opdracht uit om het native VLAN op de CatOS-switch te wijzigen.
DTP-frames worden niet ondersteund in XL switches.
De CatOS-switches verzenden DTP-frames via de trunklink, maar de XL-switches ondersteunen DTP-frames niet. DTP wordt niet ondersteund in XL switches. Om dit probleem te voorkomen, stelt u de status van de CatOS-switch in op geen onderhandelingen. Geef het vastgestelde trunkmod/port nonegotiate dot1q bevel uit om de trunkmodus in te stellen om voor de dot1q trunkingmodus niet te onderhandelen.
Er is een inkapselingswanverhouding op de XL switch.
Controleer op de XL switch of de trunkinsluiting is ingesteld op dot1q. Geef het commando show interface interface_id switchport uit om de huidige instelling te zien. Geef het switchport-trunkinkapselingsbevel dot1q interfaceconfiguratiebevel uit om de inkapseling in dot1q te veranderen.
Een vroege versie van CatOS ondersteunt dot1q trunking niet.
De vroege versie van CatOS die werd gebruikt in de switches ondersteunt dot1q trunking niet. Upgrade de CatOS van de switch naar een latere versie die zowel de dot1q trunk als ISL trunk ondersteunt.
Revisie | Publicatiedatum | Opmerkingen |
---|---|---|
1.0 |
08-Apr-2002
|
Eerste vrijgave |