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. |
True |
||
properties |
Include properties matching this specifier. |
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-svc3a | default | 10140 | 192.168.254.6 | None | 140 | ['192.168.254.3', '192.168.254.4', '192.168.254.8'] | 4789 |
1 | dc1-svc3b | default | 10140 | 192.168.254.6 | None | 140 | ['192.168.254.3', '192.168.254.4', '192.168.254.8'] | 4789 |
2 | dc1-leaf2a | default | 10130 | 192.168.254.4 | None | 130 | ['192.168.254.3', '192.168.254.6', '192.168.254.8'] | 4789 |
3 | dc1-leaf2a | default | 10160 | 192.168.254.4 | None | 160 | ['192.168.254.3', '192.168.254.6', '192.168.254.8'] | 4789 |
4 | dc1-leaf2b | default | 10130 | 192.168.254.4 | None | 130 | ['192.168.254.3', '192.168.254.6', '192.168.254.8'] | 4789 |
Print the first row of the returned Dataframe
[7]:
result.iloc[0]
[7]:
Node dc1-svc3a
VRF default
VNI 10140
Local_VTEP_IP 192.168.254.6
Multicast_Group None
VLAN 140
VTEP_Flood_List ['192.168.254.3', '192.168.254.4', '192.168.254.8']
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. |
True |
.* |
|
remoteNodes |
Include edges whose second node matches this name or regex. |
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 | |
---|---|---|---|---|---|---|---|---|---|
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
[12]:
result.iloc[0]
[12]:
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. |
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