26.1.7 VNI mapping method
There are two VNI mapping methods: VLAN mapping and subinterface mapping.
- <Structure of this section>
(1) VLAN Mapping
Assign a VNI to VLAN. The maximum number of VNI that can be set is 4094 VLAN. By setting the configuration command vxlan vlan-mapping mode, you can extend the capacity limit for VLAN ports that can be operated by VLAN mapping.
The following tables show whether or not a VLAN with VNI assigned to the same port can coexist when a VLAN without VNI is set.
Item |
Whether or not VLAN for Layer 2 functionality can coexist |
---|---|
When the capacity limit is not extended |
Can coexist* |
Extending capacity requirements |
Cannot be used |
- #
-
The functions available for VNI assigned VLAN are the same as those available for VNI assigned VLAN. For more information, see "Availability of other functions on 22-5 VXLAN Access and VXLAN Network ports". If a VLAN to which a VNI has been assigned is specified as a native VLAN, co-existence is disabled.
The following diagram shows a sample VLAN map.
|
VNI ID assigned to VTEP are used to connect between the bases shown in this diagram. Set the same VNI ID between the connected sites.
-
Site A and Site Z:VNI 1
-
Site B and Site Z:VNI 2
-
Site C and Site Z:VNI 3
VLAN ID that differ from the destination office can also be set as VLAN ID belonging to VNI.
(2) Subinterface mapping
Assign a VNI for each physical port or channel group subinterface.
A subinterface is a function that combines an Ethernet or port-channel with a VLAN Tag(VLAN ID to build a logical interface. Therefore, if VLAN ID for identifying a subinterface is the same but the source Ethernet or port channel is different, it can be recognized as a different interface and different VNI can be assigned to the same VLAN ID. Note that VLAN for Layer 2 functionality cannot coexist in subinterface mapping.
The following figure shows an example of subinterface mapping.
|
VNI ID assigned to VTEP are used to connect between the bases shown in this diagram. Set the same VNI ID between the connected sites.
-
Site A and Site Z:VNI 1
-
Site B and Site Z:VNI 2
-
Site C and Site Z:VNI 3
(3) Notes on VNI Mapping Method
-
VLAN mappings and subinterface mappings cannot be mixed within the same interface (physical port or channel group).
-
VLAN mappings and subinterface mappings cannot have the same VNI. Different VNI allow a mix of VLAN mappings and subinterface mappings within a single switch.