Chapter 53 commands for sflow, 1 sflow destination, 2 sflow agent-address – PLANET XGS3-24040 User Manual

Page 805: 3 sflow priority, Sflow destination, Sflow agent, Address, Sflow priority

Advertising
background image

Commands for Reliability Content

53-1

Chapter 53 Commands for sFlow

53.1 sflow destination

Command: sflow destination <collector-address> [<collector-port>]

no sflow destination

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 Port 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 Port Mode, this IP address and port configured at

Port 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 destination 192.168.1.200 1025

53.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

53.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.

Advertising