sFlow Operational Commands
sFlow Collector Information
The show traffic-sampling sflow collector
command output provide details about the sFlow collectors configured on the device. It shows the information related to each collector, including its sampling rates, associated agent, destination IP address, and other configuration specifics.
Syntax:
show traffic-sampling sflow profile <profile-name> collector <collector-id>
Option | Description |
---|---|
<profile-name> |
Name of the profile. |
collector-id |
Identifier for the collector. |
Example 1: Summary Output for sFlow collectors
supervisor@rtbrick: op> show traffic-sampling sflow collector Collector ID: 1 Agent-ID: 1.2.3.4 Address: 10.1.1.1 Instance: default Number of samples: 5 Sampling-rate: 10 UDP-Destination-Port: 6343 Collector ID: 2 Agent-ID: 1.2.3.4 Address: 20.1.1.1 Instance: default Sampling-rate: 10 UDP-Destination-Port: 6343 Interval: 4 secs Collector ID: 3 Agent-ID: 1.2.3.4 Address: 30.1.1.1 Instance: default Number of samples: 3 Sampling-rate: 10 UDP-Destination-Port: 6344 Collector ID: 4 Agent-ID: 1.2.3.4 Address: 40.1.1.1 Instance: default Number of samples: 2 Sampling-rate: 10 UDP-Destination-Port: 6344
Example 2: Summary Output for a specified sFlow collector
supervisor@rtbrick: op> show traffic-sampling sflow collector 1 Collector ID: 1 Agent-ID: 1.2.3.4 Address: 10.1.1.1 Instance: default Number of samples: 5 Sampling-rate: 10 UDP-Destination-Port: 6343
Sampling Profiles
Displays the packet sampling profile related information.
Syntax:
show traffic-sampling profile <options>
Option | Description |
---|---|
<profile-name> |
Name of the profile. |
Example 1: Summary Output for traffic sampling profiles
supervisor@rtbrick: op> show traffic-sampling sflow profile Profile name: test Collector Id: 1 Direction: ingress Profile name: test1 Collector Id: 2 Direction: ingress
Example 2: Summary Output for traffic sampling for a specified profile
supervisor@rtbrick: op> show traffic-sampling sflow profile test Profile name: test Collector Id: 1 Direction: ingress