Configuring acl-based inbound sflow – Brocade BigIron RX Series Configuration Guide User Manual
Page 1209
BigIron RX Series Configuration Guide
1131
53-1002484-04
sFlow overview
40
ACL-based sFlow sample (which contains the Type 1 sample) is followed by an unencapsulated Tag
Type 1 sFlow sample. That unencapsulated Tag Type 1 sFlow sample follows the sequence
numbering of the first unencapsulated Tag Type 1 sFlow sample which gives it a sequence number
of 2.
This is useful in cases where an sFlow collector does not recognize Tag Type 1991. In these
situations, the Tag Type 1991 samples can be ignored without disrupting the sFlow sequence
numbers. It is also useful for identifying samples obtained using ACL-based sFlow that you might
want to perform other processes.
FIGURE 148
sFlow packet format
Configuring ACL-based inbound sFlow
The followings sections describe how to configure ACL-based Inbound sFlow:
•
“Configuration considerations for ACL-based inbound sFlow”
•
“Creating an ACL with an sFlow clause”
•
“Specifying an sFlow collector”
Configuration considerations for ACL-based inbound sFlow
Consider the following when you configure ACL-based inbound sFlow:
•
sFlow must be enabled on the router.
•
ACL-based mirroring: The mirror and copy-sflow keywords are mutually exclusive on a per ACL
clause basis.
Packet Containing
sFlow Sample
L2
IP
UDP
sFlow
Sequence Flow for sFlow Records
Tag Type
1
Length
Sequence # 1
Source ID
.
.
.
.
.
.
Sequence # 2
Source ID
.
.
.
Sequence # 3
Source ID
.
.
Tag Type
1991
Length
Tag Type
1
Length
Tag Type
1
Length
Group ID:
An arbitrary id used for grouping samples
Flag Values:
0x00000001 = First packet of a flow
0x00000002 = ACL-triggered sample
0x00000004 = CPU-handled packet
0x00000008 = Not counted by interface sampler
Detail of Foundry Proprietary Record
Length includes
Foundry Proprietary
Tag Type 1991 and
Encapsulated sFlow
records
Tag Type
1991
Length
Flags:
Group ID:
Tag Type
1
Length
Encapsulated
sFlow sample record
Sequence # 1
Length for Encapsulated
sFlow samples only include
current Seq record