diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-09-20 02:39:28 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-10-23 10:31:39 -0300 | 
| commit | d47d6089e06c2c6b9f0f5ae4518f0e07abdca1af (patch) | |
| tree | 78b3bbe7a05e5e76e551b377d3ece5b82641b93a /doc/user/isisd.rst | |
| parent | d4fcd8bd82b232a467f5063268683a5dd7d52cd2 (diff) | |
isisd: refactor handling of SR Prefix-SIDs
Embed Prefix-SID information inside SPF data structures so that
Prefix-SIDs can be installed together with their associated routes
at the end of the SPF algorithm. This is different from the current
implementation where Prefix-SIDs are parsed and processed separately,
which is vastly suboptimal.
Advantages of the new code:
* No need to parse the LSPDB an additional time to detect and process
  SR-related changes;
* Routes are installed with their Prefix-SID labels in the same ZAPI
  message. This can prevent packet dropping for a few milliseconds
  after each SPF run if there are BGP-labeled routes (e.g. L3VPN) that
  recurse on IGP labeled routes;
* Much easier to support Anycast-SIDs, as the SPF code will naturally
  figure out the best nexthops and use only them (that can't be done
  in any reasonable way if the Prefix-SID Sub-TVLs are processed
  separately);
* Less code to maintain and reduced memory footprint;
The "show isis segment-routing prefix-sids" command was removed as
it doesn't make sense anymore now that "show isis route" exists.
Prefix-SIDs are a property of routes, so what was done was to extend
the "show isis route" command with a new "prefix-sid" option that
changes the output table to show the Prefix-SID information associated
to each route.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/user/isisd.rst')
| -rw-r--r-- | doc/user/isisd.rst | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/isisd.rst b/doc/user/isisd.rst index df7c72f8dc..d71f4246fd 100644 --- a/doc/user/isisd.rst +++ b/doc/user/isisd.rst @@ -423,8 +423,8 @@ Showing ISIS information     Show topology IS-IS paths to Intermediate Systems, globally, in area     (level-1) or domain (level-2). -.. index:: show isis route [level-1|level-2] [backup] -.. clicmd:: show isis route [level-1|level-2] [backup] +.. index:: show isis route [level-1|level-2] [prefix-sid|backup] +.. clicmd:: show isis route [level-1|level-2] [prefix-sid|backup]     Show the ISIS routing table, as determined by the most recent SPF     calculation.  | 
