beautypg.com

Specifying the sflow version format, Specifying the sflow agent ip address – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 254

background image

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

on page 254.

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

device(config)#sflow agent-ip 10.10.10.1

Syntax: [no] sflow agent-ipipv4-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.

device(config)#sflow agent-ip FE80::240:D0FF:FE48:4672

Syntax: [no] sflow agent-ipipv6-addr

The ipv6-addr 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 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.

device(config)#sflow version 2

Syntax: [no] sflow version[2 | 5 ]

The default is 5.

Egress interface ID for sampled broadcast and multicast packets

254

FastIron Ethernet Switch Administration Guide

53-1003075-02