Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

default-gateway

date_range 19-Nov-23
content_copy zoom_out_map
    default-gateway {
        (advertise | do-not-advertise | no-gateway-community);
    }

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols evpn],
[edit protocols evpn],
[edit routing-instances routing-instance-name protocols evpn]

Description

Specify the behavior for IRB interfaces defined as default gateways in an EVPN fabric.

In an EVPN-VXLAN environment with multihoming, you might use multiple EVPN routing instances on peer provider edge (PE) devices that share an Ethernet segment (ES). When you configure anycast gateways with this statement, we don’t support mixing the default behavior (same as the advertise option) with the no-gateway-community option on the links that participate in the same ES.

As a result, if you configure the default-gateway statement with the no-gateway-community option in any EVPN routing instances on any peer PE device that share an ES, you must configure this statement:

  • In all the routing instances that share the ES on a PE device,

  • On all the peer PE devices that share the ES,

  • Only with either the "no-gateway-community" option or the "do-not-advertise" option.

Options

advertise Advertise the default gateway MAC address. This is the default behavior.
do-not-advertise Don't advertise the default gateway MAC address.
no-gateway-community Advertise virtual gateway addresses and IRB MAC addresses to EVPN peer devices so that Ethernet-only PE devices learn those MAC addresses.
external-footer-nav
Ask AI
close

How can I help you today?

LLMs can make mistakes. Verify important information.
chat_add_on New topic
send progress_activity
This conversation will be monitored and recorded. Any information you provide will be subject to our Privacy Notice and may be used for quality assurance purposes. Do not include any personal or sensitive information. Ask AI can make mistakes. Verify generated output for accuracy.
Protected by hCaptcha arrow_drop_down arrow_drop_up
Juniper Networks, Inc. | Privacy Notice | Terms of Use