Commit 98a03ae 1 parent 8ae4468 commit 98a03ae Copy full SHA for 98a03ae
File tree 4 files changed +123
-177
lines changed
4 files changed +123
-177
lines changed Original file line number Diff line number Diff line change 2365
2365
2366
2366
"STP" : {
2367
2367
"GLOBAL" : {
2368
- "global-stp-mode" : " GLOBAL" ,
2369
2368
"mode" : " pvst" ,
2370
2369
"rootguard_timeout" : " 30" ,
2371
2370
"forward_delay" : " 15" ,
2374
2373
"priority" : " 32768"
2375
2374
}
2376
2375
},
2376
+
2377
+ "STP" : {
2378
+ "GLOBAL" : {
2379
+ "mode" : " mst" ,
2380
+ "forward_delay" : 15 ,
2381
+ "hello_time" : 2 ,
2382
+ "max_age" : 20 ,
2383
+ "priority" : 32768
2384
+ }
2385
+ },
2386
+
2377
2387
"STP_VLAN" : {
2378
2388
"Vlan100" : {
2379
2389
"forward_delay" : " 15" ,
2380
2390
"hello_time" : " 2" ,
2381
2391
"max_age" : " 20" ,
2382
2392
"priority" : " 32768" ,
2383
- "enabled" : " true"
2393
+ "enabled" : " true" ,
2394
+ "vlanid" : " 100"
2384
2395
},
2385
2396
"Vlan200" : {
2386
2397
"forward_delay" : " 16" ,
2387
2398
"hello_time" : " 3" ,
2388
2399
"max_age" : " 22" ,
2389
2400
"priority" : " 16384" ,
2390
- "enabled" : " true"
2401
+ "enabled" : " true" ,
2402
+ "vlanid" : " 200"
2391
2403
}
2392
2404
},
2393
2405
"STP_VLAN_INTF" : {
2400
2412
"priority" : " 64"
2401
2413
},
2402
2414
"Vlan200|Ethernet4" : {
2403
- "path_cost" : " 200000" ,
2415
+ "path_cost" : " 200000" ,
2404
2416
"priority" : " 128"
2405
2417
}
2406
2418
},
2407
- "STP_INTF " : {
2419
+ "STP_PORT " : {
2408
2420
"Ethernet0" : {
2409
- "enabled" : " 1 " ,
2410
- "root_guard" : " 0 " ,
2411
- "bpdu_guard" : " 0 " ,
2412
- "bpdu_guard_do_disable" : " 0 " ,
2421
+ "enabled" : " true " ,
2422
+ "root_guard" : " false " ,
2423
+ "bpdu_guard" : " false " ,
2424
+ "bpdu_guard_do_disable" : " false " ,
2413
2425
"path_cost" : " 200000" ,
2414
2426
"priority" : " 128" ,
2415
- "portfast" : " 1 " ,
2416
- "uplink_fast" : " 0 "
2427
+ "portfast" : " true " ,
2428
+ "uplink_fast" : " false "
2417
2429
},
2418
2430
"Ethernet4" : {
2419
- "enabled" : " 1 " ,
2420
- "root_guard" : " 0 " ,
2421
- "bpdu_guard" : " 1 " ,
2422
- "bpdu_guard_do_disable" : " 1 " ,
2431
+ "enabled" : " true " ,
2432
+ "root_guard" : " false " ,
2433
+ "bpdu_guard" : " true " ,
2434
+ "bpdu_guard_do_disable" : " true " ,
2423
2435
"path_cost" : " 200000" ,
2424
2436
"priority" : " 128" ,
2425
- "portfast" : " 0 " ,
2426
- "uplink_fast" : " 0 "
2437
+ "portfast" : " false " ,
2438
+ "uplink_fast" : " false "
2427
2439
},
2428
2440
"PortChannel2" : {
2429
- "enabled" : " 1 " ,
2430
- "root_guard" : " 1 " ,
2431
- "bpdu_guard" : " 0 " ,
2432
- "bpdu_guard_do_disable" : " 0 " ,
2441
+ "enabled" : " true " ,
2442
+ "root_guard" : " true " ,
2443
+ "bpdu_guard" : " false " ,
2444
+ "bpdu_guard_do_disable" : " false " ,
2433
2445
"path_cost" : " 20000" ,
2434
2446
"priority" : " 64" ,
2435
- "portfast" : " 0 " ,
2436
- "uplink_fast" : " 1 "
2447
+ "portfast" : " false " ,
2448
+ "uplink_fast" : " true "
2437
2449
}
2438
2450
},
2439
-
2440
2451
"STP_MST" : {
2441
2452
"GLOBAL" : {
2442
- "global-stp-mode" : " GLOBAL" ,
2443
2453
"name" : " region1" ,
2444
2454
"revision" : " 0" ,
2445
2455
"max_hops" : " 20" ,
2446
2456
"max_age" : " 20" ,
2447
2457
"hello_time" : " 2" ,
2448
- "forward_delay" : " 15"
2458
+ "forward_delay" : " 15" ,
2459
+ "hold_count" : " 6"
2449
2460
}
2450
2461
},
2451
2462
"STP_MST_INST" : {
2452
2463
"0" : {
2453
2464
"bridge_priority" : " 32768" ,
2454
- "vlan_list " : " 1-99, 4000-4094"
2465
+ "vlan " : [ " 1-99" , " 4000-4094" ]
2455
2466
},
2456
2467
"1" : {
2457
2468
"bridge_priority" : " 16384" ,
2458
- "vlan_list " : " 100-199"
2469
+ "vlan " : [ " 100-199" ]
2459
2470
},
2460
2471
"2" : {
2461
2472
"bridge_priority" : " 20480" ,
2462
- "vlan_list " : " 200-299"
2473
+ "vlan " : [ " 200-299" ]
2463
2474
},
2464
2475
"3" : {
2465
2476
"bridge_priority" : " 24576" ,
2466
- "vlan_list " : " 300-399"
2477
+ "vlan " : [ " 300-399" ]
2467
2478
}
2468
2479
},
2469
2480
"STP_MST_PORT" : {
2484
2495
"priority" : " 64"
2485
2496
}
2486
2497
},
2487
- "STP_PORT" : {
2488
- "Ethernet0" : {
2489
- "edge_port" : " 1" ,
2490
- "link_type" : " point-to-point" ,
2491
- "enabled" : " 1" ,
2492
- "bpdu_guard" : " 0" ,
2493
- "bpdu_guard_do" : " 0" ,
2494
- "root_guard" : " 0" ,
2495
- "path_cost" : " 200000" ,
2496
- "priority" : " 128"
2497
- },
2498
- "Ethernet4" : {
2499
- "edge_port" : " 0" ,
2500
- "link_type" : " shared" ,
2501
- "enabled" : " 1" ,
2502
- "bpdu_guard" : " 1" ,
2503
- "bpdu_guard_do" : " 1" ,
2504
- "root_guard" : " 0" ,
2505
- "path_cost" : " 200000" ,
2506
- "priority" : " 128"
2507
- },
2508
- "PortChannel2" : {
2509
- "edge_port" : " 0" ,
2510
- "link_type" : " point-to-point" ,
2511
- "enabled" : " 1" ,
2512
- "bpdu_guard" : " 0" ,
2513
- "bpdu_guard_do" : " 0" ,
2514
- "root_guard" : " 1" ,
2515
- "path_cost" : " 20000" ,
2516
- "priority" : " 64"
2517
- }
2518
- },
2519
2498
2520
2499
"MCLAG_DOMAIN" : {
2521
2500
"123" : {
Original file line number Diff line number Diff line change 2
2
"PVST_GLOBAL_VALID" : {
3
3
"desc" : " Configure valid global PVST settings" ,
4
4
"eStr" : []
5
- },
6
- "MSTP_GLOBAL_VALID" : {
7
- "desc" : " Configure valid global MSTP settings" ,
8
- "eStr" : []
9
5
}
10
6
}
Original file line number Diff line number Diff line change 2
2
"PVST_GLOBAL_VALID" : {
3
3
"sonic-spanning-tree:sonic-spanning-tree" : {
4
4
"sonic-spanning-tree:STP" : {
5
- "GLOBAL " : [
5
+ "STP_LIST " : [
6
6
{
7
- "global-stp-mode " : " GLOBAL" ,
7
+ "keyleaf " : " GLOBAL" ,
8
8
"mode" : " pvst" ,
9
9
"rootguard_timeout" : 30 ,
10
10
"forward_delay" : 15 ,
15
15
]
16
16
}
17
17
}
18
- },
19
- "MSTP_GLOBAL_VALID" : {
20
- "sonic-spanning-tree:sonic-spanning-tree" : {
21
- "sonic-spanning-tree:STP" : {
22
- "GLOBAL" : [
23
- {
24
- "global-stp-mode" : " GLOBAL" ,
25
- "mode" : " mst"
26
- }
27
- ]
28
- },
29
- "sonic-spanning-tree:STP_MST" : {
30
- "GLOBAL" : [
31
- {
32
- "global-stp-mode" : " GLOBAL" ,
33
- "name" : " region1" ,
34
- "revision" : 0 ,
35
- "max_hops" : 20 ,
36
- "max_age" : 20 ,
37
- "hello_time" : 2 ,
38
- "forward_delay" : 15
39
- }
40
- ]
41
- }
42
- }
43
18
}
44
19
}
You can’t perform that action at this time.
0 commit comments