VXLAN and EVPN

This category of questions allows you to query aspects of VXLAN and EVPN configuration and behavior.

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

[5]:
result = bf.q.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

[6]:
result.head(5)
[6]:
Node VRF VNI Local_VTEP_IP Multicast_Group VLAN VTEP_Flood_List VXLAN_Port
0 dc1-leaf2b Tenant_A_APP_Zone 10131 192.168.254.4 None 131 [] 4789
1 dc1-svc3a Tenant_A_WEB_Zone 10120 192.168.254.6 None 120 [] 4789
2 dc1-bl1a Tenant_A_WAN_Zone 10150 192.168.254.8 None 150 [] 4789
3 dc1-leaf2a Tenant_A_APP_Zone 10130 192.168.254.4 None 130 [] 4789
4 dc1-bl1b Tenant_A_WAN_Zone 10150 192.168.254.8 None 150 [] 4789

Print the first row of the returned Dataframe

[7]:
result.iloc[0]
[7]:
Node                      dc1-leaf2b
VRF                Tenant_A_APP_Zone
VNI                            10131
Local_VTEP_IP          192.168.254.4
Multicast_Group                 None
VLAN                             131
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

[10]:
result = bf.q.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

[11]:
result.head(5)
[11]:
VNI Node Remote_Node VTEP_Address Remote_VTEP_Address VLAN Remote_VLAN UDP_Port Multicast_Group

Print the first row of the returned Dataframe

[12]:
# TODO Uncomment once VXLAN topology is fixed (i.e. non-empty)
# result.iloc[0]

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

[15]:
result = bf.q.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

[16]:
result.head(5)
[16]:
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

[17]:
result.iloc[0]
[17]:
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