summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-10-28 00:11:02 +0200
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2022-11-08 22:44:24 +0100
commit439d4c9b03f37522376e2466c67540f63d40891b (patch)
tree32333c12ae1dc00adfbf9c20183b721396db1957 /doc
parenttests: Add topotest for SRv6 uSID Locator (diff)
downloadfrr-439d4c9b03f37522376e2466c67540f63d40891b.tar.xz
frr-439d4c9b03f37522376e2466c67540f63d40891b.zip
doc: Add documentation for behavior usid command
Add the documentation for the `behavior usid` command to zebra. When the `behavior usid` command is set, a flag is added to the locator to indicate that the locator is a uSID locator. When a locator is specified as a uSID locator, the bgpd will install SRv6 behaviors with the uSID in the dataplane and use the SRv6 uSID codepoints in the BGP update message. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/zebra.rst30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst
index bfe11a19a..9001e2c62 100644
--- a/doc/user/zebra.rst
+++ b/doc/user/zebra.rst
@@ -810,6 +810,36 @@ and this section also helps that case.
!
...
+.. clicmd:: behavior usid
+
+ Specify the SRv6 locator as a Micro-segment (uSID) locator. When a locator is
+ specified as a uSID locator, all the SRv6 SIDs allocated from the locator by the routing
+ protocols are bound to the SRv6 uSID behaviors. For example, if you configure BGP to use
+ a locator specified as a uSID locator, BGP instantiates and advertises SRv6 uSID behaviors
+ (e.g., ``uDT4`` / ``uDT6`` / ``uDT46``) instead of classic SRv6 behaviors
+ (e.g., ``End.DT4`` / ``End.DT6`` / ``End.DT46``).
+
+::
+
+ router# configure terminal
+ router(config)# segment-routinig
+ router(config-sr)# srv6
+ router(config-srv6)# locators
+ router(config-srv6-locators)# locator loc1
+ router(config-srv6-locator)# prefix fc00:0:1::/48 block-len 32 node-len 16 func-bits 16
+ router(config-srv6-locator)# behavior usid
+
+ router(config-srv6-locator)# show run
+ ...
+ segment-routing
+ srv6
+ locators
+ locator loc1
+ prefix fc00:0:1::/48
+ behavior usid
+ !
+ ...
+
.. _multicast-rib-commands:
Multicast RIB Commands