You can configure an L3VPN instance to store and manage received mobile phone routes and VPN routes reachable to VNFs.
The system view is displayed.
A VPN instance is created, and the VPN instance view is displayed.
A VNI is created and associated with the VPN instance.
Run ipv4-family
The VPN instance IPv4 address family view is displayed.
Run ipv6-family
The VPN instance IPv6 address family view is displayed.
Run route-distinguisher route-distinguisher
An RD is configured for the VPN instance IPv4 address family.
Run route-distinguisher route-distinguisher
An RD is configured for the VPN instance IPv6 address family.
Run vpn-target vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] evpn
VPN targets used to import routes into and from the remote device's L3VPN instance are configured for the VPN instance IPv4 address family.
Run vpn-target vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] evpn
VPN targets used to import routes into and from the remote device's L3VPN instance are configured for the VPN instance IPv6 address family.
When the local device advertises EVPN routes to the remote device, the EVPN routes carry the export VPN target configured using this command. When the local device receives an EVPN route from the remote end, the route can be imported into the routing table of the VPN instance IPv4/IPv6 address family only if the VPN target carried in the EVPN route is included in the import VPN target list of the VPN instance IPv4/IPv6 address family.
Exit from the VPN instance IPv4/IPv6 address family view.
Exit from the VPN instance view.
A VBDIF interface is created, and the VBDIF interface view is displayed.
The number of VBDIF interfaces to be created is the same as the number of planned BDs.
The VBDIF interface is bound to the VPN instance.
IPv6 is enabled on the interface. This step is mandatory if an IPv6 address is planned for the VBDIF interface.
Run ip address ip-address { mask | mask-length }
An IPv4 address is configured for the interface.
Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }
An IPv6 address is configured for the interface.
The distributed gateway function is enabled.
Run arp generate-rd-table enable
The DCGW is enabled to generate ARP entries used for Layer 2 forwarding based on ARP information.
Run ipv6 nd generate-rd-table enable
The DCGW is enabled to generate ND entries used for Layer 2 forwarding based on ND information.
The configuration is committed.