Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

route-attributes

date_range 15-Dec-23

Syntax

content_copy zoom_out_map
    route-attributes {
     as-path {
      export-action (allow | skip);
      import-action (allow | skip);
     }
     community {
      export-action (allow | skip);
      import-action (allow | skip);
     }
     preference {
      export-action (allow | skip);
      import-action (allow | skip);
     }
    }

Hierarchy Level

content_copy zoom_out_map
[edit routing-instances name protocols evpn ip-prefix-routes]

Description

You can use the route-attributes import and export options to control which attributes to carry between the IP and EVPN routes. Use the export option when generating EVPN routes from IP routes and the import option when generating IP routes from EVPN routes.

Options

as-path

export-action

  • allow — Inherit as-path from IP routes to EVPN routes.

  • skip — Do not inherit as-path from IP routes to EVPN routes.

import-action

  • allow — Inherit as-path from EVPN routes to IP routes.

  • skip — Do not inherit as-path from EVPN routes to IP routes.

community

export-action

  • allow — Inherit community from EVPN routes to IP routes.

  • skip — Do not inherit community from EVPN routes to IP routes.

import-action

  • allow — Inherit community from EVPN routes to IP routes.

  • skip — Do not inherit community from EVPN routes to IP routes.

preference

export-action

  • allow — Inherit preference from EVPN routes to IP routes.

  • skip — Do not inherit preference from EVPN routes to IP routes.

import-action

  • allow — Inherit preference from EVPN routes to IP routes.

  • skip — Do not inherit preference from EVPN routes to IP routes.

Required Privilege Level

routing—To view this statement in the configuration.

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

footer-navigation