Guides users through configuring SRv6 locators, IS-IS, BGP services, and locator algorithms and verifying the resulting SRv6 state and SID allocations.
To enable SRv6 functionality on your network, extending IS-IS to support SRv6 capabilities and SIDs.
Procedure
-
(Optional) Configure algorithm associated with locator.
-
Verify SRv6 manager.
Example:
This example shows how to verify the overall SRv6 state from SRv6 Manager point of view. The output displays parameters in use, summary information, and platform specific capabilities.
Router# SF-D#sh segment-routing srv6 manager Parameters: SRv6 Enabled: No SRv6 Operational Mode: None Encapsulation: Source Address: Configured: :: Default: 77::77 Hop-Limit: Default Traffic-class: Default SID Formats: f3216 <32B/16NFA> (2) uSID LIB Range: LIB Start : 0xe000 ELIB Start : 0xfe00 uSID WLIB Range: EWLIB Start : 0xfff7 Summary: Number of Locators: 0 (0 operational) Number of SIDs: 0 (0 stale) Max SID resources: 24000 Number of free SID resources: 24000 OOR: Thresholds (resources): Green 1200, Warning 720 Status: Resource Available History: (0 cleared, 0 warnings, 0 full) Platform Capabilities: SRv6: Yes TILFA: Yes Microloop-Avoidance: Yes Endpoint behaviors: End.DT6 End.DT4 End.DT46 End (PSP/USD) End.X (PSP/USD) uN (PSP/USD) uA (PSP/USD) uDT6 uDT4 uDT46 Headend behaviors: H.Insert.Red H.Encaps.Red Security rules: SEC-1 SEC-2 SEC-3 Counters: None Signaled parameters: Max-SL : 3 Max-End-Pop-SRH : 3 Max-H-Insert : 0 sids Max-H-Encap : 2 sids Max-End-D : 5 Configurable parameters (under srv6): Ranges: LIB : Yes WLIB : Yes Encapsulation: Source Address: Yes Hop-Limit : value=No, propagate=Yes Traffic-class : value=No, propagate=Yes Default parameters (under srv6): Encapsulation: Hop-Limit : value=128, propagate=No Traffic-class : value=0, propagate=No Max Locators: 16 Max SIDs: 24000 SID Holdtime: 3 mins Router# :SF-D# -
Verify the allocation of SRv6 local SIDs off locator(s).
Example:
Router# show segment-routing srv6 locator myLoc1 sid SID Behavior Context Owner State RW -------------------------- ---------------- ------------------------------ ------------------ ----- -- 2001:0:8:: uN (PSP/USD) 'default':1 sidmgr InUse Y -
Display detail information regarding an allocated SRv6 local SID.
Example:
Router# show segment-routing srv6 locator myLoc1 sid 2001:0:8:: detail SID Behavior Context Owner State RW -------------------------- ---------------- ------------------------------ ------------------ ----- -- 2001:0:8:: uN (PSP/USD) 'default':8 sidmgr InUse Y SID Function: 0x8 SID context: { table-id=0xe0800000 ('default':IPv6/Unicast), opaque-id=8 } Locator: 'myLoc1' Allocation type: Dynamic Created: Dec 10 22:10:51.596 (02:10:05 ago)