Use this command to define a mapping relationship between a VLAN and/or VNI to a logical switch.
logical-switch | The name of the logical switch receiving the mapping. |
keyword | (Optional) Use to map a VNI to the logical switch. Must specify this or VLAN name. |
vni vni | (Optional) VXLAN Network Identifier (VNI) that you are mapping to the logical switch. Range is 1–16777215. |
vlan | (Optional) Use map a VLAN to the logical switch. |
vlan-id | (Optional) Name of the VLAN that you are mapping to the logical switch. Must specify this or keyword. |
None.
Global configuration command.
Maps either a VNI, or a VLAN, or both to a logical switch. If the VLAN or the keyword has been mapped to a different logical switch, an error occurs. There is a one-to-one mapping between the logical switch a VNI and a VLAN.
This example shows how to map logical switch "switch1" to VNI "777" and VLAN "15":
System(rw)->set tunnel map logical-switch switch1 keyword 777 vlan 15