BGP EVPN
nv show evpn vni <vni-id> bgp-info
Shows BGP information for the specified EVPN VNI.
Command Syntax
Syntax | Description |
---|---|
<vni-id> | The VNI name. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show evpn vni 10 bgp-info
operational
------------------------- ------------
rd 10.10.10.1:6
local-vtep 10.0.1.12
advertise-svi-ip off
advertise-default-gateway off
in-kernel on
type L2
mac-vrf-soo
[import-route-target] 65101:10
[export-route-target] 65101:10
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn
Shows EVPN BGP configuration for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn
operational applied
------ ----------- -------
enable off
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib
Shows the EVPN local RIB for the specified VRF.
Cumulus Linux 5.11 and later no longer provides this command. Use the nv show vrf <vrf-id> router bgp address-family l2vpn-evpn route
command instead.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib
rd
=====
Summary
------------ -------------
10.10.10.1:2 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:3 route-type: 1
route-type: 4
10.10.10.1:4 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:5 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:6 route-type: 5
10.10.10.1:7 route-type: 5
10.10.10.1:8 route-type: 1
...
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd
Shows the EVPN local RIB RDs for the specified VRF.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd
Summary
------------ -------------
10.10.10.1:2 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:3 route-type: 1
route-type: 4
10.10.10.1:4 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:5 route-type: 1
route-type: 2
route-type: 3
10.10.10.1:6 route-type: 5
10.10.10.1:7 route-type: 5
10.10.10.1:8 route-type: 1
route-type: 4
...
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd <rd-id>
Shows a specific EVPN local RIB RD for the specified VRF.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rd-id> | The route distinguisher ID. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd 10.10.10.1:9
operational applied
------------ ----------- -------
[route-type] 1
[route-type] 4
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd <rd-id> route-type
Shows the EVPN local RIB RD route distinguisher route types for the specified VRF.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rd-id> | The route distinguisher ID: ead , macip , multicast , ethernet-segment , prefix , or an integer between 1 and 5. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd 10.10.10.1:9 route-type
Summary
- ---------------------------------------------------------------------------------
1 route: 03:44:38:39:be:ef:aa:00:00:03+::]/352+03:44:38:39:be:ef:aa:00:00:03+::/352
4 route: 03:44:38:39:be:ef:aa:00:00:03+10.10.10.1/352
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd <rd-id> route-type <route-type-id>
Shows information about a specific EVPN local RIB RD route distinguisher route type for the specified VRF.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rd-id> | The route distinguisher ID. |
<route-type-id> | The route type: ead , macip , multicast , ethernet-segment , prefix , or an integer between 1 and 5. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd 10.10.10.1:20 route-type multicast
route
========
Advto - peers the prefix is advertised to, EVPNPrefixStr - EVPN prefix string
(Mac + IP), MAC - MAC Address, Peer - neighbor router-id, PathCnt - number of
L2VPN EVPN per (RD, route-type) paths
Route Advto EVPNPrefixStr MAC Peer PathCnt VNI Weight
--------- ----- ---------------------- --- ------------------ ------- --- ------
0+1.1.1.1 swp1 [3]:[0]:[32]:[1.1.1.1] id: 0.0.0.0 1 101 32768
router-id: 1.1.1.1
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd <rd-id> route-type <route-type-id> route
Shows the routes in the EVPN local RIB for the specified VRF with a specific RD and route type.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rd-id> | The route distinguisher ID. |
<route-type-id> | The route type: ead , macip , multicast , ethernet-segment , prefix , or an integer between 1 and 5. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd 10.10.10.1:20 route-type multicast route
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn loc-rib rd <rd-id> route-type <route-type-id> route <evpn-route-id>
Shows the routes in the EVPN local RIB for the specified VRF with a specific RD route type and EVPN route type.
Cumulus Linux 5.11 and later no longer provides this command.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rd-id> | The route distinguisher ID. |
<route-type-id> | The route type: ead , macip , multicast , ethernet-segment , prefix , or an integer between 1 and 5. |
<evpn-route-id> | The EVPN route type. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn loc-rib rd 10.10.10.1:20 route-type multicast route
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn route
Shows BGP EVPN routing table.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.11.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn route
PathCnt - number of L2VPN EVPN per (RD, route-type) paths
Route rd route-type PathCnt
---------------------------------------------------------------------- ------------- ---------- -------
[10.10.10.1:2]:[5]:[0]:[10.1.30.0/24] 10.10.10.1:2 5 5
[10.10.10.1:3]:[5]:[0]:[10.1.10.0/24] 10.10.10.1:3 5 5
[10.10.10.1:3]:[5]:[0]:[10.1.20.0/24] 10.10.10.1:3 5 5
[10.10.10.2:2]:[5]:[0]:[10.1.30.0/24] 10.10.10.2:2 5 1
[10.10.10.2:3]:[5]:[0]:[10.1.10.0/24] 10.10.10.2:3 5 1
[10.10.10.2:3]:[5]:[0]:[10.1.20.0/24] 10.10.10.2:3 5 1
[10.10.10.2:4]:[2]:[0]:[44:38:39:22:01:7a] 10.10.10.2:4 2 1
[10.10.10.2:4]:[2]:[0]:[48:b0:2d:a4:0d:7a] 10.10.10.2:4 2 1
[10.10.10.2:4]:[2]:[0]:[48:b0:2d:a4:0d:7a]:[fe80::4ab0:2dff:fea4:d7a] 10.10.10.2:4 2 1
[10.10.10.2:4]:[2]:[0]:[48:b0:2d:bc:36:08] 10.10.10.2:4 2 1
[10.10.10.2:4]:[3]:[0]:[10.0.1.12] 10.10.10.2:4 3 1
[10.10.10.2:5]:[2]:[0]:[44:38:39:22:01:7a] 10.10.10.2:5 2 1
[10.10.10.2:5]:[2]:[0]:[48:b0:2d:7b:a7:e9] 10.10.10.2:5 2 1
[10.10.10.2:5]:[2]:[0]:[48:b0:2d:9a:8d:47] 10.10.10.2:5 2 1
[10.10.10.2:5]:[2]:[0]:[48:b0:2d:9a:8d:47]:[fe80::4ab0:2dff:fe9a:8d47] 10.10.10.2:5 2 1
[10.10.10.2:5]:[3]:[0]:[10.0.1.12] 10.10.10.2:5 3 1
[10.10.10.2:6]:[2]:[0]:[44:38:39:22:01:7a] 10.10.10.2:6 2 1
[10.10.10.2:6]:[2]:[0]:[48:b0:2d:72:90:d7] 10.10.10.2:6 2 1
...
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn route <route-id>
Shows information about the BGP EVPN route.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.11.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn route 10.10.10.1:3
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn route-count
Shows the BGP EVPN route and path count.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.11.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn route-count
operational
------------ -----------
total-routes 63
total-paths 243
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn update-group
Shows information about BGP EVPN update group events.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn update-group
RouteMap - Outbound route map, MinAdvInterval - Minimum route advertisement
interval, CreationTime - Time when the update group was created, LocalAsChange -
LocalAs changes for inbound route, Flags - r - replace-as, x - no-prepend
UpdateGrp RouteMap MinAdvInterval CreationTime LocalAsChange Flags
--------- -------- -------------- -------------------- ------------- -----
2 0 2024-11-14T08:58:25Z
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn update-group <group-id>
Shows information about a specific BGP EVPN update group.
In Cumulus Linux 5.10 and earlier, add -o json
at the end of the command to see the output in a more readable format.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<group-id> | The BGP group ID. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn update-group 2
operational
-------------------------------- --------------------
update-group-id 2
min-route-advertisement-interval 0
create-time 2024-11-15T10:01:47Z
sub-group
============
CreateTime - Time when the sub group was created, AdvRouteCnt - Number of routes
advertised to peer, Refresh - Indicates if subgroup requires refresh,
TotalQueuePkt - Total packets in queue, TotalEnqueuePkt - Total packets
enqueued, PktQueueLength - Packet queue length, Neighbor - Sub group peer info
GrpID CreateTime AdvRouteCnt Refresh TotalQueuePkt TotalEnqueuePkt PktQueueLength Neighbor
----- -------------------- ----------- ------- ------------- --------------- -------------- -------------
2 2024-11-15T10:01:47Z 72 off 104 104 0 peerlink.4094
swp52
swp53
swp54
nv show vrf <vrf-id> router bgp address-family l2vpn-evpn update-group <group-id> sub-group
Shows the subgroup information for a specific BGP EVPN update group.
In Cumulus Linux 5.10 and earlier, add -o json
at the end of the command to see the output in a more readable format.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<group-id> | The BGP group ID. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf default router bgp address-family l2vpn-evpn update-group 2 sub-group
CreateTime - Time when the sub group was created, AdvRouteCnt - Number of routes
advertised to peer, Refresh - Indicates if subgroup requires refresh,
TotalQueuePkt - Total packets in queue, TotalEnqueuePkt - Total packets
enqueued, PktQueueLength - Packet queue length, Neighbor - Sub group peer info
GrpID CreateTime AdvRouteCnt Refresh TotalQueuePkt TotalEnqueuePkt PktQueueLength Neighbor
----- -------------------- ----------- ------- ------------- --------------- -------------- -------------
2 2024-11-15T10:01:47Z 72 off 104 104 0 peerlink.4094
swp52
swp53
swp54
nv show vrf <vrf-id> evpn bgp-info
Shows layer 3 VNI information from BGP for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv show vrf RED evpn bgp-info
operational
--------------------- -----------------
rd 10.10.10.1:3
local-vtep 10.0.1.12
router-mac 44:38:39:be:ef:aa
system-mac 44:38:39:22:01:7a
system-ip 10.10.10.1
[import-route-target] 65101:4001
[export-route-target] 65101:4001
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn
Shows EVPN configuration for the specified BGP neighbor.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn
operational applied
--------------------- ----------- -------
enable on
attribute-mod
aspath off
med off
nexthop on
graceful-restart
rx-eof-rib off
tx-eof-rib off
prefix-limits
inbound
maximum 1
warning-threshold 75
warning-only off
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn attribute-mod
Shows the attribute modification configuration settings for the specified neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn attribute-mod
operational applied
------- ----------- -------
aspath off
med off
nexthop on
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn aspath
Shows the configuration options for handling the AS path for prefixes to and from the specified BGP neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn aspath
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn aspath allow-my-asn
Shows if it is acceptable for a received AS path to contain the ASN of the local system for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn aspath allow-my-asn
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn graceful-restart
Shows graceful restart configuration for the specified BGP neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn graceful-restart
operational
---------- -----------
rx-eof-rib on
tx-eof-rib on
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn graceful-restart timers
Shows the BGP graceful restart selection deferral and stale path timer settings for the specified neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn graceful-restart timers
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn graceful-restart timers stale-path
Shows the BGP graceful restart stale path timer settings for the specified neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn graceful-restart timers stale-path
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn graceful-restart timers selection-deferral
Shows the BGP graceful restart selection deferral timer for the specified neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn graceful-restart timers selection-deferral
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn policy
Shows EVPN policies for the specified neighbor.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn policy
operational applied
---------------- ----------- -------
inbound
route-map MAP1 MAP1
outbound
route-map none
unsuppress-map none
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn policy inbound
Shows the inbound EVPN policy for the specified BGP neighbor.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn policy inbound
operational applied
--------- ----------- -------
route-map MAP1 MAP1
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn policy outbound
Shows the outbound EVPN policy for the specified BGP neighbor.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn policy outbound
operational applied
-------------- ----------- -------
route-map none
unsuppress-map none
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn capabilities
Shows all advertised and received EVPN capabilities for the specified BGP neighbor.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn capabilities
operational
------------------- -----------
rx-addpath on
rx-graceful-restart on
rx-mpbgp on
tx-addpath off
tx-mpbgp on
nv show vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn prefix-limits inbound
Shows the configured prefix limits from the specified neighbor for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<neighbor-id> | The BGP neighbor name or interface (for BGP unnumbered). |
Version History
Introduced in Cumulus Linux 5.10.0
Example
cumulus@switch:~$ nv show vrf default router bgp neighbor swp51 address-family l2vpn-evpn prefix-limits inbound
operational applied
----------------- ----------- -------
maximum none
warning-threshold 75
warning-only off
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn
Shows configuration information for the specified BGP peer group for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn
applied
------ -------
enable off
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn attribute-mod
Shows the attribute modification configuration settings for the specified BGP peer group for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn attribute-mod
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn aspath
Shows the configuration settings for handling the AS path for prefixes to and from the specified BGP peer group for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn aspath
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn aspath allow-my-asn
Shows if it is acceptable for a received AS path from the specified BGP peer group to contain the ASN of the local system for EVPN.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn aspath allow-my-asn
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn policy
Shows the EVPN policies for the specified BGP peer group.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn policy
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn policy inbound
Shows the inbound EVPN policy for the specified BGP peer group.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn policy inbound
nv show vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn policy outbound
Shows the outbound EVPN policy for the specified BGP peer group.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<peer-group-id> | The peer group name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp peer-group SPINES address-family l2vpn-evpn policy outbound
nv show vrf <vrf-id> router bgp route-export
Shows BGP route export configuration for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-export
operational applied pending
---------------- ----------- ------- -------
to-evpn
[route-target] auto auto
nv show vrf <vrf-id> router bgp route-export to-evpn
Shows BGP route export to EVPN configuration for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-export to-evpn route-target
nv show vrf <vrf-id> router bgp route-export to-evpn route-target
Shows the RTs configured for BGP route export for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-export to-evpn route-target
nv show vrf <vrf-id> router bgp route-export to-evpn route-target <rt-id>
Shows BGP route export configuration for a specific RT in the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rt-id> | The route target. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-export to-evpn route-target 10.10.10.1:20
nv show vrf <vrf-id> router bgp route-import from-evpn
Shows BGP route import from EVPN configuration for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-import from-evpn route-target
nv show vrf <vrf-id> router bgp route-import from-evpn route-target
Shows the RTs configured for BGP route import from EVPN for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-import from-evpn route-target
nv show vrf <vrf-id> router bgp route-import from-evpn route-target <rt-id>
Shows configuration for a specific RD and layer 3 RT for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<rt-id> | The route target. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router bgp route-import from-evpn route-target 10.10.10.1:20