Configuring VXLAN Flow
Last updated
Last updated
Modification to the Tunnel config or Tunnel-related Flow is not supported. However, you can delete the existing configuration and create a new one as needed.
Flow with Tunnel interface cannot have an 'override-to' action in the rule configuration
Configure Tunnel Flow only after the VxLAN tunnel is operationally 'UP' in the "show vxlan tunnel all/<tunnel-id>" output
Only 1 rule can be configured in tunnel-related flow
The current release doesn't support VxLAN tunnel over a LAG interface
For remote VxLAN-VTEP(Different subnet), the below order has to be followed for configuration
Command
tunnel <tunnelname> no tunnel <tunnelname>
Description
Create tunnel
Parameters
Tunnelname
Mode
CONFIG
Using this command, you can configure the attributes of the tunnel. Gateway is provisioned only when the nodes are not directly connected
Note: Updation of the tunnel is not supported. The tunnel must be deleted and re-configured for any change
Command
[no] tunnel <tunnel-name>
Description
Create tunnel
Parameters
interface: Configure tunnel ports
source-ip : Source IP address destination-ip : Destination IP address
gateway : Gateway IPv4 Address
vni : VXLAN network identifier[ range: 4096 - 16777215]
source-port : Tunnel Source Port vlan-tagging : Tunnel VLAN Tagging
Mode
TUNNEL
Flow based Encap Configuration
You can set the rules for the VxLAN Encap using flow. Here the tool port must be the tunnel name created using tunnel config command.
Command
flow flowname
network-ports Ethernet4/1
tool-ports tunnel1
rule 1 permit match all
Description
Add flow
Parameters
description Configure description for flow enable Enable the flow
end Exit to Exec Prompt
exit Exit from the Current Prompt from Configure network or TAP ports
no no form
rule Configure rule
to Configure network tool or analyzer ports
Mode
FLOW
You can set the rules for the VxLAN Decap using flow.. Here the Network port must be the tunnel name created using tunnel config command.
Command
flow flowname
network-ports tunnel1
tool-ports Ethernet10/1
rule 1 permit match all
Description
Add flow
Parameters
description Configure description for flow enable Enable the flow
end Exit to Exec Prompt
exit Exit from the Current Prompt from Configure network or TAP ports
no no form
rule Configure rule
to Configure network tool or analyzer ports
Mode
FLOW
You can display the Vxlan tunnel configurations using this command.
Command
vxlan ("VxLAN Tunnel") tunnel ("Tunnel Information") (all ("Displays all VXLAN Tunnel configuration") | ("Displays specific VXLAN Tunnel configuration") <tunnelid:string length[10]> ("Tunnel Name")),
Description
Displays VXLAN tunnel