@@ -894,19 +894,30 @@ and this section also helps that case.
894
894
function development holds the owner of the chunk of this locator, and no
895
895
other routing protocol will use this area.
896
896
897
+ Additionally, if a static local SID is configured,
898
+ it will also be displayed in this section.
899
+
897
900
::
898
901
899
902
router# show segment-routing srv6 locator loc1 detail
900
903
Name: loc1
901
904
Prefix: 2001:db8:1:1::/64
902
905
Chunks:
903
906
- prefix: 2001:db8:1:1::/64, owner: system
907
+ sids:
908
+ -opcode ::fff1:11:0:0:0/128
909
+ sidaction End.DT46
910
+ vrf Vrf1
904
911
905
912
router# show segment-routing srv6 locator loc2 detail
906
913
Name: loc2
907
914
Prefix: 2001:db8:2:2::/64
908
915
Chunks:
909
916
- prefix: 2001:db8:2:2::/64, owner: sharp
917
+ sids:
918
+ -opcode ::fff1:12:0:0:0/128
919
+ sidaction End.DT46
920
+ vrf Vrf2
910
921
911
922
.. clicmd :: segment-routing
912
923
@@ -991,6 +1002,36 @@ and this section also helps that case.
991
1002
!
992
1003
...
993
1004
1005
+ .. clicmd :: opcode WORD <end|end-dt4|end-dt46|end-dt6> [vrf VRF]
1006
+
1007
+ Specify the opcode manually. Configuring a local sid in a purely static mode
1008
+ by specifying the opcode would generate a unique mySID table entry.
1009
+ This feature will support the configuration of static SRv6 decapsulation on the system.
1010
+ When configuring the local sid, if the action is set to 'end', no vrf should be set.
1011
+ However, for any other action, it is necessary to specify a specific vrf.
1012
+
1013
+ ::
1014
+ router# configure terminal
1015
+ router(config)# segment-routing
1016
+ router(config-sr)# srv6
1017
+ router(config-srv6)# locators
1018
+ router(config-srv6-locators)# locator loc1
1019
+ router(config-srv6-locator)# prefix fd00:202:202::/48 block-len 32 node-len 16 func-bits 16
1020
+ router(config-srv6-locator)# opcode ::fff1:11:0:0:0 end-dt46 vrf Vrf1
1021
+ router(config-srv6-locator)# opcode ::fff1:12:0:0:0 end-dt46 vrf Vrf2
1022
+
1023
+ router(config-srv6-locator)# show run
1024
+ ...
1025
+ segment-routing
1026
+ srv6
1027
+ locators
1028
+ locator loc1
1029
+ prefix fd00:202:202::/48 block-len 32 node-len 16 func-bits 16
1030
+ opcode ::fff1:11:0:0:0 end-dt46 vrf Vrf1
1031
+ opcode ::fff1:12:0:0:0 end-dt46 vrf Vrf2
1032
+ !
1033
+ ...
1034
+
994
1035
.. clicmd :: behavior usid
995
1036
996
1037
Specify the SRv6 locator as a Micro-segment (uSID) locator. When a locator is
0 commit comments