Dell Technologies Networking OS10: Sådan konfigureres portkanaler.
Summary: Dell Technologies Networking OS10: Sådan konfigureres portkanaler.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
BEMÆRK: Portkanaler kan være statiske eller dynamiske.
- Statiske portkanaler er statisk konfigureret. Brug tilstanden "ON" til at konfigurere statisk.
- Dynamiske portkanaler konfigureres dynamisk vha. LACP (Link Aggregation Control Protocol). Dynamiske portkanaler kan være aktive eller passive.
- Tilstand = Aktiv indstiller grænsefladen i aktiv forhandlingstilstand med LACP. En port i aktiv tilstand kan konfigurere en portkanal med en anden port i aktiv eller passiv
- Tilstand = Passiv indstiller grænsefladen i den inaktive forhandlingstilstand, men LACP kører på linket. Et passivt tilstandslink reagerer på aktive forhandlingsanmodninger, men opretter ikke et link med en anden passiv tilstandsport.
Portkanaltopologi
Figur 1: Eksempeltopologi
Forudsætninger:
- Switche nr. 1 og nr. 2 findes med links mellem dem på portene 1/1/33 og 1/1/34 (Figur 1).
Instruktioner
Vejledning til opsætning af en portkanal mellem to switche
- Åbn CLI ved hjælp af konsollen eller administrations-IP'en for dine switche i S-serien # 1 og nr. 2.
- Log på privilegeret exec-tilstand som standardadministratorlegitimationsoplysninger (OS10 user=admin, password=admin).
- Hvis du vil ændre switchkonfigurationen på switch nr. 1, skal du køre
configure terminalfor at gå i global konfigurationstilstand, og tryk derefter på Enter.
OS10# configure terminal OS10(config)#
- Indtast kommandoen for at oprette portkanal 1
interface port channel 1:
OS10(config)# interface port-channel 1 OS10(conf-if-po-1)#
- Hvis du vil afslutte grænsefladetilstanden, skal du bruge
exit:
OS10(conf-if-po-1)# exit OS10(config)#
- Konfigurer, hvilke grænseflader der er i portkanalen med
interface range Ethernet 1/1/33-1/1/34:
OS10(config)# interface range ethernet 1/1/33-1/1/34 OS10(conf-range-eth1/1/33-1/1/1/34)#
- Konfigurer de Ethernet-porte, der skal føjes til portkanal 1 med aktiv LACP ved hjælp af
channel-group 1 mode active:
OS10(conf-range-eth1/1/33-1/1/1/34)# channel-group 1 mode active OS10(conf-range-eth1/1/33-1/1/1/34)#
- Forlad grænsefladen og konfigurationen tilbage til exec-tilstand med kommandoen
end:
OS10(conf-range-eth1/1/33-1/1/1/34)# end OS10#
- På SWITCH nr. 2 skal du gentage trinene fra SWITCH nr. 1.
- Kontrollér konfigurationsændringerne, der er foretaget på grænsefladen med kommandoen
show interface port channel summary:
OS10# show interface port-channel summary LAG Mode Status Uptime Ports 1 L2 up 00:00:30 Eth 1/1/33 (Up) Eth 1/1/34 (Up) OS10#
- Vis detaljerede oplysninger om grænsefladeportkanalen med
show interface port channel 1Kommando:
OS10# show interface port-channel 1 Port-channel 1 is up, line protocol is up Address is 0c:d3:b9:6e:00:51, Current address is 0c:d3:b9:6e:00:51 Interface index is 125 Internet address is not set Mode of IPv4 Address Assignment: not set Interface IPv6 oper status: Disabled MTU 1532 bytes, IP MTU 1500 bytes LineSpeed 50G Minimum number of links to bring Port-channel up is 1 Maximum active members that are allowed in the portchannel is 32 Members in this channel: Eth 1/1/33-1/1/34 …
- Kontrollér konfigurationsændringerne, der er foretaget på grænsefladen med kommandoen
show running-configuration interface Ethernet 1/1/33:
OS10# show running-configuration interface ethernet 1/1/33 ! interface ethernet1/1/33 no shutdown channel-group 1 mode active no switchport flowcontrol receive off OS10#
- Kontroller portkanalkonfigurationen med kommandoen
show running-configuration interface port channel 1:
OS10# show running-configuration interface port-channel 1 ! interface port-channel1 no shutdown switchport access vlan 1 OS10# Switch #1 show interface port-channel summary Switch #2 show interface port-channel summary
- Hvis du vil gemme konfigurationsændringerne, skal du bruge kommandoen
write memory.
OS10# write memory OS10#
Du kan finde yderligere hjælp iudgivelsesdokumentationen til Dell Technologies SmartFabric OS10-brugervejledningen eller kontakte Dell Technologies teknisk support.
Affected Products
Networking, PowerSwitch S3048-ON, PowerSwitch S4048-ON, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON
, PowerSwitch S4248FB-ON /S4248FBL-ON
...
Products
PowerSwitch S5048F-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, SmartFabric OS10 SoftwareArticle Properties
Article Number: 000204226
Article Type: How To
Last Modified: 30 Nov 2023
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.