- play_arrow Features Common to EVPN-VXLAN, EVPN-MPLS, and EVPN-VPWS
- play_arrow Configuring Interfaces
- play_arrow MAC Address Features with EVPN Networks
- play_arrow Configuring Routing Instances for EVPN
- Configuring EVPN Routing Instances
- Configuring EVPN Routing Instances on EX9200 Switches
- MAC-VRF Routing Instance Type Overview
- EVPN Type 5 Route with VXLAN Encapsulation for EVPN-VXLAN
- EVPN Type 5 Route with MPLS encapsulation for EVPN-MPLS
- Understanding EVPN Pure Type 5 Routes
- Seamless VXLAN Stitching with Symmetric EVPN Type 2 Routes using Data Center Interconnect
- Symmetric Integrated Routing and Bridging with EVPN Type 2 Routes in EVPN-VXLAN Fabrics
- EVPN Type 2 and Type 5 Route Coexistence with EVPN-VXLAN
- Ingress Virtual Machine Traffic Optimization
- Tracing EVPN Traffic and Operations
- Migrating From BGP VPLS to EVPN Overview
- Configuring EVPN over Transport Class Tunnels
- Example: Configuring EVPN-VPWS over Transport Class Tunnels
- play_arrow Configuring Route Targets
- play_arrow Routing Policies for EVPN
- play_arrow Layer 3 Gateways with Integrated Routing and Bridging for EVPN Overlays
- play_arrow EVPN Multihoming
- EVPN Multihoming Overview
- EVPN Multihoming Designated Forwarder Election
- Understanding Automatically Generated ESIs in EVPN Networks
- Easy EVPN LAG (EZ-LAG) Configuration
- Configuring EVPN Active-Standby Multihoming to a Single PE Device
- Configuring EVPN-MPLS Active-Standby Multihoming
- Example: Configuring Basic EVPN-MPLS Active-Standby Multihoming
- Example: Configuring EVPN-MPLS Active-Standby Multihoming
- Example: Configuring Basic EVPN Active-Active Multihoming
- Example: Configuring EVPN Active-Active Multihoming
- Example: Configuring LACP for EVPN Active-Active Multihoming
- Example: Configuring LACP for EVPN VXLAN Active-Active Multihoming
- Example: Configuring an ESI on a Logical Interface With EVPN-MPLS Multihoming
- Configuring Dynamic List Next Hop
- play_arrow Link States and Network Isolation Conditions in EVPN Networks
- play_arrow EVPN Proxy ARP and ARP Suppression, and NDP and NDP Suppression
- play_arrow Configuring DHCP Relay Agents
- play_arrow High Availability in EVPN
- play_arrow Monitoring EVPN Networks
- play_arrow Layer 2 Control Protocol Transparency
-
- play_arrow EVPN-VXLAN
- play_arrow Overview
- Understanding EVPN with VXLAN Data Plane Encapsulation
- EVPN-over-VXLAN Supported Functionality
- Understanding VXLANs
- VXLAN Constraints on EX Series, QFX Series, PTX Series, and ACX Series Devices
- EVPN Over VXLAN Encapsulation Configuration Overview for QFX Series and EX4600 Switches
- Implementing EVPN-VXLAN for Data Centers
- PIM NSR and Unified ISSU Support for VXLAN Overview
- Routing IPv6 Data Traffic through an EVPN-VXLAN Network with an IPv4 Underlay
- Understanding How to Configure VXLANs and Layer 3 Logical Interfaces to Interoperate
- Understanding GBP Profiles
- play_arrow Configuring EVPN-VXLAN Interfaces
- Understanding Flexible Ethernet Services Support With EVPN-VXLAN
- EVPN-VXLAN Lightweight Leaf to Server Loop Detection
- Overlapping VLAN Support Using VLAN Translation in EVPN-VXLAN Networks
- Overlapping VLAN Support Using Multiple Forwarding Instances or VLAN Normalization
- Layer 2 Protocol Tunneling over VXLAN Tunnels in EVPN-VXLAN Bridged Overlay Networks
- MAC Filtering, Storm Control, and Port Mirroring Support in an EVPN-VXLAN Environment
- Example: Micro and Macro Segmentation using Group Based Policy in a VXLAN
- DHCP Smart Relay in EVPN-VXLAN
- play_arrow Configuring VLAN-Aware Bundle Services, VLAN-Based Services, and Virtual Switch Support
- play_arrow Load Balancing with EVPN-VXLAN Multihoming
- play_arrow Setting Up a Layer 3 VXLAN Gateway
- play_arrow Configuring an EVPN-VXLAN Centrally-Routed Bridged Overlay
- play_arrow Configuring an EVPN-VXLAN Edge-Routed Bridging Overlay
- play_arrow IPv6 Underlay for VXLAN Overlays
- play_arrow Multicast Features with EVPN-VXLAN
- Multicast Support in EVPN-VXLAN Overlay Networks
- Overview of Multicast Forwarding with IGMP Snooping or MLD Snooping in an EVPN-VXLAN Environment
- Example: Preserving Bandwidth with IGMP Snooping in an EVPN-VXLAN Environment
- Overview of Selective Multicast Forwarding
- Configuring the number of SMET Nexthops
- Assisted Replication Multicast Optimization in EVPN Networks
- Optimized Intersubnet Multicast in EVPN Networks
- play_arrow Configuring the Tunneling of Q-in-Q Traffic
- play_arrow Tunnel Traffic Inspection on SRX Series Devices
- play_arrow Fault Detection and Isolation in EVPN-VXLAN Fabrics
-
- play_arrow EVPN-MPLS
- play_arrow Overview
- play_arrow Convergence in an EVPN MPLS Network
- play_arrow Pseudowire Termination at an EVPN
- play_arrow Configuring the Distribution of Routes
- Configuring an IGP on the PE and P Routers on EX9200 Switches
- Configuring IBGP Sessions Between PE Routers in VPNs on EX9200 Switches
- Configuring a Signaling Protocol and LSPs for VPNs on EX9200 Switches
- Configuring Entropy Labels
- Configuring Control Word for EVPN-MPLS
- Understanding P2MPs LSP for the EVPN Inclusive Provider Tunnel
- Configuring Bud Node Support
- play_arrow Configuring VLAN Services and Virtual Switch Support
- play_arrow Configuring Integrated Bridging and Routing
- EVPN with IRB Solution Overview
- An EVPN with IRB Solution on EX9200 Switches Overview
- Anycast Gateways
- Configuring EVPN with IRB Solution
- Configuring an EVPN with IRB Solution on EX9200 Switches
- Example: Configuring EVPN with IRB Solution
- Example: Configuring an EVPN with IRB Solution on EX9200 Switches
- play_arrow Configuring IGMP or MLD Snooping with EVPN-MPLS
-
- play_arrow EVPN E-LAN Services
- play_arrow EVPN-ETREE
- play_arrow Overview
- play_arrow Configuring EVPN-ETREE
-
- play_arrow Using EVPN for Interconnection
- play_arrow Interconnecting VXLAN Data Centers With EVPN
- play_arrow Interconnecting EVPN-VXLAN Data Centers Through an EVPN-MPLS WAN
- play_arrow Extending a Junos Fusion Enterprise Using EVPN-MPLS
-
- play_arrow PBB-EVPN
- play_arrow Configuring PBB-EVPN Integration
- play_arrow Configuring MAC Pinning for PBB-EVPNs
-
- play_arrow EVPN Standards
- play_arrow Supported EVPN Standards
-
- play_arrow VXLAN-Only Features
- play_arrow Flexible VXLAN Tunnels
- play_arrow Static VXLAN
-
- play_arrow Configuration Statements and Operational Commands
Configuring Micro-SIDs in EVPN-VPWS
The segment routing headers (SRHs)for SRv6 can have a long list of SIDs when data packets are routed through many SRv6 nodes before it reaches its destination address (DA). A long list of segment identifiers (SIDs) adds overhead to the data payload and reduces the efficiency of the payload. Starting with Junos Evolved Release 24.2R1, you can configure micro-SIDs on the ACX7000 family. Micro-SIDs (uSIDs) extend SRv6 network programming by compressing up to 6 SRv6 SIDs into one SRv6 address within an SRH.
For uSID, the router divides the 128-bit SID into the following:
Prefix/Block—The prefix contains the locator address of the network.
List of uSID instructions—The list of uSID contains either micro-node IDs or a uSID function/behavior.
Argument—The argument is an optional field in the SRH.
Figure 1 shows the DA as a packet moves through different nodes in SRv6 topology 1. The nodes, ID/function, and SIDs advertised by the nodes are listed in Table 1.

Node | Micro-Node ID/Micro-Node Function | SIDs Advertised by each Node |
---|---|---|
R1 | 300 | 2001:db8:300:0:0:0:0:0 |
R3 | 400 | 2001:db8:400:0:0:0:0:0 |
PE2 | 700 | 2001:db8:700:0:0:0:0:0 |
PE2 | f001 | 2001:db8:700:f001:0:0:0:0 |
At the ingress device, PE1 compresses the micro-SIDs for the nodes (R1, R3, and PE2) into one DA. 2001:db8:300:400:700:f001.
R1 processes the DA by consuming its own uSID 300 and forwards the packet with a DA of 2001:db8:400:700:f001:0.
R3 processes the DA by consuming its own uSID of 400 and forwards the packet with a DA 2001:db8:700:f001:0:0.
At the egress device, PE2 consumes its own uSID of 700 and processes the microservices function.
Benefits of uSIDs
Reduces network bandwidth by reducing the number of SRv6 addresses in the SRH.
Reduces the SRH processing overhead on the node.
Configuring EVPN-VPWS over SRv6 Network with uSIDs
CLI Quick Configuration
To quickly configure EVPN-VPWS over SRv6 with uSIDs, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your configuration, copy and paste the commands into the CLI at the [edit] hierarchy level. Enter commit from configuration mode.
set chassis network-services enhanced-ip set routing-options resolution preserve-nexthop-hierarchy set routing-instances EVPN-VPWS1 instance-type evpn-vpws set routing-instances EVPN-VPWS1 protocols evpn encapsulation srv6 set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id local 102 remote 201 set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id source-packet-routing srv6 locator uloc set routing-options source-packet-routing srv6 block usid_blk_with_statics 2001:db8::/32 set routing-options source-packet-routing srv6 block usid_blk_with_statics local-micro-sid maximum-static-sids 2000 set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id source-packet-routing srv6 locator micro-dx2-sid 0xF900 set routing-options source-packet-routing srv6 locator u_loc 2001:db8:100::/48 set routing-options source-packet-routing srv6 locator u_loc micro-sid block-name usid_blk_with_statics
We describe the uSID configuration on PE1. To provision a static uSID, you must first configure a static local range of addresses that can be used on all the devices. Use the same statements on PE2 unless differences in the configuration on PE2 are called out.
Enable
enhanced-ip
support on all MX devices.content_copy zoom_out_map[edit] user@PE1# set chassis network-services enhanced-ip
Enable expanded next-hop hierarchy support for source packet routing.
content_copy zoom_out_map[edit] user@R1# set routing-options resolution preserve-nexthop-hierarchy
Enable an
evpn-vpws
routing instance.content_copy zoom_out_map[edit] user@PE1# set routing-instances EVPN-VPWS1 instance-type evpn-vpws
Configure the SRv6 encapsulation type for the EVPN-VPWS1 routing instance.
content_copy zoom_out_map[edit] user@PE1# set routing-instances EVPN-VPWS1 protocols evpn encapsulation srv6
Configure the interface with the local and remote VPWS SID for the EVPN-VPWS1 routing instance.
PE1
content_copy zoom_out_map[edit] user@PE1# set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id local 102 remote 201
PE2
content_copy zoom_out_map[edit] user@PE2# set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id local 201 remote 102
Enable uSID for the EVPN-VPWS routing instance.
content_copy zoom_out_mapuser@PE1# set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id source-packet-routing srv6 locator u_loc
Configure a block for the uSID by specifying the prefix and length for a block of IPv6 address. This reserves the block for local static micro-SIDs. For maximum compression, all nodes should have same block prefix.
content_copy zoom_out_mapuser@PE1# set routing-options source-packet-routing srv6 block usid_blk_with_statics 2001:db8::/32
Specify the maximum number of static SID that will be used as micro-SIDs.
content_copy zoom_out_mapuser@PE1# set routing-options source-packet-routing srv6 block usid_blk_with_statics local-micro-sid maximum-static-sids 2000
Configure a locator and the uSID function for the locator. The uSID function for micro-dx2 is 0xF900.
Note:The micro-SID value must be in the static SID range of local micro-SIDs. You can check that the static SID range for the local micro-SID with the
.show srv6 block
command. See Checking the Static SID Rangecontent_copy zoom_out_mapuser@PE1# set routing-instances EVPN-VPWS1 protocols evpn interface ge-0/0/1.1 vpws-service-id source-packet-routing srv6 locator micro-dx2-sid 0xF900
Configure a range of address that the locator can use.
PE1
content_copy zoom_out_mapuser@PE1# set routing-options source-packet-routing srv6 locator u_loc 2001:db8:100::/48
PE2
content_copy zoom_out_mapuser@PE2# set routing-options source-packet-routing srv6 locator u_loc 2001:db8:200::/48
Enable the uSID locator by specifying the name of the locator and block name that was reserved for the uSID.
content_copy zoom_out_mapuser@PE1# set routing-options source-packet-routing srv6 locator u_loc micro-sid block-name usid_blk_with_statics
Checking the Static SID Range
You must assign a uSID value that is inside the static SID range of the local uSIDs. To display the range of local static SIDs in the local uSID, use the show srv6 block
command. The acceptable uSID value is between 0xF830-0xFFFF.
user@host> show srv6 block usid_blk_with_statics Block: usid_blk_with_statics Block Prefix: 2001:db8::, Block length: 32, Micro-sid length: 16 Global Micro SIDs: Static SID range: 0x0-0xDFFF, Dynamic SID range: - Allocated static SID count: 1, Allocated dynamic SID count: 0 Available static SID count: 57343, Available dynamic SID count: 0 Local Micro SIDs: Static SID range: 0xF830-0xFFFF, Dynamic SID range: 0xE000-0xF82F Allocated static SID count: 0, Allocated dynamic SID count: 1 Available static SID count: 2000, Available dynamic SID count: 6191
Dynamic uSID Allocation
The following is a sample configuration for configuring dynamically allocated uSID EVPN-VPWS instance. It builds on the EVPN-VPWS dynamic SID allocation configuration EVPN-VPWS.
set routing-options source-packet-routing srv6 block usid_blk_with_statics 2001:db8::/32 set routing-options source-packet-routing srv6 locator u_loc 2001:db8:100::/48 set routing-options source-packet-routing srv6 locator u_loc micro-sid set routing-instances evpn-vpws-mh instance-type evpn-vpws set routing-instances evpn-vpws-mh protocols evpn interface ae0.0 vpws-service-id local 103 set routing-instances evpn-vpws-mh protocols evpn interface ae0.0 vpws-service-id remote 301 set routing-instances evpn-vpws-mh protocols evpn interface ae0.0 vpws-service-id source-packet-routing srv6 locator u_loc set routing-instances evpn-vpws-mh protocols evpn interface ae0.0 vpws-service-id source-packet-routing srv6 locator micro-dx2-sid