Skip to content

To fix the stp clear cli syntax error#112

Merged
chenkelly merged 1 commit into
edge-core:202311.Xfrom
twtseng-tim:fix_stp_clear
Aug 18, 2025
Merged

To fix the stp clear cli syntax error#112
chenkelly merged 1 commit into
edge-core:202311.Xfrom
twtseng-tim:fix_stp_clear

Conversation

@twtseng-tim

@twtseng-tim twtseng-tim commented Aug 15, 2025

Copy link
Copy Markdown

What I did

The command syntax was modified to resolve the STP clear CLI error.

How I did it

How to verify it

admin@as9726-32d-1:~$ sudo sonic-clear spanning-tree statistics
All stats cleared
admin@as9726-32d-1:~$ sudo sonic-clear spanning-tree statistics interface Ethernet0
Stats cleared for Ethernet0
admin@as9726-32d-1:~$ sudo sonic-clear spanning-tree statistics vlan 1000
Stats cleared for VLAN 1000
admin@as9726-32d-1:~$ sudo sonic-clear spanning-tree statistics vlan-interface 1000 Ethernet8
Stats cleared for VLAN 1000 Ethernet8

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@twtseng-tim twtseng-tim requested a review from chenkelly August 15, 2025 10:04
@chenkelly chenkelly changed the title Fix stp clear cli To fix the stp clear cli syntax error Aug 18, 2025
@chenkelly chenkelly merged commit 0256c32 into edge-core:202311.X Aug 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants