cache list (SRv6 locator End-AS view)

Function

The cache list command is used to configure the segment list to be encapsulated after the SFF receives a packet from the SF.

The undo cache list command is used to cancel the configuration of the segment list to be encapsulated.

By default, segment list that is encapsulated in a packet receiving from the SF is not configured.

Format

cache list { ipv6-address } &<1-11>

undo cache list { ipv6-address } &<1-11>

undo cache list

Parameters

Parameter Description Value
ipv6-address

Specifies the IPv6 address. It is the SID value of the segment list that needs to be encapsulated to the packet receiving from the SF to the SFF.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

SRv6 locator End-AS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
segr write

Usage Guidelines

Usage Scenario

Currently supports up to 11 SIDs, including a private network SID. The SID is configured according to the label sequence in the packet.

Precautions

  • To prevent service packets from being looped between SFFs, the two SIDs in the cache list are not allowed to be the same.
  • The local End.AS SID must be in other addresses except the first address.
  • Ensure that the first SID is the SID of the private End.DT4, and the device does not check the SID.
  • The cache list configuration must be the end-to-end path of the SRv6 TE Policy.

Example

# Configure the segment list to be encapsulated after the SFF receives the packets from the SF, where the segment list is (1::1, 2::2, 3::3, 4::4, 100::12, 6::6, 7::7, 8::8, 9::9).
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] locator test1 ipv6-prefix 2001:DB8:100:: 64 static 32
[*HUAWEI-segment-routing-ipv6-locator] opcode ::12 end-as
[*HUAWEI-segment-routing-ipv6-locator-endas-::12] cache list 1::1 2::2 3::3 4::4 100::12 6::6 7::7 8::8 9::9
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >