Skip to content

Commit 9d273f1

Browse files
authored
Fix call for spanning-tree commands in dump script (sonic-net#3723)
What I did Fix the calls for spanning-tree commands in dump script. During call to generate techsupport, we can see that the spanning tree commands fail: . Error: No such command "spanning_tree". timeout --foreground 5m bash -c "dummy_cleanup_method () . How I did it Change from show spanning_tree to the actual command show spanning-tree How to verify it Call show techsupport
1 parent 6d95d9b commit 9d273f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/generate_dump

+4-4
Original file line numberDiff line numberDiff line change
@@ -2209,10 +2209,10 @@ main() {
22092209
wait
22102210

22112211
save_cmd "stpctl all" "stp.log"
2212-
save_cmd "show spanning_tree" "stp.show"
2213-
save_cmd "show spanning_tree statistics" "stp.stats"
2214-
save_cmd "show spanning_tree bpdu_guard" "stp.bg"
2215-
save_cmd "show spanning_tree root_guard" "stp.rg"
2212+
save_cmd "show spanning-tree" "stp.show"
2213+
save_cmd "show spanning-tree statistics" "stp.stats"
2214+
save_cmd "show spanning-tree bpdu_guard" "stp.bg"
2215+
save_cmd "show spanning-tree root_guard" "stp.rg"
22162216

22172217
save_cmd "ps aux" "ps.aux" &
22182218
save_cmd "top -b -n 1" "top" &

0 commit comments

Comments
 (0)