Skip to content

Commit

Permalink
Merge pull request sonic-net#218 from bandaru-viswanath/master
Browse files Browse the repository at this point in the history
Rebasing the TAM collector CLI command description (and params)
  • Loading branch information
bandaru-viswanath authored Jun 7, 2021
2 parents 34d51af + 85a5f1f commit b7720dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devops/tam/tam-drop-monitor-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ sonic (config-if-Ethernet44)# flow-group websrvflows
; setup the collector
collector dmcol1 type ipv4 ip 20.20.20.4 port 9091 protocol UDP
collector dmcol1 ip 20.20.20.4 port 9091 protocol UDP
; Enable Drop Monitor on the switch
Expand Down
3 changes: 1 addition & 2 deletions devops/tam/tam-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,14 @@ The following collector attribtes are supported.
| **Attribute** | **Description** |
|--------------------------|-------------------------------------|
| `name` | A string that uniquely identifies the collector, and will be referrenced from other configurations |
| `ip-address-type` | Specifies the version of IP protocol to be used for reaching the collector. Valid values are `"IPv4"` and `"IPv6"` |
| `ip-address` | The IP address of the collector |
| `protocol` | Specifies the transport protocol to be used for reaching the collector. Valid values are `"UDP"` and `"TCP"`. When not specified, `"UDP"` is used as default. |
| `port` | Port number on which the Collector is listening for the reports. |

The command syntax for setting up the collectors are as follows:

```
sonic (config-tam)# collector <name> type {ipv4 | ipv6} ip <ip-address> port <port-number> [protocol { UDP | TCP }]
sonic (config-tam)# collector <name> ip <ip-address> port <port-number> [protocol { UDP | TCP }]
sonic (config-tam)# no collector <name>
```
Expand Down
2 changes: 1 addition & 1 deletion devops/tam/tam-inband-flow-analyser.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ sonic (config-tam)# enterprise-id 4434
; setup the collector
sonic (config-tam)# collector ifacol1 type ipv4 ip 20.20.20.4 port 9090 protocol UDP
sonic (config-tam)# collector ifacol1 ip 20.20.20.4 port 9090 protocol UDP
; create the flowgroup
Expand Down

0 comments on commit b7720dc

Please sign in to comment.