set vxlans vni <text> decapsulation mode

User can configure decapsulation mode for vxlan vni.

NOTE:

Trident3 platform switches do not support the following VXLAN commands:

set vxlans vni <text> decapsulation mode <decapsulation-mode> service-vlan-add

set vxlans vni <text> decapsulation mode <decapsulation-mode> service-vlan-add-delete

set vxlans vni <text> decapsulation mode <decapsulation-mode> service-vlan-add-replace

set vxlans vni <text> decapsulation mode <decapsulation-mode> service-vlan-delete

set vxlans vni <text> decapsulation mode <decapsulation-mode> service-vlan-replace


Command Syntax
set vxlans vni <text> decapsulation mode <decapsulation-mode> 

Parameter
• <text>  VXLAN segment ID, decimal format ranges 1-16777215 or notation dotted format 100.100.200
• <decapsulation-mode>  Configure vxlan tunnel encapsulation mode. Required selection include:

  • none: Nothing will change, untagged packets will stay untagged, tagged packets will stay tagged.
  • service-vlan-add: From network ports to access ports, add 802.1Q tag for both untagged/tagged packets. If the access port is matched by port & vlan, the vlan id of the tag been added will be that vlan, otherwise will be PVID of that port.
  • service-vlan-add-delete: From network ports to access ports, add 802.1Q tag for both untagged/tagged packets. If the access port is matched by port & vlan, the vlan id of the tag been added will be that vlan. Otherwise, it will be PVID of that port. From access to access, delete tag for tagged packets.
  • service-vlan-add-replace: From network ports to access ports, add 802.1Q tag for both untagged/tagged packets. If the access port is matched by port & vlan, the vlan id of the tag been added will be that vlan, otherwise will be PVID of that port. From access to access, replace tag for tagged packets. This is default value.
  • service-vlan-delete:  From access to access, delete tag for tagged packets.
  • service-vlan-replace: From access to access, replace tag for tagged packets.
  • service-vlan-per-port: The decapsulated packet can be tagged or untagged dynamically based on the setting on the output port.


Example
• This example demonstrates how to configure the VXLAN tunnel decapsulation mode for the VNI 10010.

admin@XorPlus# set vxlans vni 10010 decapsulation mode none 
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.