-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Manual for Enable SONiC L2 Mode on MSN2700 with Minimum ConfigDB
Rev | Date | Author | Change Description |
---|---|---|---|
0.1 | Liu Kebo | Initial version |
This document is intended to describe the steps to enable the SONiC L2 mode on MSN2700 platform and provide a minimum config DB.
SONiC shall be installed on the MSN2700 DUT and it shall be running error free.
-
Prepare a config DB json file with the content described in section 3, let's say the file name is "config_db_minimum.json". The "hostname" and "mac" in the example json file shall be changed according to your DUT.
-
Upload the config DB json file to the directory "/etc/sonic/" of the DUT.
-
Go to directory "/etc/sonic/", reload the new config DB file with command "sudo config reload config_db_minimum.json"
-
If you want to save this minimum configuration, issue command "config save", if not, skip this step.
-
By now all the front panel interfaces are added to VLAN 1000 as untagged port and ready for L2 traffic.
-
After test, use the command line "sonic-clear fdb all" to clear up the FDB.
{
"DEVICE_METADATA": {
"localhost": {
"hwsku": "ACS-MSN2700",
"hostname": "switch-2700",
"mac": "24:8a:07:40:09:40"
}
},
"PORT": {
"Ethernet8": {
"alias": "Ethernet8",
"lanes": "8,9,10,11",
"speed": "100000"
},
"Ethernet0": {
"alias": "Ethernet0",
"lanes": "0,1,2,3",
"speed": "100000"
},
"Ethernet4": {
"alias": "Ethernet4",
"lanes": "4,5,6,7",
"speed": "100000"
},
"Ethernet108": {
"alias": "Ethernet108",
"lanes": "108,109,110,111",
"speed": "100000"
},
"Ethernet100": {
"alias": "Ethernet100",
"lanes": "100,101,102,103",
"speed": "100000"
},
"Ethernet104": {
"alias": "Ethernet104",
"lanes": "104,105,106,107",
"speed": "100000"
},
"Ethernet68": {
"alias": "Ethernet68",
"lanes": "68,69,70,71",
"speed": "100000"
},
"Ethernet96": {
"alias": "Ethernet96",
"lanes": "96,97,98,99",
"speed": "100000"
},
"Ethernet124": {
"alias": "Ethernet124",
"lanes": "124,125,126,127",
"speed": "100000"
},
"Ethernet92": {
"alias": "Ethernet92",
"lanes": "92,93,94,95",
"speed": "100000"
},
"Ethernet120": {
"alias": "Ethernet120",
"lanes": "120,121,122,123",
"speed": "100000"
},
"Ethernet52": {
"alias": "Ethernet52",
"lanes": "52,53,54,55",
"speed": "100000"
},
"Ethernet56": {
"alias": "Ethernet56",
"lanes": "56,57,58,59",
"speed": "100000"
},
"Ethernet76": {
"alias": "Ethernet76",
"lanes": "76,77,78,79",
"speed": "100000"
},
"Ethernet72": {
"alias": "Ethernet72",
"lanes": "72,73,74,75",
"speed": "100000"
},
"Ethernet64": {
"alias": "Ethernet64",
"lanes": "64,65,66,67",
"speed": "100000"
},
"Ethernet32": {
"alias": "Ethernet32",
"lanes": "32,33,34,35",
"speed": "100000"
},
"Ethernet16": {
"alias": "Ethernet16",
"lanes": "16,17,18,19",
"speed": "100000"
},
"Ethernet36": {
"alias": "Ethernet36",
"lanes": "36,37,38,39",
"speed": "100000"
},
"Ethernet12": {
"alias": "Ethernet12",
"lanes": "12,13,14,15",
"speed": "100000"
},
"Ethernet88": {
"alias": "Ethernet88",
"lanes": "88,89,90,91",
"speed": "100000"
},
"Ethernet116": {
"alias": "Ethernet116",
"lanes": "116,117,118,119",
"speed": "100000"
},
"Ethernet80": {
"alias": "Ethernet80",
"lanes": "80,81,82,83",
"speed": "100000"
},
"Ethernet112": {
"alias": "Ethernet112",
"lanes": "112,113,114,115",
"speed": "100000"
},
"Ethernet84": {
"alias": "Ethernet84",
"lanes": "84,85,86,87",
"speed": "100000"
},
"Ethernet48": {
"alias": "Ethernet48",
"lanes": "48,49,50,51",
"speed": "100000"
},
"Ethernet44": {
"alias": "Ethernet44",
"lanes": "44,45,46,47",
"speed": "100000"
},
"Ethernet40": {
"alias": "Ethernet40",
"lanes": "40,41,42,43",
"speed": "100000"
},
"Ethernet28": {
"alias": "Ethernet28",
"lanes": "28,29,30,31",
"speed": "100000"
},
"Ethernet60": {
"alias": "Ethernet60",
"lanes": "60,61,62,63",
"speed": "100000"
},
"Ethernet20": {
"alias": "Ethernet20",
"lanes": "20,21,22,23",
"speed": "100000"
},
"Ethernet24": {
"alias": "Ethernet24",
"lanes": "24,25,26,27",
"speed": "100000"
}
},
"VLAN_MEMBER": {
"Vlan1000|Ethernet0": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet4": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet8": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet12": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet16": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet20": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet24": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet28": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet32": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet36": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet40": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet44": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet48": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet52": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet56": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet60": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet64": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet68": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet72": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet76": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet80": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet84": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet88": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet92": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet96": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet100": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet104": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet108": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet112": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet116": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet120": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet124": {
"tagging_mode": "untagged"
}
},
"VLAN": {
"Vlan1000": {
"vlanid": "1000"
}
}
}
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us