Specifying the sflow agent ip address, Specifying the sflow version format – Brocade Communications Systems Brocade ICX 6650 User Manual

Page 283

Advertising
background image

Brocade ICX 6650 Administration Guide

265

53-1002600-01

sFlow

11

Egress interface ID for sampled broadcast and multicast packets

For broadcast and multicast traffic, the egress interface ID for sampled traffic is always
0x80000000. When broadcast and multicast packets are sampled, they are usually forwarded to
more than one port. However, the output port field in an sFlow datagram supports the display of
one egress interface ID only. Therefore, the sFlow version 5 agent always sets the output port ID to
0x80000000 for broadcast and multicast packets that are sampled.

Specifying the sFlow version format

If your device supports sFlow version 5, you can optionally specify the version used for exporting
sFlow data. Refer

“Specifying the sFlow agent IP address”

.

Specifying the sFlow agent IP address

The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies
the device (the sFlow agent) that sent the data. By default, the device automatically selects the
sFlow agent IP address based on the configuration, as described in the section

“sFlow and source

address”

on page 256. Alternatively, you can configure the device to instead use an arbitrary IPv4

or IPv6 address as the sFlow agent IP address.

To specify an IPv4 address as the sFlow agent IP address, enter a command such as the following

Brocade(config)#sflow agent-ip 10.10.10.1

Syntax: [no] sflow agent-ip <ipv4-addr>

The <ipv4-addr> specifies the address of the device that sent the data.

To specify an IPv6 address as the sFlow agent IP address, enter a command such as the following.

Brocade(config)#sflow agent-ip 2001:DB8:D0FF:FE48:4672

Syntax: [no] sflow agent-ip <ipv6-addr>

The <ipv6-addr> specifies the address of the device that sent the data.

Specifying the version used for exporting sFlow data

By default, when sFlow is enabled globally on the Brocade ICX 6650 device, the sFlow agent
exports sFlow data in version 5 format. You can change this setting so that the sFlow agent exports
data in version 2 format. You can switch between versions without rebooting the device or
disabling sFlow.

NOTE

When the sFlow version number is changed, the system will reset sFlow counters and flow sample
sequence numbers.

To specify the sFlow version used for exporting sFlow data, enter the following command.

Brocade(config)#sflow version 2

Advertising