Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

data-record-fields

Syntax

Hierarchy Level

Description

Export the BGP community and AS path information in the data record using IPFIX, per RFC 8549. The IPFIX collector should be RFC 6313 compliant to decode data records carrying fields with the basicList format. Any new or changed configuration of this statement is effective immediately and the exported packets contain the new information.

count defines the size of the list that will be exported for that Information Element in the data record. If the total number of items exceeds the configured list size, the exported list contains the first and subsequent items up to and including the configured list size. For example, if the AS path list for the source prefix contains 8 AS numbers, but count is set to 4, only the first four AS numbers are exported in the data record.

Each Information Element is independent of the others and can be exported separately in the collector record.

Default

When this statement is not configured, the routing protocol process (rpd) only sends the peer AS number, origin AS number, and the BGP next-hop information. When this statement is configured with at least one Information Element, rpd sends all of the community and AS-path-related information. You do not have to configure all of the Information Elements.

Options

source-prefix-as-path count

Export the source prefix AS path (Information Element 16, per RFC 6313).

  • Default: 8

destination-prefix-as-path count

Export the destination prefix AS path (Information Element 17, per RFC 6313).

  • Default: 8

bgp-source-standard-community count

Export the standard BGP community list for the source prefix, corresponding to a specific flow's source IP address (Information Element 484, per Appendix A of RFC 8549).

  • Default: 8

bgp-destination-standard-community count

Export the standard BGP community list for the destination prefix, corresponding to a specific flow's destination IP address (Information Element 485, per Appendix A of RFC 8549).

  • Default: 8

bgp-source-extended-community count

Export the extended BGP community list corresponding to a specific flow's source IP address (Information Element 487, per Appendix A of RFC 8549).

  • Default: 8

bgp-destination-extended-community count

Export the extended BGP community list corresponding to a specific flow's destination IP address (Information Element 488, per Appendix A of RFC 8549).

  • Default: 8

bgp-source-large-community count

Export the large BGP community list corresponding to a specific flow's source IP address (Information Element 490, per Appendix A of RFC 8549).

  • Default: 8

bgp-destination-large-community count

Export the large BGP community list corresponding to a specific flow's destination IP address (Information Element 491, per Appendix A of RFC 8549).

  • Default: 8

Additional Information

AS path and BGP community information are exported using the following Information Elements, as shown in Table 1:

Table 1: AS Path and BGP Community Information Elements
IE Name IE ID Export Data Type Format

BGP Community

483

Unsigned 32-bit value

BGP Source Community List, which is a list of BGP community numbers (IE 483)

484

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

BGP Destination Community List, which is a list of BGP community numbers (IE 483)

485

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

BGP Extended Community

486

8-byte octetArray

BGP Source Extended Community List, which is a list of BGP extended community numbers (IE 486)

487

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

BGP Destination Extended Community List, which is a list of BGP extended community numbers (IE 486)

488

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

BGP Large Community

489

12-byte octetArray

BGP Source Large Community List, which is a list of BGP large community numbers (IE 489)

490

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

BGP Destination Large Community List, which is a list of BGP large community numbers (IE 489)

491

basicList: data is exported in the format defined in the example in Appendix A of RFC 8549.

Source AS Path List

16

basicList: data is exported in the format defined in RFC 6313.

Destination AS Path List

17

basicList: data is exported in the format defined in RFC 6313.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 21.4R1.