sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

MC-LAG peer link does not support port interface

Open msosyak opened this issue 3 years ago • 2 comments

Description

MC-LAG peer link does not support port interface. Only PortChannel interfaces are supported. But based on Config DB schema in https://github.com/Azure/SONiC/blob/master/doc/mclag/MCLAG_Enhancements_HLD.md#3-Design port should be supported.

Is it a typo in HLD or a bug in SONiC CLI?

Describe the results you received

admin@sonic:~$ sudo config mclag member add 1 Ethenet120
Usage: config mclag member add [OPTIONS] <domain_id> <portchannel_names>
Try "config mclag member add -h" for help.

Error: Ethenet120 is invalid!, name should have prefix 'PortChannel' and suffix '<0-9999>'
admin@sonic:~$

Describe the results you expected

Additional information you deem important (e.g. issue happens only occasionally)

Output of show version

SONiC Software Version: SONiC.master.62873-dirty-20220103.184435
Distribution: Debian 11.2
Kernel: 5.10.0-8-2-amd64
Build commit: 174833d31
Build date: Mon Jan  3 18:52:18 UTC 2022
Built by: AzDevOps@sonic-build-workers-00119S

Platform: x86_64-accton_wedge100bf_32x-r0
HwSKU: montara
ASIC: barefoot
ASIC Count: 1
Serial Number: AK25000005
Model Number: N0PCH7632002S
Hardware Revision: N/A
Uptime: 15:32:20 up  1:25,  2 users,  load average: 0.47, 0.49, 0.59

msosyak avatar Jan 12 '22 15:01 msosyak

@gitsabari @arlakshm Have a look, please.

msosyak avatar Jan 12 '22 15:01 msosyak

@gechiang Could you clarify?

msosyak avatar Jan 21 '22 13:01 msosyak