Configure SRv6 with EVPN ELAN 
Overview
The Ethernet Virtual Private Network - Ethernet LAN (EVPN ELAN) SRv6 feature integrates Segment Routing over IPv6 (SRv6) technology with EVPN signaling mechanisms to deliver multipoint-to-multipoint VPN services efficiently. To overcome the limitations of traditional L2VPN technologies such as Virtual Private LAN Services (VPLS), SRv6 EVPN ELAN utilizes BGP extensions and integrates the control planes for multiple VPN services. This approach separates forwarding and control planes, enabling a more efficient and effective network architecture. 
Feature Characteristics
•	Utilizes BGP extensions for MAC address learning and advertisement, enhancing control-plane based MAC learning.
•	Supports local MAC address learning using ARP and remote MAC/IP address learning through MAC/IP advertisement routes.
•	Advertises MAC/IP routes to reduce broadcast traffic volume and save bandwidth resources.
•	Supports Inclusive Multicast Ethernet Tag Route (IMET) routes for efficient delivery of Broadcast, unknown Unicast, and Multicast (BUM) traffic.
Benefits
•	Enhances network scalability and efficiency by moving MAC address learning to the control plane.
•	Reduces network complexity and signaling messages by leveraging BGP for PE communication.
•	Optimizes resource consumption by locally storing MAC and IP address information.
•	Enables fast convergence and traffic balancing, improving overall network performance.
Prerequisites
Compatible network devices supporting SRv6 and EVPN technologies.
Configuration
Configure EVPN ELAN services with the SRv6 transport option, enabling enhanced scalability, flexibility, and operational efficiency.
The following configuration enables EVPN ELAN service specific to SRv6 transport.
Topology
The topology includes with edge and intermediate nodes, utilizing SRv6 functionality, and various routing protocols to ensure efficient communication and service delivery within the provider network.
SRV6 EVPN ELAN Topology
 
Provider Edge Nodes (PE1 and PE2):
These intermediate nodes within the provider network may or may not be SRv6-capable routers.
Perform the following steps to configure SRv6 EVPN functionality on PE nodes with ISIS as IGP, appropriate MAC-VRF, BGP and EVPN EVI settings:
1.	Configure Loopback Interfaces:
•	Access interface configuration mode for the loopback interface(interface lo).
•	Assign an IPv6 address to the loopback interface using the ipv6 address command followed by the desired IPv6 address and subnet mask (ipv6 address 1001::1/128).
•	Configure OSPF for IPv6 on the loopback interface using the ipv6 router ospf command, specifying the OSPF area, tag, and instance ID (ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0).
•	Configure IS-IS for IPv6 on the loopback interface using the ipv6 router isis command, specifying the IS-IS process ID (ipv6 router isis 1).
     PE1(config)#interface lo
     PE1(config-if)#ipv6 address 1001::1/128
     PE1(config-if)#ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
     PE1(config-if)#ipv6 router isis 1
     PE1(config-if)#exit 
2.	Configure Network interfaces:
•	Access interface configuration mode for the desired network interface (interface xe9). 
•	Assign an IPv6 address to the interface using the ipv6 address command followed by the desired IPv6 address and subnet mask (ipv6 address cafe:1:1::1/64).
•	Configure the MTU for the interface (mtu 9216).
•	Configure OSPF for IPv6 on the interface using the ipv6 router ospf command, specifying the OSPF area, tag, and instance ID (ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0).
•	Configure IS-IS for IPv6 on the interface using the ipv6 router isis command, specifying the IS-IS process ID(ipv6 router isis 1).
     PE1(config)#interface xe9
     PE1(config-if)#ipv6 address cafe:1:1::1/64
     PE1(config-if)#mtu 9216
     PE1(config-if)#ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
     PE1(config-if)#ipv6 router isis 1
3.	In Global configuration mode, perform the following:
•	 Enable EVPN SRv6 for EVPN on the router, allowing for flexible and scalable IPv6-based service delivery.
     PE1(config)# evpn srv6 enable
 
•	Configure global IPv6 address for SRv6 functionality in the EVPN on the router:
     PE1(config)# evpn srv6 ip-global 1001::1
 
•	Configure QOS.
     PE1(config)#qos enable
 
•	Define SRv6 locators to be used in the EVPN configuration.
     PE1(config)# segment-routing srv6
     PE1(config-srv6)# locators
     PE1(config-locator)# locator PE1_locator
     PE1(config-locator)# prefix 1001::/64
     PE1(config-locator)# exit-locators
     PE1(config-srv6)# exit-srv6
 
4.	Configure ISIS Settings:
•	Access ISIS configuration mode and provide the ISIS process ID (router isis 1).
•	Specify the ISIS routing level using the is-type (is-type level-2-only).
•	Configure the metric-style wide (metric-style wide)
•	Enable dynamic hostname assignment.
•	Configure the NET address (net 49.0001.0000.0000.0001.00).
•	Enter address-family configuration mode for IPv6 (address-family ipv6).
•	Configure segment routing with SRv6 (segment-routing srv6)
     PE1(config)#router isis 1
     PE1(config-router)#is-type level-2-only
     PE1(config-router)#metric-style wide
     PE1(config-router)#dynamic-hostname
     PE1(config-router)#net 49.0001.0000.0000.0001.00
     PE1(config-router#address-family ipv6
     PE1(config-router-af)#segment-routing srv6
     PE1(config-router-af-srv6)#srv6-locator PE1_locator
     PE1(config-router-af-srv6)#exit-srv6
     PE1(config-router-af)# exit-address-family
 
5.	Perform the BGP Configuration:
   PE1(config)#router bgp 65010
   PE1(config-router)#bgp router-id 1.1.1.1
   PE1(config-router)#neighbor 2001::1 remote-as 65010
   PE1(config-router)#neighbor 2001::1 update-source lo
   PE1(config-router)#address-family l2vpn evpn
   PE1(config-router-af)#neighbor 2001::1 activate
   PE1(config-router-af)#exit-address-family
   PE1(config-router)#exit
6.	Create MAC VRF:
  PE1(config)#mac vrf PE1_PE2_ELAN
  PE1(config-vrf)#rd 1.1.1.1:2000
  PE1(config-vrf)#route-target both 2000:2000
 
7.	 Define the EVI instance and SRv6 for the EVI with the MAC VRF Mapping specified locator:
  PE1(config)#evpn srv6 id 2000
  PE1(config)#host-reachability-protocol evpn-bgp PE1_PE2_ELAN
  PE1(config)# locator PE1_locator
  PE1(config)# exit
  PE1(config)#interface xe6.2000 switchport
  PE1(config-if)#encapsulation dot1q 2000
  PE1(config-if)#mtu 9216
  PE1(config-if)#access-if-evpn
  PE1(config-access-if)#map vpn-id 2000
 Configuration Snapshot: SRv6 EVPN Single-Homing on PE1
evpn srv6 enable
!
mac vrf PE1_PE2_ELAN
 rd 1.1.1.1:2000
 route-target both 2000:2000
!
qos enable
!
evpn srv6 ip-global 1001::1
!
evpn srv6 id 2000
 host-reachability-protocol evpn-bgp PE1_PE2_ELAN
 locator PE1_locator
!
hostname PE1
!
router-id 1.1.1.1
!
segment-routing
 srv6
  locators
   locator PE1_locator
    prefix 1001::/64
   exit-locator
   !
  exit-locators
 !
 exit-srv6
 !
!
interface lo
 ip address 127.0.0.1/8
 ipv6 address ::1/128
 ipv6 address 1001::1/128
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
interface xe6
 mtu 9216
!
interface xe6.2000 switchport
 encapsulation dot1q 2000
 mtu 9216
 access-if-evpn
  map vpn-id 2000
!
interface xe9
 ipv6 address cafe:1:1::1/64
 mtu 9216
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
router isis 1
 is-type level-2-only
 metric-style wide
 dynamic-hostname
 net 49.0001.0000.0000.0001.00
 !
 address-family ipv6
 segment-routing srv6
  srv6-locator PE1_locator
 exit-srv6
 !
 exit-address-family
!
router bgp 65010
 bgp router-id 1.1.1.1
 neighbor 2001::1 remote-as 65010
 neighbor 2001::1 update-source lo
 !
 address-family l2vpn evpn
 neighbor 2001::1 activate
 exit-address-family
 !
 exit
!
Configuration Snapshot: SRv6 EVPN ELAN Single-Homing on P1
hostname P1
!
qos enable
!
router-id 1.1.1.11
!
interface lo
 ip address 127.0.0.1/8
 ipv6 address ::1/128
 ipv6 address 1101::1/128
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
interface xe6
 ipv6 address cafe:1:11::2/64
 mtu 9216
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
interface xe7
 ipv6 address cafe:11:21::1/64
 mtu 9216
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
router isis 1
 is-type level-2-only
 metric-style wide
 dynamic-hostname
 net 49.0001.0000.0000.0011.00
 !
 address-family ipv6
 exit-address-family
!
 
Configuration Snapshot: SRv6 EVPN ELAN Single-Homing on PE2
evpn srv6 enable
!
mac vrf PE1_PE2_ELAN
 rd 1.1.1.2:2000
 route-target both 2000:2000
!
qos enable
!
evpn srv6 ip-global 2001::1
!
evpn srv6 id 2000
 host-reachability-protocol evpn-bgp PE1_PE2_ELAN
 locator PE2_locator
!
hostname PE2
!
router-id 1.1.1.2
!
segment-routing
 srv6
  locators
   locator PE2_locator
    prefix 2001::/64
   exit-locator
   !
  exit-locators
 !
 exit-srv6
 !
!
interface lo
 ip address 127.0.0.1/8
 ipv6 address ::1/128
 ipv6 address 2001::1/128
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
interface xe5
 ipv6 address cafe:11:21::2/64
 mtu 9216
 ipv6 router ospf area 0.0.0.0 tag 1 instance-id 0
 ipv6 router isis 1
!
interface xe8
 mtu 9216
!
interface xe8.2000 switchport
 encapsulation dot1q 2000
 access-if-evpn
  map vpn-id 2000
!
router isis 1
 is-type level-2-only
 metric-style wide
 dynamic-hostname
 net 49.0001.0000.0000.0002.00
 !
 address-family ipv6
 segment-routing srv6
  srv6-locator PE2_locator
 exit-srv6
 !
 exit-address-family
!
router bgp 65010
 bgp router-id 1.1.1.2
 neighbor 1001::1 remote-as 65010
 neighbor 1001::1 update-source lo
 !
 address-family l2vpn evpn
 neighbor 1001::1 activate
 exit-address-family
 !
 exit
!
Validation
PE1
•	The following show outputs displays the ISISv6 neighbour and routing information of the PE1.
PPE1#sh clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1:  VRF : default
System Id      Interface   SNPA                State  Holdtime  Type Protocol
P1             xe9         80a2.355b.7008      Up     24        L2   IS-IS
PE1#
 
PE1#sh clns neighbors detail
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag 1:  VRF : default
System Id      Interface   SNPA                State  Holdtime  Type Protocol
P1             xe9         80a2.355b.7008      Up     21        L2   IS-IS
  L1  Adjacency ID: 1
  L2  Adjacency ID: 2
  Uptime: 00:53:18
  Area Address(es): 49.0001
  IPv6 Address(es): fe80::82a2:35ff:fe5b:7008
  Level-2 Protocols Supported: IPv6
  Adjacency advertisement: Advertise
 
PE1#sh ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, D- DHCP, R - RIP,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, E - EVPN  N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP,
 P - SRV6-POLICY,
        v - vrf leaked
Timers: Uptime
 
IP Route Table for VRF "default"
C       ::1/128 via ::, lo, 00:56:00
C       1001::1/128 via ::, lo, 00:55:11
C       1001::6001:0:0:0/128, SRV6 END.X SID
        via fe80::82a2:35ff:fe5b:7008, xe9, 00:53:22
i L2    1101::1/128 [115/20] via fe80::82a2:35ff:fe5b:7008, xe9, 00:53:07
i L2    2001::/64 [115/21] via fe80::82a2:35ff:fe5b:7008, xe9, 00:37:00
i L2    2001::1/128 [115/30] via fe80::82a2:35ff:fe5b:7008, xe9, 00:37:00
C       cafe:1:1::/64 via ::, xe9, 00:53:23
i L2    cafe:1:11::/64 [115/20] via fe80::82a2:35ff:fe5b:7008, xe9, 00:53:07
i L2    cafe:2:3::/64 [115/30] via fe80::82a2:35ff:fe5b:7008, xe9, 00:37:00
i L2    cafe:11:3::/64 [115/20] via fe80::82a2:35ff:fe5b:7008, xe9, 00:53:07
i L2    cafe:11:21::/64 [115/20] via fe80::82a2:35ff:fe5b:7008, xe9, 00:38:40
C       fe80::/64 via ::, xe9, 00:53:23
PE1#
             2001::1                   None
•	The following show outputs displays the BGP validation for EVPN ELAN.
PE1#sh bgp l2vpn evpn summary
BGP router identifier 1.1.1.1, local AS number 65010
BGP table version is 27
1 BGP AS-PATH entries
0 BGP community entries
 
Neighbor                  V    AS     MsgRcv     MsgSen  TblVer    InQ   OutQ   Up/Down  State/PfxRcd     AD  MACIP  MCAST    ESI  PREFIX-ROUTE
2001::1                   4 65010        151        185      27      0      0  00:24:07             1      0      0      1      0         0
 
Total number of neighbors 1
 
Total number of Established sessions 1
PE1#sh ip bgp neighbors
BGP neighbor is 2001::1, remote AS 65010, local AS 65010, internal link, peer index: 7
  BGP version 4, local router ID 1.1.1.1, remote router ID 1.1.1.2
  BGP state = Established, up for 00:24:12
  Last read 00:00:05, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family L2VPN EVPN: advertised and received
  Received 148 messages, 4 notifications, 0 in queue
  Sent 179 messages, 6 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
  Update source is lo
 
For address family: L2VPN EVPN  BGP table version 27, neighbor version 27
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Large Community attribute sent to this neighbor
  1 accepted prefixes
  Accepted AD:0 MACIP:0 MCAST:1 ESI:0 PREFIX:0
  3 announced prefixes
 
 Connections established 9; dropped 8
Local host: 1001::1, Local port: 179
Foreign host: 2001::1, Foreign port: 45691
TCP MSS: (0), Advertise TCP MSS: (9156), Send TCP MSS: (9156),  Receive TCP MSS: (536)
Sock FD : (28)
Nexthop: 1.1.1.1
Nexthop global: 1001::1
Nexthop local: ::
BGP connection: non shared network
Last Reset: 00:24:12, due to BGP Notification received
Notification Error Message: (Cease/Other Configuration Change.)
•	The following show outputs displays the SRv6 EVPN ELAN validation.
 PE1#show segment-routing srv6 services
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
L3VPN:
 
EVPN:
Service Flags vrf        local-evpn-id   remote-evpn-id     SID                       Nexthop                   SRv6-Policy-Name
ELAN    >     PE1_PE2_ELAN 2000            NA                 2001::4:0:0:0             2001::1                   None
PE1#show segment-routing srv6 services evpn
Status codes: > - installed, * - selected, T - Uses service-mapped tunnel
Service Flags vrf        local-evpn-id   remote-evpn-id     SID                       Nexthop                   SRv6-Policy-Name
ELAN    >     PE1_PE2_ELAN 2000            NA                 2001::4:0:0:0             2001::1                   None
PE1#show segment-routing srv6 sid
SRv6 Segment ID table:
SID                    Operation    Nexthop                  Originator
+----------------------+------------+------------------------+----------
1001::3:0:0:0          END.DT2U     ::                       evpn:2000
1001::4:0:0:0          END.DT2M     ::                       evpn:2000
1001::801:0:0:0        END[usd]     ::                       nsm
1001::1001:0:0:0       END[usp]     ::                       nsm
1001::2001:0:0:0       END[psp]     ::                       nsm
1001::6001:0:0:0       END.X[psp]   fe80::82a2:35ff:fe5b:7008isis
PE1#
PE1#show hsl srv6 evpn
TABLE: SRV6 EVPN Table
+--------+---------------------+---------------+--------+-------------------------+--------------------------+------+----------+--------------------------+---------+
|  EVPN  |     DESTINATION     |  POLICY-ID/   |  OUT   |         NEXTHOP         |        EVPN UC SID       |CACHE |    UC    |       EVPN MC SID        |   VSI   |
|   ID   |         FEC         | TYPE/NHLFE-ID | IFNAME |                         |                          |STATUS|  FEC_ID  |                          |         |
+--------+---------------------+---------------+--------+-------------------------+--------------------------+------+----------+--------------------------+---------+
 2000     2001::1               0    /PRI/4     xe9      fe80::82a2:35ff:fe5b:7008 ::                                           2001::4:0:0:0              4154
PE1#
PE1#show evpn srv6 id 2000
EVPN-SRv6 Information
=================
   Codes: NW - Network Port
          AC - Access Port
         (u) - Untagged
 
VPN-ID   EVI-Name     EVI-Type Type Interface ESI                           VLAN      DF-Status Src-Addr         Dst-Addr
_______________________________________________________________________________________________________________________________
2000     ----         L2       NW   ----      ----                          ----      ----      1001::1          2001::1
2000     ----         --       AC   xe6.2000  --- Single Homed Port ---     ----      ----      ----             ----
 
Total number of entries are 2
 
Note: Refer sub-interface config for VLAN information.
PE1#show evpn srv6  tunnel summary
 
Total number of entries: 1 [Installed: 1, Resolved: 0, Unresolved: 0]
PE1#show evpn srv6  tunnel sid
EVPN-SRV6 Network tunnel SID's
 Evpn service type: ELAN, evi: 2000, evi-name: , status: Installed
   PE IP: 2001::1
    Tunnel information
     local UC-SID: 1001::3:0:0:0, local MC-SID: 1001::4:0:0:0
     remote UC-SID: ::, remote MC-SID: 2001::4:0:0:0
    Tunnel policy mapped: --
 
Total number of entries are 1
PE1#
Implementation Examples
The SRv6 technology can be used to implement different use cases, such as MAC/IP Advertisement Route and IMET Route over SRv6 Core Propagation. In both cases, the SRv6-enabled routers learn MAC address information from the packets they receive and cache it in the forwarding tables, which helps optimize resource consumption and improve overall network performance. The SRv6 technology also helps reduce network complexity by leveraging BGP for PE communication and enables fast convergence and traffic balancing.
CLI Commands
The EVPN ElAN SRv6 introduces the following configuration commands:
•	evi-name
•	evpn srv6 mac-ageing-time
•	arp-nd refresh timer
•	mac-holdtime
•	show evpn srv6
•	show evpn srv6 arp-cache
•	show evpn srv6 mac-table
•	show evpn srv6 nd-cache
•	show evpn srv6 route-count
•	show evpn srv6 static host state
evi-name
Use this command to name the EVPN MPLS ID.
Use no parameter of this command to remove the name of the EVPN SRv6 ID.
Command Syntax
evi-name <WORD>
no evi-name
Parameters
 
| WORD |  EVI name of max size 10 characters and should not be only numeric. | 
Default
None
Command Mode
EVPN SRv6 mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to enable srv6 for EVPN.
#configure terminal
(config)#evpn srv6 id 3
(config-evpn-srv6)#evi-name ELAN
(config-evpn-srv6)#exit
evpn srv6 mac-ageing-time
Use this command to set the dynamically learned MAC aging time.
Use no parameter of this command to set the age out the MACs in hardware to its default.
Command Syntax
evpn srv6 mac-ageing-time <10-572>
no evpn srv6 mac-ageing-time
Parameters
 
| mac-ageing-time<10-572> |  EVI name of max size 10 characters and should not be only numeric. | 
Default
 Age out time to 300 seconds
Command Mode
Config mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to configure evpn srv6 mac-ageing-time:
#configure terminal
(config)#evpn srv6 mac-ageing-time 10
arp-nd refresh timer
Use this command to configure aging out the arp-cache and nd-cache entries for given time multiplied by 3 in seconds.
Use no parameter of this command to remove the configuration.
Note:	 
•	Not applicable for the AC port which is mapped with ELINE/Xconnect Service. 
•	After this timer interval, it sends out ARP to revalidate and 3 times of this would lead to removal of the dynamic entry.
Command Syntax
evpn srv6 arp-nd refresh-timer <3-190>
no evpn srv6 arp-nd refresh-timer
Parameters
 
| arp-nd refresh-timer<3-190> |  Sets the refresh timer value for ARP and ND cache entries on a networking device. | 
Default
Disabled
Command Mode
Evpn mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to configure evpn srv6 arp-nd refresh-timer:
(config)#evpn srv6 arp-nd refresh-timer 100
(config)#no evpn srv6 arp-nd refresh-timer
mac-holdtime
Use this command to set the MAC hold time for a MAC/IP or MAC.
The feature holds the MAC in hardware until BGP has withdrawn from the neighbours. This helps to reduce the flooding to other access ports.This setting applies when the L2 Subifp is shut down, the physical port on which the access port is down, or the access port is removed from the VNID using the no form of the map vnid command.When the MAC hold time is configured as -1, then the MAC is not removed from the hardware and is also not withdrawn from EVPN BGP. 
Use the no form of this command to remove the MAC hold time for the MAC/IP or MAC
Note:	When a MAC address enters the discard state, traffic associated with it is dropped. This rule applies exclusively to MAC addresses or MAC-IP pairs configured manually.
Command Syntax
mac-holdtime <-1-300>
no mac-holdtime
Parameters
 
| <-1-300> |  MAC hold time in seconds. Specify -1 to never expire state. | 
Default
Zero second
Command Mode
EVPN SRv6 mode and ACC_IF mode.
Note:	When set in both modes, the preference is given to the ACC_IF mode value for the corresponding access port.
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to configure mac-holdtime for evpn srv6:
#configure terminal
(config)#evpn srv6 id 3
(config-evpn-srv6) #mac-holdtime -1
(config-evpn-srv6) #exit
show evpn srv6
Use this command to display the EVPN Information.
Command Syntax
show evpn srv6 ((tunnel (| sid | summary) | id <1-16777215>)|)
Parameters
 
| tunnel sid | Displays Segment Identifier (SID) used in Segment Routing (SR) networks to identify a tunnel.  | 
| tunnel summary | Provides a summarized view of SRv6 configurations and statuses. | 
| tunnel id <1-16777215>   | Displays information related to the specified SRv6 tunnel or SID identified by its numerical ID. The ID range is from 1 to 16777215. | 
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of  evpn srv6 tunnel. 
PE1# show evpn srv6 tunnel sid
EVPN-SRV6 Network tunnel SID's
 Evpn service type: ELAN, evi: 10, evi-name: , status: Installed
   PE IP: 2001::3
    Tunnel information
     local UC-SID: cafe:aaaa:1:0:2::, local MC-SID: cafe:aaaa:1:0:3::
     remote UC-SID: cafe:aaaa:3:0:2::, remote MC-SID: cafe:aaaa:3:0:3::
    Tunnel policy mapped: --
 Evpn service type: ELAN, evi: 10, evi-name: , status: Installed
   PE IP: 2001::2
    Tunnel information
     local UC-SID: cafe:aaaa:1:0:2::, local MC-SID: cafe:aaaa:1:0:3::
     remote UC-SID: cafe:aaaa:2:0:2::, remote MC-SID: cafe:aaaa:2:0:3::
    Tunnel policy mapped: --
 
Total number of entries are 2
show evpn srv6 arp-cache
Use this command to display the ARP cache information.
Command Syntax
show evpn srv6 arp-cache (evid <1-16777215>|) (summary |)
Parameters
 
| arp-cache | Displays ARP cache information for all EVPN instances. | 
| evid <1-16777215>   | Displays ARP cache information specific to the EVPN instance identified by its Ethernet Segment Identifier (EVID). The EVID range is from 1 to 16777215. | 
| summary | Provides a summarized view of the ARP cache information. | 
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of evpn srv6 arp-cache
PE1#show evpn srv6 arp-cache
SRV6-EVPN ARP-CACHE Information
===============================
EVPN-ID   Ip-Addr          Mac-Addr        Type        Age-Out   Retries-Left
_____________________________________________________________________________
10       7.7.7.7          0020.9400.0004 Static Local   ----
10       192.85.1.3       0010.9400.0003 Dynamic Remote ----
10       192.85.1.4       0010.9400.0004 Dynamic Local  ----
Total number of entries are 3
show evpn srv6 mac-table
Use this command to display the host MAC address table.
Command Syntax
show evpn srv6 mac-table (hardware |) (evid <1-16777215>|) (summary |)
Parameters
 
| mac-table | Displays the EVPN SRv6 MAC address table. | 
| evid <1-16777215> | Specifies the EVPN Instance Identifier (EVI) for which you want to display the SRv6 MAC table information. The range for the EVI ID is from 1 to 16777215. | 
| hardware   | Displays Host mac addresses table from hardware. | 
| summary | Provides a summarized view of Host mac addresses table from hardware. | 
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of  evpn srv6 mac-table
PE1#show evpn srv6 mac-table
========================================================================================================================================================
                                                     EVPN SRV6 MAC Entries
========================================================================================================================================================
VNID       Interface VlanId    In-VlanId Mac-Addr       VTEP-Ip/ESI                                   Type            Status     MAC move AccessPortDesc
________________________________________________________________________________________________________________________________________________________
 
10         ----      ----      ----      0001.9400.0003 2001::3                                       Static Remote   -------    0        -------
10         ----      ----      ----      0011.9400.0003 2001::3                                       Static Remote   -------    0        -------
10         ----      ----      ----      0011.9401.0003 2001::3                                       Static Remote   -------    0        -------
10         xe29.100  ----      ----      0020.9400.0003 2001::1                                       Static Local    -------    0        -------
10         xe29.100  ----      ----      0030.9400.0003 2001::1                                       Static Local    -------    0        -------
 
Total number of entries are : 5
show evpn srv6 nd-cache
Use this command to display the Neighbor Discovery (ND) cache information.
Command Syntax
show evpn srv6 nd-cache (evid <1-16777215>|) (summary |)
Parameters
 
| nd-cahce | Displays the EVPN SRv6 ND table. | 
| evid<1-16777215>   |  Displays ND cache information specific to the EVPN instance identified by its Ethernet Segment Identifier (EVID). The EVID range is from 1 to 16777215. | 
| Summary | Provides a summarized view of the ND cache information. | 
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of  evpn srv6 nd-cache:
PE1#show evpn srv6 nd-cache
SRV6-EVPN ND-CACHE Information
==============================
EVPN-ID  Ip-Addr                        Mac-Addr          Type         Age-Out   Retries-Left
_____________________________________________________________________________________________
10       1111::33                       0011.9401.0003 Static Remote    ----
10       2222::22                       0011.9401.0002 Static Remote    ----
Total number of entries are 2
show evpn srv6 route-count
Use this command to display the EVPN active route (MAC-IP.MAC-IPv6 and MAC-only) count information.
Command Syntax
show evpn srv6 route-count (|evid <1-16777215>)
Parameters
 
| evid <1-16777215>   | Displays the count of SRv6 routes specific to the EVPN instance identified by its EVID. The EVID range is from 1 to 16777215. | 
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of  evpn srv6 route-count
PE1#show evpn srv6 route-count
EVPN-SRv6 Active route count information
====================================
Max supported route count   : 131072
Active route count: 8
 
---------------------------------------------
 VNID     Total    MACONLY  MACIPv4  MACIPv6
---------------------------------------------
 10       8        4        2        2
 
Total number of entries are 1
PE1#
PE1#show evpn srv6 route-count evid 10
EVPN-SRv6 Active route count information
====================================
Max supported route count   : 131072
Active route count: 8
 
---------------------------------------------
 VNID     Total    MACONLY  MACIPv4  MACIPv6
---------------------------------------------
 10       8        4        2        2
 
Total number of entries are 1
show evpn srv6 static host state
Use this command to display the state of the host which is configured statically.
Command Syntax
show evpn srv6 static host state
Parameters
None
Default
None
Command Mode
Exec mode
Applicability
Introduced in OcNOS version 6.5.1.
Example
The following example illustrates to display the show output of  evpn srv6 static host status
PPE1#show evpn srv6 static host status
SRv6 Static Host Information
=============================
   Codes: NW - Network Port
          AC - Access Port
         (u) - Untagged
 
VNID     Ifname       Outer-Vlan Inner-vlan Ip-Addr                                 Mac-Addr       Status
___________________________________________________________________________________________________________________________
10       xe29.100     ---        ---        0.0.0.0                                 0020.9400.0003 Active
10       xe29.100     ---        ---        2001::9                                 0030.9400.0003 Inactive
 
Total number of entries are 2
Glossary
The following provides definitions for key terms or abbreviations and their meanings used throughout this document:
 
| Key Terms/Acronym  | Description | 
| Ethernet VPN (EVPN) | A solution that provides Ethernet multipoint services over MPLS networks, enabling control-plane-based MAC learning in the core. | 
| Virtual Private LAN Service (VPLS) | An early MPLS VPN technology that provides multipoint-to-multipoint wide-area Ethernet services for enterprise users. | 
| MP-BGP Protocol | Multi-Protocol Border Gateway Protocol, used for control-plane MAC learning in EVPN instances. | 
| Control Plane | The part of a network responsible for routing protocols, forwarding tables, and other control functions. | 
| Data Plane | The part of a network responsible for forwarding user data based on the information in the control plane. | 
| Route Reflector (RR) | A device in a network that helps to reduce the number of IBGP connections required in a full-mesh topology by reflecting routes from one IBGP speaker to another. | 
| Media Access Control (MAC) Address |  A unique identifier assigned to network interfaces for communication at the data link layer of a network segment. | 
| BGP Extensions | Additional functionality added to the Border Gateway Protocol (BGP) to support specific requirements or features. | 
| IMET Route | A route type in EVPN used for Broadcast, Unknown Unicast, and Multicast (BUM) traffic delivery across EVPN networks. | 
| Ethernet Segment Route | A route type in EVPN used in multi-homing scenarios and for Designated Forwarder Election. | 
| Ingress Replication (IR) | A technique used in multicast routing to replicate multicast traffic at the ingress router and forward it to multiple egress routers. | 
| Designated Forwarder (DF) | In EVPN, the PE responsible for sending broadcast, unknown multicast, and multicast (BUM) traffic to the CE on a particular Ethernet Segment. |