SONiC de Dell Networking: Cómo configurar la velocidad del puerto
概要: Cómo configurar la velocidad del puerto en SoNiC de Dell Networking. En este artículo, se utiliza un switch que ejecuta Dell SONiC 4.1.
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
手順
|
Requisitos previos
Utilizamos la denominación de interfaz estándar para demostrar los conceptos. Consulte el artículo 202172 Dell Networking serie S: Configuración básica de la interfaz: SONIC 4.0 para obtener más información sobre la denominación de la interfaz |
Índice
Verifique la velocidad del vínculo y el estado de negociación automática.Cómo configurar la velocidad del puerto en una interfaz
Cómo configurar la velocidad del puerto en un PortChannel
Cómo configurar la velocidad del puerto en un grupo de puertos (se aplica a S5248F-ON y S5296F-ON)
Verifique la velocidad del vínculo y el estado de negociación automática.
Sintaxis de comandos
| Comando | Explicación |
|---|---|
admin@DELLSONiC:~$ sonic-cli |
Ingresar a la interfaz de línea de comandos de Dell Management |
DELLSONiC# show interface status |
Compruebe todo el estado de la interfaz. |
DELLSONiC# show interface Eth <slot/port> |
Compruebe los detalles de una interfaz específica. |
DELLSONiC# show interface PortChannel <number> |
Comprobar PortChannel |
DELLSONiC# show interface advertise [Ethslot/port] |
Ver las velocidades de puertos anunciadas y la configuración negociada automáticamente |
Ejemplo de salida (salida recortada para brevedad)
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# |
Cómo configurar la velocidad del puerto en una interfaz
Sintaxis de configuración
| Comando | Explicación |
|---|---|
admin@DELLSONiC:~$ sonic-cli |
Ingresar a la interfaz de línea de comandos de Dell Management |
DELLSONiC# configure terminal |
Ingresar al modo de configuración |
DELLSONiC(config)# interface Eth slot/port |
Configurar interfaz |
DELLSONiC(conf-if-Ethslot/port)# Speed <Speed> |
Configurar la velocidad |
DELLSONiC(conf-if-Ethslot/port)# speed auto <Speed> |
Habilite la velocidad negociada automáticamente e ingrese la velocidad automática. Para anunciar una velocidad específica para negociar automáticamente con los dispositivos de conexión |
DELLSONiC(conf-if-Ethslot/port)#no speed |
Restaure la velocidad de puerto predeterminada: |
DELLSONiC(conf-if-Ethslot/port)#no speed auto |
Deshabilite la negociación automática y restaure la velocidad de puerto predeterminada. |
DELLSONiC(conf-if-Ethslot/port)#no speed auto <Speed> |
Deshabilite la negociación automática y establezca una velocidad de puerto especificada. |
de muestra automática
Configure Eth 1/1 con velocidad 100000:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# interface Eth 1/1 DELLSONiC(conf-if-Eth1/30)# speed 10000 |
Verifiquemos la velocidad:
salida de muestra
DELLSONiC# show interface status -------------------------------------------------------------------------------------------------------------------------------------- Name Description Oper Reason AutoNeg Speed MTU Alternate Name -------------------------------------------------------------------------------------------------------------------------------------- Eth1/1 - up oper-up off 10000 9100 Ethernet0 |
Cómo configurar la velocidad del puerto en un PortChannel
NOTA: Un canal de puerto debe contener interfaces de la misma velocidad.
Para cambiar la velocidad a PortChannel, cambie la velocidad de todas sus interfaces miembro. Por ejemplo, Considere eh 1/1 y 1/2 es parte de la interfaz de PortChannel.
Ejemplo de salida
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: |
Cómo configurar la velocidad del puerto en un grupo de puertos (se aplica solo a S5248F-ON y S5296F-ON)
NOTA: Los switches S5248F-ON y S5296F-ON admiten grupos de puertos.
Los grupos de puertos le permiten aplicar configuraciones comunes en los puertos de acuerdo con sus características de hardware.
- Las interfaces de grupo de puertos que se ejecutan en 10G se pueden configurar individualmente para que se ejecuten en 1G.
- Si un grupo de puertos está configurado para ejecutarse a 25 G, no puede configurar una interfaz para que se ejecute en 1G.
Utilice el comando:
show port-group
Ejemplo de salida
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 |
Configurar la velocidad del grupo de puertos
Para configurar la velocidad del grupo de puertos Utilice el siguiente comando para cambiar la velocidad de las interfaces en un grupo de puertos. Las velocidades de los puertos están en Megabits por segundo (Mbps).
port-group speed
Sintaxis de configuración
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# port-group number speed {10000 | 25000} |
NOTA: Aunque el comando port group speed ofrece varias opciones de velocidad de puerto, las únicas velocidades de grupo de puertos compatibles son 10000 y 25000. Si configura una velocidad de puerto no compatible, se muestra un mensaje de error: %Error: Velocidad no admitida
Para desconfigurar la velocidad de un grupo de puertos y establecer la velocidad de grupo predeterminada, ingrese el siguiente comando:
no port-group speed
Sintaxis de configuración
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)#no port-group number speed |
Configuración de muestra
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure DELLSONiC(config)# port-group 1 speed 10000 DELLSONiC(config)# end DELLSONiC# |
Para verificarlo, utilice el siguiente comando:
how port-group
Ejemplo de salida
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ユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。