Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

extended-gateway (sFlow)

Syntax

Hierarchy Level

Description

Configure extended-gateway to export the extended gateway structure in sFlow records. By default, it exports the following fields:

  • next-hop

  • local AS number

  • source autonomous system (src-as)

  • src_peer_as

  • localpref

To export additional fields such as dst_as_path and communities, configure the destination-as-path and communities options explicitly.

Options

communities

Configure communities to export communities in the extended gateway structure. If you configure communities with count option, the number of communities exported is equal to the configured count and if you do not configure count option, the number of communities exported is 8, which is the default count number.

count

Communities count

  • Default: 8

  • Range: 1 through 32

destination-as-path

Configure destination-as-path to export destination AS path information in the extended gateway structure. If you configure destination-as-path with count option, the number of autonomous system exported is equal to the configured count and if you do not configure count option, the number of autonomous system exported is 8, which is the default count number.

count

Destination AS count

  • Default: 8

  • Range: 1 through 32

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Evolved Release 25.2R1.