Configuring a VXLAN EVPN

Before enabling interconnection between PE1, PE2, and the EOR, configure basic EVPN and VXLAN functions on PE1 and PE2, and create EVPN instances and NVE interfaces.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run evpn vpn-instance vpn-instance-name bd-mode

    An EVPN instance in BD mode is created, and the EVPN instance view is displayed.

  3. Run route-distinguisher route-distinguisher

    An RD is configured for the EVPN instance.

  4. Run vpn-target vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ]

    VPN targets (RTs) are configured for the EVPN instance.

  5. Run quit

    Exit from the EVPN instance view.

  6. Run interface nve nve-number

    The view of a Network Virtualization Edge (NVE) interface is displayed.

  7. Run source ip-address

    An IP address is configured for the source virtual tunnel end point (VTEP).

  8. Run vni vni-id head-end peer-list protocol bgp

    An ingress replication list is configured.

  9. Run quit

    Exit from the NVE interface view.

  10. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >