Dell Networking SONiC: Poortsnelheid configureren
概要: Poortsnelheid configureren in Dell Networking SONiC. Dit artikel gebruikt een switch met Dell SONiC 4.1.
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
手順
|
Vereisten
We gebruiken standaard interfacenamen om de concepten te demonstreren. Zie het artikel 202172 Dell Networking S serie: Basic Interface Configuration – SONIC 4.0 voor meer informatie over interfacenamen |
Index
Controleer de koppelingssnelheid en de autonegotiation-status.Poortsnelheid configureren op een interface
Poortsnelheid configureren in een PortChannel
Poortsnelheid configureren op een poortgroep (van toepassing op S5248F-ON en S5296F-ON)
Controleer de koppelingssnelheid en de autonegotiation-status.
Opdrachtsyntaxis
| Opdracht | Uitleg |
|---|---|
admin@DELLSONiC:~$ sonic-cli |
Voer de opdrachtregelinterface van Dell Management in |
DELLSONiC# show interface status |
Controleer alle interfacestatussen. |
DELLSONiC# show interface Eth <slot/port> |
Controleer de details van een specifieke interface. |
DELLSONiC# show interface PortChannel <number> |
PortChannel controleren |
DELLSONiC# show interface advertise [Ethslot/port] |
Geadverteerde poortsnelheden en auto-gotiated instellingen weergeven |
Uitvoervoorbeeld (uitvoer getrimd voor flexibiliteit)
DELLSONiC# show interface status -------------------------------------------------------------------------------------------------------------------------------------- Name Description Oper Reason AutoNeg Speed MTU Alternate Name -------------------------------------------------------------------------------------------------------------------------------------- Eth1/1 - up oper-up off 25000 9100 Ethernet0 Eth1/2 - up oper-up off 25000 9100 Ethernet1 Eth1/3 - up oper-up off 25000 9100 Ethernet2 Eth1/4 - up oper-up off 25000 9100 |
DELLSONiC# show interface Eth 1/1 Eth1/1 is up, line protocol is up, reason oper-up Hardware is Eth, address is XX.XX.XX.XX.XX Mode of IPV4 address assignment: not-set Mode of IPV6 address assignment: not-set Interface IPv6 oper status: Disabled IP MTU 9100 bytes LineSpeed 25GB, Auto-negotiation off Link-training: off Unreliable-LOS: off FEC: DISABLED Events: initialized at 2023-10-14T11:11:47.61798+09:00 admin-up at 2023-10-14T11:12:04.289966+09:00 port-enabled at 2023-10-14T11:12:04.291712+09:00 phy-link-up at 2023-10-14T11:12:31.328101+09:00 |
DELLSONiC# show interface advertise Eth 1/1
Name: Eth1/1
Admin State: UP
Link Status: UP
Auto Negotiation: OFF
Operational Link Training: OFF
Standalone Link Training: OFF
400G 200G 100G 50G 40G 25G 10G 5G 2.5G 1G 100f 100h 10f 10h
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Admin Local Advertisement - - - - - - - - - - - - - -
Oper Local Advertisement - - - - - - - - - - - - - -
Oper Remote Advertisement - - - - - - - - - - - - - -
DELLSONiC# |
Poortsnelheid configureren op een interface
Configuratiesyntaxis
| Opdracht | Uitleg |
|---|---|
admin@DELLSONiC:~$ sonic-cli |
Voer de opdrachtregelinterface van Dell Management in |
DELLSONiC# configure terminal |
Configuratiemodus activeren |
DELLSONiC(config)# interface Eth slot/port |
Interface configureren |
DELLSONiC(conf-if-Ethslot/port)# Speed <Speed> |
Snelheid configureren |
DELLSONiC(conf-if-Ethslot/port)# speed auto <Speed> |
Schakel autonegotiated speed in en voer speed auto in. Om een specifieke snelheid te adverteren voor autonegotiate met verbindende apparaten |
DELLSONiC(conf-if-Ethslot/port)#no speed |
De standaardpoortsnelheid herstellen: |
DELLSONiC(conf-if-Ethslot/port)#no speed auto |
Schakel autonegotiation uit en herstel de standaardpoortsnelheid. |
DELLSONiC(conf-if-Ethslot/port)#no speed auto <Speed> |
Schakel autonegotiation uit en stel een opgegeven poortsnelheid in. |
Sample Configuration
Hiermee kunt u Eth 1/1 configureren met snelheid 10000:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# interface Eth 1/1 DELLSONiC(conf-if-Eth1/30)# speed 10000 |
Laten we de snelheid controleren:
Uitvoervoorbeeld
DELLSONiC# show interface status -------------------------------------------------------------------------------------------------------------------------------------- Name Description Oper Reason AutoNeg Speed MTU Alternate Name -------------------------------------------------------------------------------------------------------------------------------------- Eth1/1 - up oper-up off 10000 9100 Ethernet0 |
Poortsnelheid configureren in een PortChannel
OPMERKING: Een poortkanaal moet interfaces met dezelfde snelheid bevatten.
Als u de snelheid wilt wijzigen in PortChannel, wijzigt u de snelheid van alle lidinterfaces. Stel bijvoorbeeld dat Eh 1/1 en 1/2 deel uitmaken van de PortChannel-interface.
Uitvoervoorbeeld
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure DELLSONiC(config)# interface range Eth 1/1-1/2 DELLSONiC(config)#Speed 25000 |
DELLSONiC# show interface status | grep Po PortChannel1 - up oper-up - 50000 9100 - |
DELLSONiC# show interface PortChannel 1 PortChannel1 is up, line protocol is up, reason oper-up, mode Static Hardware is PortChannel, address is 0c:2c:1e:b9:00:0a Minimum number of links to bring PortChannel up is 1 Mode of IPV4 address assignment: not-set Mode of IPV6 address assignment: not-set Graceful shutdown: Disabled MTU 9100 LineSpeed 50.0GB Events: |
Poortsnelheid configureren op een poortgroep (alleen van toepassing op de S5248F-ON en S5296F-ON)
OPMERKING: S5248F-ON en S5296F-ON switches ondersteunen poortgroepen.
Met poortgroepen kunt u gemeenschappelijke configuraties toepassen op poorten op basis van hun hardwarekenmerken.
- Poortgroepinterfaces die worden uitgevoerd op 10G kunnen individueel worden geconfigureerd voor uitvoering op 1G.
- Als een poortgroep is geconfigureerd om op 25G uit te voeren, kunt u geen interface configureren om op 1G uit te voeren.
weergevenGebruik de opdracht:
show port-group
Uitvoervoorbeeld
DELLSONiC# show port-group ------------------------------------------------------------------------------------- Port-group Interface range Valid speeds Default Speed Current Speed ------------------------------------------------------------------------------------- 1 Eth1/1 - Eth1/4 10G, 25G 25G 10G 2 Eth1/5 - Eth1/8 10G, 25G 25G 25G 3 Eth1/9 - Eth1/12 10G, 25G 25G 25G 4 Eth1/13 - Eth1/16 10G, 25G 25G 25G 5 Eth1/17 - Eth1/20 10G, 25G 25G 25G 6 Eth1/21 - Eth1/24 10G, 25G 25G 25G 7 Eth1/25 - Eth1/28 10G, 25G 25G 25G 8 Eth1/29 - Eth1/32 10G, 25G 25G 25G 9 Eth1/33 - Eth1/36 10G, 25G 25G 10G 10 Eth1/37 - Eth1/40 10G, 25G 25G 25G 11 Eth1/41 - Eth1/44 10G, 25G 25G 25G 12 Eth1/45 - Eth1/48 10G, 25G 25G 25G |
Poortgroepsnelheid
configurerenOm de snelheid van de poortgroep te configureren, gebruikt u de onderstaande opdracht om de snelheid van de interfaces in een poortgroep te wijzigen. De poortsnelheden zijn in Megabits per seconde (Mbps).
port-group speed
Configuratiesyntaxis
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# port-group number speed {10000 | 25000} |
OPMERKING: Hoewel de opdracht Poortgroepsnelheid verschillende poortsnelheidsopties biedt, zijn de enige ondersteunde poortgroepsnelheden 10000 en 25000. Als u een niet-ondersteunde poortsnelheid configureert, wordt een foutmelding weergegeven: %Fout: Niet-ondersteunde snelheid
Voer de onderstaande opdracht in om de snelheid van een poortgroep te deconfigureren en de standaardgroepsnelheid in te stellen:
no port-group speed
Configuratiesyntaxis
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)#no port-group number speed |
Voorbeeldconfiguratie
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure DELLSONiC(config)# port-group 1 speed 10000 DELLSONiC(config)# end DELLSONiC# |
Om dit te controleren, gebruikt u de onderstaande opdracht:
how port-group
Uitvoervoorbeeld
DELLSONiC# show port-group ------------------------------------------------------------------------------------- Port-group Interface range Valid speeds Default Speed Current Speed ------------------------------------------------------------------------------------- 1 Eth1/1 - Eth1/4 10G, 25G 25G 10G 2 Eth1/5 - Eth1/8 10G, 25G 25G 25G 3 Eth1/9 - Eth1/12 10G, 25G 25G 25G 4 Eth1/13 - Eth1/16 10G, 25G 25G 25G 5 Eth1/17 - Eth1/20 10G, 25G 25G 25G 6 Eth1/21 - Eth1/24 10G, 25G 25G 25G 7 Eth1/25 - Eth1/28 10G, 25G 25G 25G 8 Eth1/29 - Eth1/32 10G, 25G 25G 25G 9 Eth1/33 - Eth1/36 10G, 25G 25G 10G 10 Eth1/37 - Eth1/40 10G, 25G 25G 25G 11 Eth1/41 - Eth1/44 10G, 25G 25G 25G 12 Eth1/45 - Eth1/48 10G, 25G 25G 25G |
対象製品
Enterprise SONiC Distribution, PowerSwitch E3200-ON Series, Dell EMC Networking N3200-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON
, PowerSwitch Z9432F-ON
...
文書のプロパティ
文書番号: 000218554
文書の種類: How To
最終更新: 19 10月 2023
バージョン: 3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。