-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pathd: pathd support IPv6 address SID list
command: router2(config-sr-te)# segment-list test_srv6 router2(config-sr-te-segment-list)# index 10 ipv6-address X:X::X:X IPv6 address router2(config-sr-te-segment-list)# index 10 ipv6-address 100:1::1 router2(config-sr-te-segment-list)# index 20 ipv6-address 200:1::1 router2(config-sr-te-segment-list)# index 30 mpls label (16-1048575) Label Value router2(config-sr-te-segment-list)# index 30 mpls label 100 % Configuration failed. Error type: validation Error description: The Segment List(test_srv6) Type must be SRv6! router2(config-sr-te-segment-list)# router2(config-sr-te)# segment-list test_mpls router2(config-sr-te-segment-list)# index 10 mpls label 100 router2(config-sr-te-segment-list)# index 20 mpls label 200 router2(config-sr-te-segment-list)# index 30 ipv6-address 1:1::1 % Configuration failed. Error type: validation Error description: The Segment List(test_mpls) Type must be MPLS! router2(config-sr-te-segment-list)# router2# configure router2(config)# seg router2(config-sr)# traffic-eng router2(config-sr-te)# policy color 100 endpoint A.B.C.D SR Policy endpoint IPv4 address X:X::X:X SR Policy endpoint IPv6 address router2(config-sr-te)# policy color 100 endpoint 1.1.1.1 <cr> router2(config-sr-te)# policy color 100 endpoint 1.1.1.1 router2(config-sr-te-policy)# candidate-path preference 1 name mpls explicit segment-list test_mpls <cr> router2(config-sr-te-policy)# candidate-path preference 1 name mpls explicit segment-list test_mpls router2(config-sr-te-policy)# candidate-path preference 2 name srv6 explicit segment-list test_srv6 % Configuration failed. Error type: validation Error description: The Segment List type(2) and Policy type(1) must match! router2(config-sr-te-policy)# exit router2(config-sr-te)# policy color 200 endpoint 1:1::1 router2(config-sr-te-policy)# candidate-path preference 1 name srv6 explicit segment-list test_srv6 router2(config-sr-te-policy)# candidate-path preference 2 name mpls explicit segment-list test_mpls % Configuration failed. Error type: validation Error description: The Segment List type(1) and Policy type(2) must match! config: segment-routing traffic-eng segment-list test_srv6 index 10 ipv6-address 100:1::1 index 20 ipv6-address 200:1::1 exit segment-list test_mpls index 10 mpls label 100 index 20 mpls label 200 exit policy color 100 endpoint 1.1.1.1 candidate-path preference 1 name mpls explicit segment-list test_mpls exit policy color 200 endpoint 1:1::1 candidate-path preference 1 name srv6 explicit segment-list test_srv6 exit exit exit ! end show: router2# show sr-te policy detail Endpoint: 1.1.1.1 Color: 100 Name: BSID: - Status: Inactive Type: MPLS * Preference: 1 Name: mpls Type: explicit Segment-List: test_mpls Protocol-Origin: Local Endpoint: 1:1::1 Color: 200 Name: BSID: - Status: Active Type: SRV6 * Preference: 1 Name: srv6 Type: explicit Segment-List: test_srv6 Protocol-Origin: Local router2# Signed-off-by: guozhongfeng.gzf <[email protected]>
- Loading branch information
1 parent
8aa781b
commit bed448b
Showing
19 changed files
with
545 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.