VXLAN and EVPN

VXLAN VNI Properties

Returns configuration settings of VXLANs.

Lists VNI-level network segment settings configured for VXLANs.

Inputs

Name

Description

Type

Optional

Default Value

nodes

Include nodes matching this specifier.

NodeSpec

True

properties

Include properties matching this specifier.

VxlanVniPropertySpec

True

Invocation

[6]:
result = bfq.vxlanVniProperties().answer().frame()

Return Value

Name

Description

Type

Node

Node

str

VRF

VRF

str

VNI

VXLAN Segment ID

int

Local_VTEP_IP

IPv4 address of the local VTEP

str

Multicast_Group

IPv4 address of the multicast group

str

VLAN

VLAN number for the VNI

int

VTEP_Flood_List

All IPv4 addresses in the VTEP flood list

List of str

VXLAN_Port

Destination port number for the VXLAN tunnel

int

Print the first 5 rows of the returned Dataframe

[7]:
result.head(5)
[7]:
Node VRF VNI Local_VTEP_IP Multicast_Group VLAN VTEP_Flood_List VXLAN_Port
0 dc1-bl1a Tenant_A_WAN_Zone 10150 192.168.254.8 None 150 [] 4789
1 dc1-leaf1a Tenant_A_OP_Zone 10110 192.168.254.3 None 110 ['192.168.254.4'] 4789
2 dc1-bl1b Tenant_A_WAN_Zone 10150 192.168.254.8 None 150 [] 4789
3 dc1-leaf2a Tenant_A_APP_Zone 10131 192.168.254.4 None 131 ['192.168.254.6'] 4789
4 dc1-leaf1a Tenant_A_OP_Zone 10111 192.168.254.3 None 111 ['192.168.254.4'] 4789

Print the first row of the returned Dataframe

[8]:
result.iloc[0]
[8]:
Node               dc1-bl1a
VRF                Tenant_A_WAN_Zone
VNI                10150
Local_VTEP_IP      192.168.254.8
Multicast_Group    None
VLAN               150
VTEP_Flood_List    []
VXLAN_Port         4789
Name: 0, dtype: object

VXLAN Edges

Returns VXLAN edges.

Lists all VXLAN edges in the network.

Inputs

Name

Description

Type

Optional

Default Value

nodes

Include edges whose first node matches this name or regex.

NodeSpec

True

.*

remoteNodes

Include edges whose second node matches this name or regex.

NodeSpec

True

.*

Invocation

[11]:
result = bfq.vxlanEdges().answer().frame()

Return Value

Name

Description

Type

VNI

VNI of the VXLAN tunnel edge

int

Node

Node from which the edge originates

str

Remote_Node

Node at which the edge terminates

str

VTEP_Address

VTEP IP of node from which the edge originates

str

Remote_VTEP_Address

VTEP IP of node at which the edge terminates

str

VLAN

VLAN associated with VNI on node from which the edge originates

int

Remote_VLAN

VLAN associated with VNI on node at which the edge terminates

int

UDP_Port

UDP port of the VXLAN tunnel transport

int

Multicast_Group

Multicast group of the VXLAN tunnel transport

str

Print the first 5 rows of the returned Dataframe

[12]:
result.head(5)
[12]:
VNI Node Remote_Node VTEP_Address Remote_VTEP_Address VLAN Remote_VLAN UDP_Port Multicast_Group
0 10130 dc1-leaf2b dc1-svc3a 192.168.254.4 192.168.254.6 130 130 4789 None
1 10140 dc1-leaf2a dc1-svc3a 192.168.254.4 192.168.254.6 140 140 4789 None
2 10130 dc1-svc3a dc1-leaf2a 192.168.254.6 192.168.254.4 130 130 4789 None
3 10111 dc1-leaf1a dc1-leaf2b 192.168.254.3 192.168.254.4 111 111 4789 None
4 10130 dc1-svc3b dc1-leaf2b 192.168.254.6 192.168.254.4 130 130 4789 None

Print the first row of the returned Dataframe

[13]:
result.iloc[0]
[13]:
VNI                    10130
Node                   dc1-leaf2b
Remote_Node            dc1-svc3a
VTEP_Address           192.168.254.4
Remote_VTEP_Address    192.168.254.6
VLAN                   130
Remote_VLAN            130
UDP_Port               4789
Multicast_Group        None
Name: 0, dtype: object

L3 EVPN VNIs

Returns configuration settings of VXLANs.

Lists VNI-level network segment settings configured for VXLANs.

Inputs

Name

Description

Type

Optional

Default Value

nodes

Include nodes matching this specifier.

NodeSpec

True

Invocation

[16]:
result = bfq.evpnL3VniProperties().answer().frame()

Return Value

Name

Description

Type

Node

Node

str

VRF

VRF

str

VNI

VXLAN Segment ID

int

Route_Distinguisher

Route distinguisher

str

Import_Route_Target

Import route target

str

Export_Route_Target

Export route target

str

Print the first 5 rows of the returned Dataframe

[17]:
result.head(5)
[17]:
Node VRF VNI Route_Distinguisher Import_Route_Target Export_Route_Target
0 dc1-bl1a Tenant_A_WAN_Zone 15005 192.168.255.8:15005 15005:15005 15005:15005
1 dc1-bl1a Tenant_B_WAN_Zone 25021 192.168.255.8:25021 25021:25021 25021:25021
2 dc1-bl1a Tenant_C_WAN_Zone 35031 192.168.255.8:35031 35031:35031 35031:35031
3 dc1-bl1b Tenant_A_WAN_Zone 15005 192.168.255.9:15005 15005:15005 15005:15005
4 dc1-bl1b Tenant_B_WAN_Zone 25021 192.168.255.9:25021 25021:25021 25021:25021

Print the first row of the returned Dataframe

[18]:
result.iloc[0]
[18]:
Node                   dc1-bl1a
VRF                    Tenant_A_WAN_Zone
VNI                    15005
Route_Distinguisher    192.168.255.8:15005
Import_Route_Target    15005:15005
Export_Route_Target    15005:15005
Name: 0, dtype: object