OcNOS-SP : Virtual Extensible LAN Guide : Virtual Extensible LAN Command Reference : VXLAN Commands : show bgp l2vpn evpn
show bgp l2vpn evpn
Use this command to display details about Layer 2 Virtual Private Network (L2VPN) Ethernet Virtual Private Network (EVPN) routes.
Note: A BGP EVPN route update received for an unreachable IP address is also listed by this command and as a best route. This is because the next hop tracking feature is not supported for the EVPN address family. However, the tunnel to this IP address is shown in unresolved state by the show nvo vxlan tunnel output.
Command Syntax
show bgp l2vpn evpn ((vrf WORD)|(rd WORD)| time|)
show bgp l2vpn evpn mac-ip ((vrf WORD)|(rd WORD)|)
show bgp l2vpn evpn mcast
show bgp l2vpn evpn multihoming es-route <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-evi <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-es <(rd WORD)|(vrf WORD)>
Parameters
vrf
Virtual Routing and Forwarding instance
WORD
VRF name
rd
Route distinguisher
WORD
Route distinguisher: ASN:nn or IP:nn
time
Display learned time for EVPN routes
mac-ip
MAC/IP routes (EVPN type 2)
mcast
Multicast routes (EVPN type 3)
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show bgp l2vpn evpn
 
BGP table version is 25, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
 
Network Next Hop Metric LocPrf Weight Path Peer
 
RD[1.1.1.1:1] VRF[vrfblue]:
*> [2]:[0]:[100]:[48,0000:00aa:aaaa]:[32,10.1.1.2]:[100]
1.1.1.1 0 100 32768 i
*>i [2]:[0]:[100]:[48,0000:00bb:bbbb]:[32,10.1.1.3]:[100]
4.4.4.4 0 100 0 i 10.1.1.1
*> [3]:[100]:[32,1.1.1.1]
1.1.1.1 0 100 32768 i
*>i [3]:[100]:[32,4.4.4.4]
4.4.4.4 0 100 0 i 10.1.1.1
*> [3]:[101]:[32,1.1.1.1]
1.1.1.1 0 100 32768 i
*>i [3]:[101]:[32,4.4.4.4]
4.4.4.4 0 100 0 i 10.1.1.1
 
RD[2.2.2.2:1]
*>i [2]:[0]:[100]:[48,0000:00bb:bbbb]:[32,10.1.1.3]:[100]
4.4.4.4 0 100 0 i 10.1.1.1
*>i [3]:[100]:[32,4.4.4.4]
4.4.4.4 0 100 0 i 10.1.1.1
*>i [3]:[101]:[32,4.4.4.4]
4.4.4.4 0 100 0 i 10.1.1.1
 
Total number of prefixes 9
Table 1-1 shows the status codes displayed at the start of a route entry.
 
Table 1-1: status codes 
Status code
Description
Comments
s
suppressed
Whether the route is suppressed and is not advertised to neighbors.
d
damped
When the penalty of a flapping route exceeds the suppress limit, the route is damped and remains in a withdrawn state until its penalty decreases below the reuse limit.
h
history
When the penalty of a flapping route does not exceed the suppress limit, the route is not damped and BGP maintains a history of the flapping route.
*
valid
Whether the route is valid. When a route is not suppressed, damped, or present in the history, it is valid.
>
best
The selected route to be installed in the kernel routing table.
i
internal
The prefix was learned from an iBGP peer.
l
labeled
BGP Labeled Unicast advertises route information between inter region routers.
 
Table 1-2 shows the codes at the end of each route entry that indicate where the route originated.
 
Table 1-2: origin codes
Origin Code
Description
Comments
i
IGP
The route is from an Interior Gateway Protocol.
e
EGP
The route is from an Exterior Gateway Protocol.
?
incomplete
Origin not known. Typically, these are routes redistributed from an IGP.
Table 1-3 explains the fields for each route.
 
Table 1-3: route entry fields 
Field
Description
RD
Route distinguisher: AS number or IP address.
VRF
Name of the VRF.
Network
EVPN route information.
 
The route type indicates the type of routing information advertised by the EVPN control plane:
 
2 MAC/IP Route: Endpoint reachability information, including MAC and IP addresses of the endpoints.
3 Inclusive Multicast Route: Information about how to forward Broadcast, Unknown Unicast and Multicast (BUM) traffic.
 
The other fields included depend on the route type:
Type 2: [ESI]:[E-Tag]:[Length, Host MAC address]:[Length, Host IP address]:[Label/VNID]
Type 3: [E-Tag]:[Length, PE IP address]
 
ESI (Ethernet Segment Identifier): a unique non-zero identifier that identifies an Ethernet segment, which is a set of links that connects a network or device to one or more PEs. ESI 0 denotes a single-homed site.
 
E-Tag (Ethernet tag): identifies a particular broadcast domain such as a VLAN or VNID in the VxLAN case. An EVPN instance consists of one or more broadcast domains.
 
VNID (VXLAN network identifier): identifies Layer 2 segments and maintains Layer 2 isolation between the segments, allowing the addressing of up to 16 million logical networks in the same administrative domain.
 
The status codes are explained in Table 1-1.
Next Hop
IP address of the nexthop for this route.
Metric
Multiple-Exit Discriminator (MED). If there are multiple paths to the same destination from a single routing protocol, then the multiple paths have the same administrative distance and the best path is selected based on this metric. The path with the lowest metric is selected as the optimal path and installed in the routing table.
LocPrf
This value is used only with iBGP sessions within the local autonomous system to determine if a route towards a destination is the “best” one. The path with the highest local preference is preferred.
Weight
This field applies only to routes within an individual router. If a route was learned from a peer, it has a default weight of 0. All routes generated by the local router have a weight of 32,768.
Path
The autonomous systems through which the prefix advertisement passed.
The origin codes are explained in Table 1-2.
Peer
Neighbor address.
Total number of prefixes
The total number of prefixes listed.
Last modified date: 10/20/2023