sflow collector

Syntax

sflow collector[port] [vrf<多联机>] no sflow collector[port] [vrf<多联机>]

描述

Defines a collector to which the sFlow agent sends data. Up to three collectors can be defined. At least one collector should be defined, and it must be reachable from the switch for sFlow to work.

Command context

config

Parameters

collector

Specifies the IP address of a collector in IPv4 format (x.x.x.x), wherex是一个小数fr吗om 0 to 255, or IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

port
Specifies the UDP port on which to send information to the sFlow collector. Range: 0 to 65536. Default: 6343.
vrf<多联机>
Specifies the VRF on which to send information to the sFlow collector. The VRF must be defined on the switch. If no VRF is specified, the default VRF (default) is used.

权威

Administrators or local user group members with execution rights for this command.

Example

Defining a collector with IP address10.10.10.100on UDP port6400:

switch(config)#sflow collector 10.0.0.1 port 6400