Dell Technologies Networking OS10: Slik konfigurerer du portkanaler.
Summary: Dell Technologies Networking OS10: Slik konfigurerer du 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
MERK: Portkanaler kan være statiske eller dynamiske.
- Statiske portkanaler er statisk konfigurert. Bruk modusen ON (PÅ) for å konfigurere statisk.
- Dynamiske portkanaler er dynamisk konfigurert ved hjelp av Link Aggregation Control Protocol (LACP). Dynamiske portkanaler kan være aktive eller passive.
- Modus = Active angir grensesnittet i active negotiation-tilstand med LACP. En port i aktiv modus kan konfigurere en portkanal med en annen port i aktiv eller passiv
- Modus = Passiv angir grensesnittet i inaktiv forhandlingstilstand, men LACP kjører på koblingen. En kobling med passiv modus svarer på aktive forhandlingsforespørsler, men vil ikke opprette en kobling med en annen passiv modusport.
Portkanaltopologi
Figur 1: Eksempel på topologi
Forhåndskrav:
- Svitsjer nummer 1 og 2 finnes med koblinger mellom dem på portene 1/1/33 og 1/1/34 (figur 1).
Instruksjoner
Instruksjoner for hvordan du konfigurerer en portkanal mellom to svitsjer
- Åpne CLI ved hjelp av konsollen eller administrasjons-IP-en for svitsjene i S-serien # 1 og # 2.
- Logg på den privilegerte exec-modusen som standard administratorlegitimasjon (OS10 user=admin, password=admin).
- Hvis du vil endre svitsjkonfigurasjonen på svitsj nr. 1, kjører du
configure terminalkommando for å gå inn i global konfigurasjonsmodus, og trykk deretter på Enter.
OS10# configure terminal OS10(config)#
- Hvis du vil opprette portkanal 1, skriver du inn kommandoen
interface port channel 1:
OS10(config)# interface port-channel 1 OS10(conf-if-po-1)#
- Hvis du vil avslutte grensesnittmodus, bruker du
exit:
OS10(conf-if-po-1)# exit OS10(config)#
- Konfigurere hvilke grensesnitt som 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 Ethernet-portene som skal legges til i portkanal 1 med aktiv LACP ved hjelp av
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)#
- Avslutt grensesnittet og konfigurasjonen tilbake til exec-modus med kommandoen
end:
OS10(conf-range-eth1/1/33-1/1/1/34)# end OS10#
- Gjenta trinnene fra SVITSJ nr. 1 på SVITSJ nr. 2.
- Kontroller konfigurasjonsendringene som er gjort i grensesnittet 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 detaljert informasjon om grensesnittportkanalen med
show interface port channel 1Kommandoen:
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 …
- Kontroller konfigurasjonsendringene som er gjort i grensesnittet 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 portkanalkonfigurasjonen 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 lagre konfigurasjonsendringene, bruker du kommandoen
write memory.
OS10# write memory OS10#
Hvis du vil ha mer hjelp, kan du sedokumentasjonen for produktutgivelsen for Dell Technologies SmartFabric OS10-brukerveiledningen eller ta kontakt med teknisk støtte hos Dell Technologies.
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.