Professional Documents
Culture Documents
eos.arista.com/eos-4-20-5f/is-is-sr-static-adj-sid
By Przemyslaw Jacak
Contents [hide]
Introduction
Configuration
Status
Troubleshooting
Tracing
Introduction
This feature allows a user to configure adjacency SID for IS-IS adjacencies so that we have
deterministic values of them that would persist after switch restarts.
This feature is extension to IS-IS Segment Routing, core functionality is described in its TOI
document. This feature modifies only SIDs allocation for adjacencies.
Static adjacency SID can be configured per address family on any interface (including Port-
Channel, VLANs and SVIs). They are configured and advertised as labels.
Configuration
Static adjacency SID can be configured at interface configuration level with the command:
Where label-value must be within the SR Local Block (SRLB) that can be found in the output
of show mpls label range command:
Some rules should be taken into account when working with static adjacency SIDs:
The same label can be configured on multiple interfaces so that MPLS can form ECMP,
the same value can be applied to ipv4 and ipv6 adjacency.
1/3
Static adjacency SID applies only to p2p interface and has local scope. When interface
type changes to LAN automatic adjacency SID is used.
Static adjacency SIDs, if configured, simply replace automatic adjacency SIDs which
are advertised to other routers and installed in the local LFIB. Static adjacency SID is
applied regardless of Adjacency Segment Allocation Mode.
When static adjacency SID gets disabled, normal rules for automatic adjacency SID
apply (automatic value is applied based on Adjacency Segment Allocation Mode as
described in IS-IS Segment Routing TOI document).
Status
When static adjacency SID is applied, you can see it in the output of show isis segment-
routing adjacency-segments command, for interface configured like this:
interface Ethernet1
ip address 1.1.1.101/24
isis enable isis1
isis network point-to-point
adjacency-segment ipv4 p2p label 965551
adjacency-segment ipv6 p2p label 965550
Troubleshooting
First hint about static adjacency SID misconfiguration is part of the output of show isis
segment-routing adjacency-segments like here when label (1000) is outside of SRLB range
and interface is not p2p type:
2/3
! Some of configured Adj-SIDs are not within SRLB Range [965536, 1031071] and
interfaces are not p2p type
Tracing
Some more details can be found in logs.
Disclaimer: In some cases, enabling tracing can seriously impact the performance of the
switch. Please use it cautiously and seek advice from an Arista representative before
enabling this in any production environments.
Use trace Rib enable Rib::Isis-::Sr all command to enable IS-IS SR traces in Rib. These
traces could come handy in understanding events in IS-IS SR.
If you do that you can find logs like those:
When label is successfully allocated you should see log entry like that
3/3