[Edgecore SONiC] FRRouting and config initialization Follow
Tested model & firmware version:
- Switch model name:
AS7362-56X
- Edgecore SONiC version:
202006.4
202012.2
Restriction:
- [Mandatory] FRR is an routing protocol suite for Linux platform. It has other config files instead of /etc/sonic/config_db.json. However, default config_db.json is incorrect and incomplete. Please refer to the following procedures to initialize FRRouting and config
Initialize FRR and config (for Restriction #1)
Step 1: Edit /etc/sonic/config_db.json
- Add // to comment out this object "BGP_NEIGHBOR": { }
-
Add "docker_routing_config_mode": "split" to "DEVICE_METADATA" as shown below
-
Remove the surplus setting "bgp_asn": "65100" from "DEVICE_METADATA", since "split" mode won't read BGP setting from /etc/sonic/config_db.json.
{
"//BGP_NEIGHBOR": {
"10.0.0.1": {
"asn": "65200",
"holdtime": "180",
"keepalive": "60",
"local_addr": "10.0.0.0",
"name": "ARISTA01T2",
"nhopself": 0,
"rrclient": 0
},
omitted...
},
omitted...
"DEVICE_METADATA": {
"localhost": {
"bgp_asn": "65100",
"buffer_model": "traditional",
"default_bgp_status": "up",
"default_pfcwd_status": "disable",
"hostname": "sonic",
"hwsku": "Accton-AS7326-56X",
"mac": "04:f8:f8:6b:3e:91",
"platform": "x86_64-accton_as7326_56x-r0",
"type": "LeafRouter",
"docker_routing_config_mode": "split"
}
},
omitted...
}
Step 2. Reload config or power cycle the switch
Step 3. Verify the result
Check current configuration
Caution: If the result is failed, please go back to Step 1 and redo these steps.
Comments
0 comments
Please sign in to leave a comment.