Skip to content
Ask AI

VxLAN

URLGETPOSTPATCHPUTDELETE
/rest/v1/rpc/show-vxlan-remotemacNYNNN
/rest/v1/rpc/show-vxlan-tunnelNYNNN
/rest/v1/running/vxlanYNYNN
/rest/v1/running/vxlan/local-vtep/{id}YYYNY
/rest/v1/running/vxlan/map/{vni}YYNNY
/rest/v1/running/vxlan/remote-vtep/{vni}/{ip}YYYNY
POST HTTPS://{switch IP}/rest/v1/rpc/show-vxlan-remotemac
{
"ip": "10.0.1.1"
}
POST HTTPS://{switch IP}/rest/v1/rpc/show-vxlan-tunnel
GET HTTPS://{switch IP}/rest/v1/running/vxlan
POST HTTPS://{switch IP}/rest/v1/running/vxlan/local-vtep/8
{
"ip": "2.2.2.2"
}
POST HTTPS://{switch IP}/rest/v1/running/vxlan/remote-vtep
{
"vni": 500,
"ip": "1.1.1.1"
}
POST HTTPS://{switch IP}/rest/v1/running/vxlan/map
{
"vni": 999,
"vtep-id": 6,
"map-type": "l3",
"vrf": "default"
}

Tree Diagrams

+--rw vxlan
+--rw udp-port?
+--rw centralized-gateway?

Table of Properties

NameRequiredType/RangeDescription
vxlanMPath-only node, has no configurable value.
Configuration for the VXLAN
udp-portO1..65535(sub-property of vxlan)
The port used to encapsulate VXLAN packets
Default value: 4789
centralized-gatewayO”true"
"false”(sub-property of vxlan)
Configure VXLAN mode centralized
Default value: “false”

Tree Diagrams

+--rw vxlan
+--rw local-vtep* [id]
| +--rw id
| +--rw ip

Table of Properties

NameRequiredType/RangeDescription
vxlanMPath-only node, has no configurable value.
Configuration for the VXLAN
local-vtepM(sub-property of vxlan)
Path-only node, has no configurable value.
List of Multi-vtep that is supported for VXLAN on some platforms
idM0..9(sub-property of local-vtep)
ID of local VTEP
ipMA.B.C.D(sub-property of local-vtep)
Local IP of tunnel

Tree Diagrams

+--rw vxlan
+--rw remote-vtep* [vni ip]
| +--rw vni
| +--rw ip
| +--rw router-mac?
| +--ro local-vtep-id?

Table of Properties

NameRequiredType/RangeDescription
vxlanMPath-only node, has no configurable value.
Configuration for the VXLAN
remote-vtepM(sub-property of vxlan)
Path-only node, has no configurable value.
List of static L2 VXLAN tunnel
vniM1..16777215(sub-property of remote-vtep)
VNI of l2 VXLAN tunnel
ipMA.B.C.D(sub-property of remote-vtep)
Remote VTEP IP
router-macOA:B:C:D:E:F(sub-property of remote-vtep)
Router-mac of remote VTEP
local-vtep-idRO0..9(sub-property of remote-vtep)
Leaf that help to config
Default value: 0

Tree Diagrams

+--rw vxlan
+--rw map* [vni]
+--rw vni
+--rw vtep-id?
+--rw map-type
+--rw vlan-id
+--rw vrf

Table of Properties

NameRequiredType/RangeDescription
vxlanMPath-only node, has no configurable value.
Configuration for the VXLAN
mapM(sub-property of vxlan)
Path-only node, has no configurable value.
List of VXLAN map
vniM1..16777215(sub-property of map)
VNI of VXLAN map
vtep-idO0..9(sub-property of map)
ID of the VXLAN tunnel
Default value: 0
map-typeM”l2"
"l3”(sub-property of map)
VXLAN map type choice
vlan-idCM1..4094(sub-property of map)
Only applicable when map-type = “l2”.
VLAN id of l2 map
vrfCM”default”
vrf name(sub-property of map)
Only applicable when map-type =“l3”.
VRF name of l3 map

Tree Diagrams

+---x show-vxlan-tunnel
| +--ro output
| +--ro tunnel* [remote-ip vni]
| +--ro remote-ip
| +--ro vni
| +--ro vlan-or-vrf?

Table of Properties

NameRequiredType/RangeDescription
show-vxlan-tunnelMPath-only node, has no configurable value.
Show VXLAN tunnel
tunnelRO(sub-property of output)
Path-only node, has no configurable value.
List of established VXLAN tunnels
remote-ipROA.B.C.D(sub-property of tunnel)
IP address of remote VTEP
vniRO1..16777215(sub-property of tunnel)
VNI of tunnel
vlan-or-vrfRO1..4094
”default”
vrf name”(sub-property of tunnel)
VLAN or VRF mapped to the VNI

Tree Diagrams

+---x show-vxlan-remotemac
+---w input
| +---w ip?
+--ro output
+--ro fdb* [vlan-id mac]
+--ro vlan-id
+--ro mac
+--ro vni?
+--ro remote-ip*
+--ro type?

Table of Properties

NameRequiredType/RangeDescription
show-vxlan-remotemacMPath-only node, has no configurable value.
Show VXLAN remotemac
ipOA.B.C.D(sub-property of input)
Display VXLAN remotemac of specific remote ip or remotemac of all
fdbRO(sub-property of output)
Path-only node, has no configurable value.
List of fdb entry learned from VXLAN tunnel
vlan-idRO1..4094(sub-property of fdb)
VLAN ID
macROA:B:C:D:E:F(sub-property of fdb)
MAC address
vniRO1..16777215(sub-property of fdb)
VNI of the VXLAN tunnel
remote-ipROA.B.C.D(sub-property of fdb)
IP address of remote VTEP
typeRO”static"
"dynamic”(sub-property of fdb)
Type of fdb