AS7326-56X change port speed
admin@NSK-BR01-1:~$ show interface status Ethernet13
Interface Lanes Speed MTU Oper FEC Alias Vlan Oper Admin ProtoDown Eff Admin Type Asym PFC
----------- ------- ------- ----- ---------- --------------- ------ ------ ------- ----------- ----------- -------------- ----------
Ethernet13 22 25G 9100 none Eth18/2(Port14) routed down up False up SFP/SFP+/SFP28 N/A
admin@NSK-BR01-1:~$ sudo config interface speed Ethernet13 1000
Due to the special circuit scheme on PCB of this device, the port specified
in the command is one of the child port out of 4 internally broken out ports.
To change port speed as 1G or 10G, you must use "config interface breakout"
command to change the port breakout mode as "4x10G[1G]". This will change
port speed as 10G upon 4 ports at the same time. Under "4x10G[1G]" breakout mode,
it is allowed to use "config interface speed" command to set port speed upon
any port out of those 4 ports as 1G or 10G.
admin@NSK-BR01-1:~$ show interface breakout
<...>
"Ethernet17": {
"index": "18,14,13,15",
"lanes": "21,22,23,24",
"breakout_modes": {
"4x25G": [
"Eth18/1(Port18)",
"Eth18/2(Port14)",
"Eth18/3(Port13)",
"Eth18/4(Port15)"
],
"4x10G[1G]": [
"Eth18/1(Port18)",
"Eth18/2(Port14)",
"Eth18/3(Port13)",
"Eth18/4(Port15)"
]
},
"interface_ids": "17,13,12,14",
"default_brkout_mode": "4x25G",
"autoneg": "off",
"Current Breakout Mode": "4x25G",
"child ports": "Ethernet12,Ethernet13,Ethernet14,Ethernet17",
"child port speeds": "25G,25G,25G,25G"
},
<...>
admin@NSK-BR01-1:~$ sudo config interface breakout Ethernet17 '4x10G[1G]'
OR
admin@NSK-BR01-1:~$ sudo vi /etc/sonic/config_db.json
<...>
"BREAKOUT_CFG": {
<...>
"Ethernet17": {
"brkout_mode": "4x10G[1G]"
},
<...>
<...>
admin@NSK-BR01-1:~$ sudo config load
admin@NSK-BR01-1:~$ sudo config interface speed Ethernet13 1000
admin@NSK-BR01-1:~$ show interface status Ethernet13
Interface Lanes Speed MTU Oper FEC Alias Vlan Oper Admin ProtoDown Eff Admin Type Asym PFC
----------- ------- ------- ----- ---------- --------------- ------ ------ ------- ----------- ----------- -------------- ----------
Ethernet13 22 1G 9100 none Eth18/2(Port14) routed up up False up SFP/SFP+/SFP28 N/A