service sflow server-address <IPv4-or-IPv6> server-port <port>
Specifies the IPv4 or IPv6 IP address of an sFlow collector and a port to which to send the UDP datagrams that contain the collected sFlow information.
The default port is 6343.
- IPv4-or-IPv6
- The IP address of the sFlow collector server.
- port
- A port of an sFlow collector server to which to send the UDP datagrams that contain the collected sFlow information.
Configuration mode
interfaces {
sflow {
server-address IPv4-or-IPv6 {
server-port port
}
}
}
You can specify multiple sFlow collectors by entering this command multiple times. The maximum number of sFlow collectors allowed is four.
Use the set form of this command to specify an sFlow collector and a port to which to send the collected sFlow data.
Use the delete form of this command to remove an sFlow collector from the list of collectors to which to send sFlow data.