Use l2vpn drni peer-link ac-match-rule vxlan-mapping to enable the device to create frame match criteria based on VXLAN IDs for the dynamic ACs on the Ethernet aggregate link IPL.
Use undo l2vpn drni peer-link ac-match-rule vxlan-mapping to restore the default.
| NOTE: This command is supported only in Release 6616 and later. |
Syntax
l2vpn drni peer-link ac-match-rule vxlan-mapping
undo l2vpn drni peer-link ac-match-rule vxlan-mapping
Default
On a DR system that uses an Ethernet aggregate link as the IPL, dynamic ACs on the IPL use frame match criteria that are identical to thos e of site-facing ACs.
Views
System view
Predefined user roles
network-admin
Usage guidelines
By default, if a DR system uses an Ethernet aggregate link as the IPL, each DR member device creates a dynamic AC on the IPL when an A C is configured on a site-facing interface. The dynamic AC and the site-facing AC have the same frame match criteria and VSI mapping. If two site-facing ACs on different interfaces have the same frame match criteria but different VSI mappings, the dynamic ACs created for the site-facing ACs will conflict with each other. To prevent this issue, enable the DR member devices to create frame match criteria based on VXLAN IDs for the dynamic ACs on the IPL.
With this command configured, a DR member device creates dynamic ACs on the IPL and maps them to the VSIs of VXLANs after the VXLANs are created. The matching VLAN IDs in frame match criteria are calculated for the dynamic ACs according to the following rules:
· Outer VLAN ID = VXLAN ID / 4094 + 1.
· Inner VLAN ID = VXLAN ID % 4094 + 1.
· If the calculated outer VLAN ID of a dynamic AC is the PVID of the IPP, the device uses the calculated inner VLAN ID as the outer VLAN ID. The device does not add a matching inner VLAN ID to the frame match criterion of the dynamic AC.
After you execute this command, do not create VXLANs with IDs larger than 16000000.
This command deletes existing dynamic ACs from IPPs and takes effect on all VXLANs.
Examples
# Enable the device to create frame match criteria based on VXLAN IDs for the dynamic ACs on the Ethernet aggregate link IPL.
<Sysname> system-view
[Sysname] l2vpn drni peer-link ac-match-rule vxlan-mapping