114
Function:
Configure the IP address and port number of the host on which the sFlow
analysis software is installed. If the port has been configured with IP address, the port
configuration will be applied, or else the global configuration will be applied. The “no”
form of this command restores the port to default and deletes the IP address.
Parameter:<collector-address>
is the IP address of the analyzer,shown in dotted
decimal notation.
<collector-port>
is the destination port of the sent sFlow packets
Command Mode:
Global Mode and Interface Mode
Default:
The destination port of the sFlow packet is defaulted at 6343, and the analyzer
has no default address.
Usage Guide:
If the analyzer address is configured at interface mode, this IP address
and port configured at interface mode will be applied when sending the sample packet.
Or else the address and port configured at global mode will be applied. The analyzer
address should be configured to let the sFlow sample proxy work properly.
Example:
Configure the analyzer address and port at global mode.
switch #config)#sflow destionation 192.168.1.200 1025
2.8.3.2 sflow agent-address
Command:sflow agent-address <agent-address>
no sflow agent-address
Function:
Configure the sFlow sample proxy address. The “no” form of this command
deletes the proxy address
Parameter: <agent-address >
is the sample proxy IP address which is shown in dotted
decimal notation.
Command Mode:
Global Mode
Default:
None default value
Usage Guide:
The proxy address is used to mark the sample proxy which is similar to
OSPF or the Router ID in the BGP. However it is not necessary to make the sFlow
sample proxy work properly.
Example:
Sample the proxy address at global mode.
switch #config)#sflow agent-address 192.168.1.200
2.8.3.3 sflow priority
Command:sflow priority <priority-value>
no sflow priority
Function:
Configure the priority when sFlow receives packet from the hardware. The
"no” form of the command restores to the default
Parameter: <priority-value>
is the priority value with a valid range of 0-3.
Command Mode:
Global mode