You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Command-Reference] Add CLI docs for route flow counter (#2069)
- What I did
Add CLIs document for route flow counter feature, CLI PR: #2031
- How I did it
Add CLIs document for route flow counter feature
- How to verify it
Run build
@@ -3137,9 +3138,10 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#featur
3137
3138
3138
3139
## Flow Counters
3139
3140
3140
-
This section explains all the Flow Counters show commandsand clear commands that are supported in SONiC. Flow counters are usually used for debugging, troubleshooting and performance enhancement processes. Flow counters supports case like:
3141
+
This section explains all the Flow Counters show commands, clear commands and config commands that are supported in SONiC. Flow counters are usually used for debugging, troubleshooting and performance enhancement processes. Flow counters supports case like:
3141
3142
3142
3143
- Host interface traps (number of received traps per Trap ID)
3144
+
- Routes matching the configured prefix pattern (number of hits and number of bytes)
3143
3145
3144
3146
### Flow Counters show commands
3145
3147
@@ -3169,6 +3171,50 @@ Because clear (see below) is handled on a per-user basis different users may see
3169
3171
asic1 dhcp 200 3,000 45.25/s
3170
3172
```
3171
3173
3174
+
**show flowcnt-route stats**
3175
+
3176
+
This command is used to show the current statistics for route flow patterns.
3177
+
3178
+
Because clear (see below) is handled on a per-user basis different users may see different counts.
3179
+
3180
+
- Usage:
3181
+
```
3182
+
show flowcnt-route stats
3183
+
show flowcnt-route stats pattern <route_pattern> [--vrf <vrf>]
3184
+
show flowcnt-route stats route <route_prefix> [--vrf <vrf>]
0 commit comments