Skip to content

vxlan

The following operations can be performed on "vxlan":

rm| unset| add| bind| set| stat| show| unbind|

rm vxlan

Removes a VXLAN from the Citrix ADC

Synopsis

rm vxlan

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

Example

rm vxlan 20000

unset vxlan

Use this command to remove vxlan settings.Refer to the set vxlan command for meanings of the arguments.

Synopsis

unset vxlan [-vlan] [-port] [-dynamicRouting] [-ipv6DynamicRouting] [-innerVlanTagging]

add vxlan

Adds a VXLAN to the Citrix ADC.

Synopsis

add vxlan [-vlan ] [-port ] [-dynamicRouting ( ENABLED | DISABLED )] [-ipv6DynamicRouting ( ENABLED | DISABLED )] [-type ( VXLAN | VXLANGPE ) [-protocol ]] [-innerVlanTagging ( ENABLED | DISABLED )]

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

vlan ID of VLANs whose traffic is allowed over this VXLAN. If you do not specify any VLAN IDs, the Citrix ADC allows traffic of all VLANs that are not part of any other VXLANs. Minimum value: 2 Maximum value: 4094

port Specifies UDP destination port for VXLAN packets. Default value: 4789 Minimum value: 1 Maximum value: 65534

dynamicRouting Enable dynamic routing on this VXLAN.

Possible values: ENABLED, DISABLED Default value: DISABLED

ipv6DynamicRouting Enable all IPv6 dynamic routing protocols on this VXLAN. Note: For the ENABLED setting to work, you must configure IPv6 dynamic routing protocols from the VTYSH command line.

Possible values: ENABLED, DISABLED Default value: DISABLED

type VXLAN encapsulation type. VXLAN, VXLANGPE

Possible values: VXLAN, VXLANGPE Default value: VXLAN

protocol VXLAN-GPE next protocol. RESERVED, IPv4, IPv6, ETHERNET, NSH

Possible values: IPv4, IPv6, ETHERNET, NSH Default value: ETHERNET

innerVlanTagging Specifies whether Citrix ADC should generate VXLAN packets with inner VLAN tag.

Possible values: ENABLED, DISABLED Default value: DISABLED

Example

add vxlan 20000 -vlan 4

bind vxlan

Binds tunnels or IP addresses to the VXLAN

Synopsis

bind vxlan [-srcIP ] [-IPAddress []]

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

srcIP The source IP address to use in outgoing vxlan packets.

IPAddress Network address to be associated with the VXLAN. Should exist on the appliance before you associate it with the VXLAN.

netmask Subnet mask for the network address defined for this VXLAN.

Example

bind vxlan 20000 -tunnel t1

set vxlan

Modify VXLAN parameters

Synopsis

set vxlan [-vlan ] [-port ] [-dynamicRouting ( ENABLED | DISABLED )] [-ipv6DynamicRouting ( ENABLED | DISABLED )] [-innerVlanTagging ( ENABLED | DISABLED )]

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

vlan ID of VLANs whose traffic is allowed over this VXLAN. If you do not specify any VLAN IDs, the Citrix ADC allows traffic of all VLANs that are not part of any other VXLANs. Minimum value: 2 Maximum value: 4094

port Specifies UDP destination port for VXLAN packets. Default value: 4789 Minimum value: 1 Maximum value: 65534

dynamicRouting Enable dynamic routing on this VXLAN.

Possible values: ENABLED, DISABLED Default value: DISABLED

ipv6DynamicRouting Enable all IPv6 dynamic routing protocols on this VXLAN. Note: For the ENABLED setting to work, you must configure IPv6 dynamic routing protocols from the VTYSH command line.

Possible values: ENABLED, DISABLED Default value: DISABLED

innerVlanTagging Specifies whether Citrix ADC should generate VXLAN packets with inner VLAN tag.

Possible values: ENABLED, DISABLED Default value: DISABLED

Example

set vxlan 20000 -vlan 4

stat vxlan

Display statistics for VXLAN(s).

Synopsis

stat vxlan [] [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic | full )]

Arguments

id An integer specifying the VXLAN identification number (VNID). Minimum value: 1 Maximum value: 16777215

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

count devno stateflag

Counters

Packets received (RxPkts) Packets received on the VXLAN.

Bytes received (RxBytes) Bytes of data received on the VXLAN.

Packets sent (TxPkts) Packets transmitted on the VXLAN.

Bytes sent (TxBytes) Bytes of data transmitted on the VXLAN.

Example

stat vxlan 10000

show vxlan

Display all the VXLANs on the Citrix ADC

Synopsis

show vxlan []

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

Output

vlan ID of VLANs whose traffic is allowed over this VXLAN. If you do not specify any VLAN IDs, the Citrix ADC allows traffic of all VLANs that are not part of any other VXLANs.

port Specifies UDP destination port for VXLAN packets.

dynamicRouting Enable dynamic routing on this VXLAN.

ipv6DynamicRouting Enable all IPv6 dynamic routing protocols on this VXLAN. Note: For the ENABLED setting to work, you must configure IPv6 dynamic routing protocols from the VTYSH command line.

innerVlanTagging Specifies whether Citrix ADC should generate VXLAN packets with inner VLAN tag.

tunnel Specifies the name of the configured tunnel to be associated with this VXLAN.

IPAddress The IP address assigned to the VXLAN.

netmask Subnet mask for the network address defined for this VXLAN.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.

type VXLAN encapsulation type. VXLAN, VXLANGPE

protocol VXLAN-GPE next protocol. RESERVED, IPv4, IPv6, ETHERNET, NSH

stateflag Internal flag for display

partitionName The Partition to which this vxlan is bound

srcIP The source IP address to use in outgoing vxlan packets.

devno count

unbind vxlan

Unbinds tunnels and IP addresses from the VXLAN

Synopsis

unbind vxlan [-srcIP ] [-IPAddress []]

Arguments

id A positive integer, which is also called VXLAN Network Identifier (VNI), that uniquely identifies a VXLAN. Minimum value: 1 Maximum value: 16777215

srcIP The source IP address to use in outgoing vxlan packets.

IPAddress The IP Address associated with the VXLAN configuration.

netmask Subnet mask for the network address defined for this VXLAN.

Example

unbind vxlan 20000 -tunnel t1

Was this article helpful?