set vxlans vni encapsulation mode

User can configure encapsulation mode for vxlan vni.

NOTE:

Trident3 platform switches do not support the following VXLAN commands:

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

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

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

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

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


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

Parameters

Parameter

Description

vni <text>

VXLAN segment ID, decimal format ranges 1-16777215 or notation dotted format 100.100.200

mode<encapsulation-mode>

Configure vxlan tunnel encapsulation mode. Required select include:

  • none: Nothing will change, untagged packets will stay untagged, tagged packets will stay tagged.

  • service-vlan-add: Add 802.1Q tag for untagged packets, and nothing changed with tagged packets. Encapsulation vlan is required.

  • service-vlan-add-delete: Add 802.1Q tag for untagged packets, and delete tag for tagged packets. Encapsulation vlan is required.

  • service-vlan-add-replace: Add 802.1Q tag for untagged packets, and replace tag for tagged packets. Encapsulation vlan is required.

  • service-vlan-delete: Delete 802.1Q tag for tagged packets, and nothing changed with untagged packets. This is default value according to RFC 7348.

  • service-vlan-replace: Replace vlan id of 802.1Q tag for tagged packets, and nothing changed with untagged packets. Encapsulation vlan is required.

 

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

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

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.