Commit 7264a5b 1 parent 8ae4468 commit 7264a5b Copy full SHA for 7264a5b
File tree 4 files changed +107
-174
lines changed
4 files changed +107
-174
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" ,
2380
2379
"hello_time" : " 2" ,
2381
2380
"max_age" : " 20" ,
2382
2381
"priority" : " 32768" ,
2383
- "enabled" : " true"
2382
+ "enabled" : " true" ,
2383
+ "vlanid" : " 100"
2384
2384
},
2385
2385
"Vlan200" : {
2386
2386
"forward_delay" : " 16" ,
2387
2387
"hello_time" : " 3" ,
2388
2388
"max_age" : " 22" ,
2389
2389
"priority" : " 16384" ,
2390
- "enabled" : " true"
2390
+ "enabled" : " true" ,
2391
+ "vlanid" : " 200"
2391
2392
}
2392
2393
},
2393
2394
"STP_VLAN_INTF" : {
2400
2401
"priority" : " 64"
2401
2402
},
2402
2403
"Vlan200|Ethernet4" : {
2403
- "path_cost" : " 200000" ,
2404
+ "path_cost" : " 200000" ,
2404
2405
"priority" : " 128"
2405
2406
}
2406
2407
},
2407
- "STP_INTF " : {
2408
+ "STP_PORT " : {
2408
2409
"Ethernet0" : {
2409
- "enabled" : " 1 " ,
2410
- "root_guard" : " 0 " ,
2411
- "bpdu_guard" : " 0 " ,
2412
- "bpdu_guard_do_disable" : " 0 " ,
2410
+ "enabled" : " true " ,
2411
+ "root_guard" : " false " ,
2412
+ "bpdu_guard" : " false " ,
2413
+ "bpdu_guard_do_disable" : " false " ,
2413
2414
"path_cost" : " 200000" ,
2414
2415
"priority" : " 128" ,
2415
- "portfast" : " 1 " ,
2416
- "uplink_fast" : " 0 "
2416
+ "portfast" : " true " ,
2417
+ "uplink_fast" : " false "
2417
2418
},
2418
2419
"Ethernet4" : {
2419
- "enabled" : " 1 " ,
2420
- "root_guard" : " 0 " ,
2421
- "bpdu_guard" : " 1 " ,
2422
- "bpdu_guard_do_disable" : " 1 " ,
2420
+ "enabled" : " true " ,
2421
+ "root_guard" : " false " ,
2422
+ "bpdu_guard" : " true " ,
2423
+ "bpdu_guard_do_disable" : " true " ,
2423
2424
"path_cost" : " 200000" ,
2424
2425
"priority" : " 128" ,
2425
- "portfast" : " 0 " ,
2426
- "uplink_fast" : " 0 "
2426
+ "portfast" : " false " ,
2427
+ "uplink_fast" : " false "
2427
2428
},
2428
2429
"PortChannel2" : {
2429
- "enabled" : " 1 " ,
2430
- "root_guard" : " 1 " ,
2431
- "bpdu_guard" : " 0 " ,
2432
- "bpdu_guard_do_disable" : " 0 " ,
2430
+ "enabled" : " true " ,
2431
+ "root_guard" : " true " ,
2432
+ "bpdu_guard" : " false " ,
2433
+ "bpdu_guard_do_disable" : " false " ,
2433
2434
"path_cost" : " 20000" ,
2434
2435
"priority" : " 64" ,
2435
- "portfast" : " 0 " ,
2436
- "uplink_fast" : " 1 "
2436
+ "portfast" : " false " ,
2437
+ "uplink_fast" : " true "
2437
2438
}
2438
2439
},
2439
-
2440
2440
"STP_MST" : {
2441
2441
"GLOBAL" : {
2442
- "global-stp-mode" : " GLOBAL" ,
2443
2442
"name" : " region1" ,
2444
2443
"revision" : " 0" ,
2445
2444
"max_hops" : " 20" ,
2446
2445
"max_age" : " 20" ,
2447
2446
"hello_time" : " 2" ,
2448
- "forward_delay" : " 15"
2447
+ "forward_delay" : " 15" ,
2448
+ "hold_count" : " 6"
2449
2449
}
2450
2450
},
2451
2451
"STP_MST_INST" : {
2452
2452
"0" : {
2453
2453
"bridge_priority" : " 32768" ,
2454
- "vlan_list " : " 1-99, 4000-4094"
2454
+ "vlan " : [ " 1-99" , " 4000-4094" ]
2455
2455
},
2456
2456
"1" : {
2457
2457
"bridge_priority" : " 16384" ,
2458
- "vlan_list " : " 100-199"
2458
+ "vlan " : [ " 100-199" ]
2459
2459
},
2460
2460
"2" : {
2461
2461
"bridge_priority" : " 20480" ,
2462
- "vlan_list " : " 200-299"
2462
+ "vlan " : [ " 200-299" ]
2463
2463
},
2464
2464
"3" : {
2465
2465
"bridge_priority" : " 24576" ,
2466
- "vlan_list " : " 300-399"
2466
+ "vlan " : [ " 300-399" ]
2467
2467
}
2468
2468
},
2469
2469
"STP_MST_PORT" : {
2484
2484
"priority" : " 64"
2485
2485
}
2486
2486
},
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
2487
2520
2488
"MCLAG_DOMAIN" : {
2521
2489
"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