PLAY [2. CISCO XRV9K SR WITH TI-LFA LAB PLAYBOOK - INTRODUCE SEGMENT ROUTING] ***
TASK [lab_2_intro_segment_routing : 2.0 RENDER AND DISPLAY SEGMENT ROUTING CONFIGURATION] ***
ok: [PE1] =>
msg:
- 'template: sr_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls'
- ' !'
- ' interface Loopback0'
- ' address-family ipv4 unicast'
- ' prefix-sid index 1'
- ' !'
- ' !'
- '!'
- ''
- ''
ok: [P2] =>
msg:
- 'template: sr_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls'
- ' !'
- ' interface Loopback0'
- ' address-family ipv4 unicast'
- ' prefix-sid index 2'
- ' !'
- ' !'
- '!'
- ''
- ''
ok: [P3] =>
msg:
- 'template: sr_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls'
- ' !'
- ' interface Loopback0'
- ' address-family ipv4 unicast'
- ' prefix-sid index 3'
- ' !'
- ' !'
- '!'
- ''
- ''
ok: [P7] =>
msg:
- 'template: sr_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls'
- ' !'
- ' interface Loopback0'
- ' address-family ipv4 unicast'
- ' prefix-sid index 7'
- ' !'
- ' !'
- '!'
- ''
- ''
ok: [P6] =>
msg:
- 'template: sr_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls'
- ' !'
- ' interface Loopback0'
- ' address-family ipv4 unicast'
- ' prefix-sid index 6'
- ' !'
- ' !'
- '!'
- ''
- ''
TASK [lab_2_intro_segment_routing : 2.1 RENDER AND SAVE THE SEGMENT ROUTING CONFIGURATION] ***
ok: [P3]
ok: [P7]
ok: [P6]
ok: [P2]
ok: [PE1]
Pausing for 1 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
TASK [lab_2_intro_segment_routing : 1 secs PAUSE FOR CONVERGENCE] **************
ok: [PE1]
TASK [lab_2_intro_segment_routing : 2.2 DISPLAY THE OUTPUT REGISTERED IN THE PREVIOUS TASK] ***
ok: [P2] =>
output.dest: xrcfg/P2.sr.xrcfg
ok: [PE1] =>
output.dest: xrcfg/PE1.sr.xrcfg
ok: [P3] =>
output.dest: xrcfg/P3.sr.xrcfg
ok: [P6] =>
output.dest: xrcfg/P6.sr.xrcfg
ok: [P7] =>
output.dest: xrcfg/P7.sr.xrcfg
TASK [lab_2_intro_segment_routing : 2.3 RENDER AND APPLY THE SEGMENT ROUTING CONFIGURATION] ***
changed: [PE1]
changed: [P3]
changed: [P6]
changed: [P7]
changed: [P2]
Pausing for 60 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
TASK [lab_2_intro_segment_routing : 1 minutes PAUSE FOR CONVERGENCE] ***********
ok: [PE1]
TASK [lab_2_intro_segment_routing : 2.4 RUN COMMANDS TO VERIFY SR AND LDP STATE] ***
ok: [PE1] => (item=show mpls label table detail)
ok: [PE1] => (item=show isis adjacency detail)
ok: [PE1] => (item=show isis database verbose PE1)
ok: [PE1] => (item=show isis segment-routing label table)
ok: [PE1] => (item=show route 7.7.7.7/32 detail)
ok: [PE1] => (item=show mpls forwarding)
ok: [PE1] => (item=show cef 7.7.7.7/32)
ok: [PE1] => (item=traceroute mpls ipv4 7.7.7.7/32)
ok: [PE1] => (item=traceroute sr-mpls 7.7.7.7/32)
TASK [lab_2_intro_segment_routing : 2.5 DISPLAY THE OUTPUT REGISTERED IN THE PREVIOUS TASK] ***
ok: [PE1] => (item=show mpls label table detail) =>
msg:
- - - Table Label Owner State Rewrite
- '----- ------- ------------------------------- ------ -------'
- 0 0 LSD(A) InUse Yes
- 0 1 LSD(A) InUse Yes
- 0 2 LSD(A) InUse Yes
- 0 13 LSD(A) InUse Yes
- 0 16000 ISIS(A):IGP InUse No
- ' (Lbl-blk SRGB, vers:0, (start_label=16000, size=8000)'
- 0 24000 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 2.2.2.2/32)'
- 0 24001 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 29.0.0.0/24)'
- 0 24002 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 27.0.0.0/24)'
- 0 24003 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 26.0.0.0/24)'
- 0 24004 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 23.0.0.0/24)'
- 0 24005 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 3.3.3.3/32)'
- 0 24006 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 6.6.6.6/32)'
- 0 24007 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 7.7.7.7/32)'
- 0 24008 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 4.4.4.4/32)'
- 0 24009 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 8.8.8.8/32)'
- 0 24010 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 5.5.5.5/32)'
- 0 24011 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 39.0.0.0/24)'
- 0 24012 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 67.0.0.0/24)'
- 0 24013 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 37.0.0.0/24)'
- 0 24014 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 47.0.0.0/24)'
- 0 24015 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 34.0.0.0/24)'
- 0 24016 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 78.0.0.0/24)'
- 0 24017 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 48.0.0.0/24)'
- 0 24018 LDP(A) InUse Yes
- ' (IPv4, vers:0, ''default'':4U, 45.0.0.0/24)'
- 0 24020 ISIS(A):IGP InUse Yes
- ' (SR Adj Segment IPv4, vers:0, index=1, type=0, intf=Gi0/0/0/2, nh=12.0.0.2)'
- 0 24021 ISIS(A):IGP InUse Yes
- ' (SR Adj Segment IPv4, vers:0, index=3, type=0, intf=Gi0/0/0/2, nh=12.0.0.2)'
ok: [PE1] => (item=show isis adjacency detail) =>
msg:
- - - 'IS-IS IGP Level-2 adjacencies:'
- System Id Interface SNPA State Hold Changed NSF IPv4 IPv6
- ' BFD BFD '
- P2 Gi0/0/0/2 *PtoP* Up 29 00:03:38 Yes None None
- ' Area Address: 49'
- ' Neighbor IPv4 Address: 12.0.0.2*'
- ' Adjacency SID: 24020'
- ' Non-FRR Adjacency SID: 24021'
- ' Topology: IPv4 Unicast'
- ' BFD Status: BFD Not Required, Neighbor Useable'
- ''
- 'Total adjacency count: 1'
ok: [PE1] => (item=show isis database verbose PE1) =>
msg:
- - - IS-IS IGP (Level-2) Link State Database
- LSPID LSP Seq Num LSP Checksum LSP Holdtime/Rcvd ATT/P/OL
- PE1.00-00 * 0x0000013a 0xac7c 1143 /* 0/0/0
- ' Area Address: 49'
- ' NLPID: 0xcc'
- ' IP Address: 1.1.1.1'
- ' Metric: 10 IP-Extended 12.0.0.0/24'
- ' Prefix Attribute Flags: X:0 R:0 N:0 E:0 A:0'
- ' Metric: 0 IP-Extended 1.1.1.1/32'
- ' Prefix-SID Index: 1, Algorithm:0, R:0 N:1 P:0 E:0 V:0 L:0'
- ' Prefix Attribute Flags: X:0 R:0 N:1 E:0 A:0'
- ' Hostname: PE1'
- ' Router Cap: 1.1.1.1 D:0 S:0'
- ' Segment Routing: I:1 V:0, SRGB Base: 16000 Range: 8000'
- ' Node Maximum SID Depth: '
- ' Label Imposition: 10'
- ' SR Algorithm: '
- ' Algorithm: 0'
- ' Algorithm: 1'
- ' Metric: 10 IS-Extended P2.00'
- ' Local Interface ID: 9, Remote Interface ID: 9'
- ' Interface IP Address: 12.0.0.1'
- ' Neighbor IP Address: 12.0.0.2'
- ' Physical BW: 1000000 kbits/sec'
- ' ADJ-SID: F:0 B:0 V:1 L:1 S:0 P:0 weight:0 Adjacency-sid:24021'
- ''
- ' Total Level-2 LSP count: 1 Local Level-2 LSP count: 1'
ok: [PE1] => (item=show isis segment-routing label table) =>
msg:
- - - IS-IS IGP IS Label Table
- Label Prefix Interface
- '---------- ---------------- ---------'
- 16001 1.1.1.1/32 Loopback0
- '16002 2.2.2.2/32 '
- '16003 3.3.3.3/32 '
- '16006 6.6.6.6/32 '
- 16007 7.7.7.7/32
ok: [PE1] => (item=show route 7.7.7.7/32 detail) =>
msg:
- - - Routing entry for 7.7.7.7/32
- ' Known via "isis IGP", distance 115, metric 20, labeled SR, type level-2'
- ' Installed Apr 10 12:38:25.782 for 00:00:56'
- ' Routing Descriptor Blocks'
- ' 12.0.0.2, from 7.7.7.7, via GigabitEthernet0/0/0/2'
- ' Route metric is 20'
- ' Label: 0x3e87 (16007)'
- ' Tunnel ID: None'
- ' Binding Label: None'
- ' Extended communities count: 0'
- " Path id:1\t Path ref count:0"
- ' NHID:0x2(Ref:20)'
- ' Route version is 0xa (10)'
- ' Local Label: 0x3e87 (16007)'
- ' IP Precedence: Not Set'
- ' QoS Group ID: Not Set'
- ' Flow-tag: Not Set'
- ' Fwd-class: Not Set'
- ' Route Priority: RIB_PRIORITY_NON_RECURSIVE_MEDIUM (7) SVD Type RIB_SVD_TYPE_LOCAL'
- ' Download Priority 1, Download Version 2324'
- ' No advertising protos.'
ok: [PE1] => (item=show mpls forwarding) =>
msg:
- - - 'Local Outgoing Prefix Outgoing Next Hop Bytes '
- 'Label Label or ID Interface Switched '
- '------ ----------- ------------------ ------------ --------------- ------------'
- '16002 Pop SR Pfx (idx 2) Gi0/0/0/2 12.0.0.2 0 '
- '16003 16003 SR Pfx (idx 3) Gi0/0/0/2 12.0.0.2 0 '
- '16006 16006 SR Pfx (idx 6) Gi0/0/0/2 12.0.0.2 0 '
- '16007 16007 SR Pfx (idx 7) Gi0/0/0/2 12.0.0.2 0 '
- '24000 Pop 2.2.2.2/32 Gi0/0/0/2 12.0.0.2 98 '
- '24001 Pop 29.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24002 Pop 27.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24003 Pop 26.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24004 Pop 23.0.0.0/24 Gi0/0/0/2 12.0.0.2 463 '
- '24005 24007 3.3.3.3/32 Gi0/0/0/2 12.0.0.2 0 '
- '24006 24001 6.6.6.6/32 Gi0/0/0/2 12.0.0.2 0 '
- '24007 24000 7.7.7.7/32 Gi0/0/0/2 12.0.0.2 0 '
- '24008 24008 4.4.4.4/32 Gi0/0/0/2 12.0.0.2 0 '
- '24009 24010 8.8.8.8/32 Gi0/0/0/2 12.0.0.2 0 '
- '24010 24009 5.5.5.5/32 Gi0/0/0/2 12.0.0.2 0 '
- '24011 24011 39.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24012 24006 67.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24013 24005 37.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24014 24004 47.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24015 24012 34.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24016 24003 78.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24017 24014 48.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24018 24013 45.0.0.0/24 Gi0/0/0/2 12.0.0.2 0 '
- '24020 Pop SR Adj (idx 1) Gi0/0/0/2 12.0.0.2 0 '
- 24021 Pop SR Adj (idx 3) Gi0/0/0/2 12.0.0.2 0
ok: [PE1] => (item=show cef 7.7.7.7/32) =>
msg:
- - - 7.7.7.7/32, version 1686, labeled SR, internal 0x1000001 0x8130 (ptr 0xe7c4b98) [1], 0x600 (0xdfe2be8), 0xa28 (0xebfea08)
- ' Updated Apr 10 12:38:25.791 '
- ' remote adjacency to GigabitEthernet0/0/0/2'
- ' Prefix Len 32, traffic index 0, precedence n/a, priority 3'
- ' Extensions: context-label:16007'
- ' gateway array (0xde4aaf0) reference count 9, flags 0x68, source lsd (5), 1 backups'
- ' [4 type 5 flags 0x8401 (0xec41768) ext 0x0 (0x0)]'
- ' LW-LDI[type=5, refc=3, ptr=0xdfe2be8, sh-ldi=0xec41768]'
- ' gateway array update type-time 1 Apr 10 12:38:25.791'
- ' LDI Update time Apr 10 12:38:25.791'
- ' LW-LDI-TS Apr 10 12:38:25.791'
- ' via 12.0.0.2/32, GigabitEthernet0/0/0/2, 14 dependencies, weight 0, class 0 [flags 0x0]'
- ' path-idx 0 NHID 0x0 [0xf429290 0x0]'
- ' next hop 12.0.0.2/32'
- ' remote adjacency'
- ' local label 24007 labels imposed {24000}'
- ''
- ' Load distribution: 0 (refcount 4)'
- ''
- ' Hash OK Interface Address'
- ' 0 Y GigabitEthernet0/0/0/2 remote'
ok: [PE1] => (item=traceroute mpls ipv4 7.7.7.7/32) =>
msg:
- - - Tracing MPLS Label Switched Path to 7.7.7.7/32, timeout is 2 seconds
- ''
- 'Codes: ''!'' - success, ''Q'' - request not sent, ''.'' - timeout,'
- ' ''L'' - labeled output interface, ''B'' - unlabeled output interface, '
- ' ''D'' - DS Map mismatch, ''F'' - no FEC mapping, ''f'' - FEC mismatch,'
- ' ''M'' - malformed request, ''m'' - unsupported tlvs, ''N'' - no rx label, '
- ' ''P'' - no rx intf label prot, ''p'' - premature termination of LSP, '
- ' ''R'' - transit router, ''I'' - unknown upstream index,'
- ' ''X'' - unknown return code, ''x'' - return code 0'
- ''
- Type escape sequence to abort.
- ''
- ' 0 12.0.0.1 MRU 1500 [Labels: 24000 Exp: 0]'
- 'L 1 12.0.0.2 MRU 1500 [Labels: implicit-null Exp: 0] 11 ms'
- '! 2 27.0.0.7 9 ms'
ok: [PE1] => (item=traceroute sr-mpls 7.7.7.7/32) =>
msg:
- - - Tracing MPLS Label Switched Path to 7.7.7.7/32, timeout is 2 seconds
- ''
- 'Codes: ''!'' - success, ''Q'' - request not sent, ''.'' - timeout,'
- ' ''L'' - labeled output interface, ''B'' - unlabeled output interface, '
- ' ''D'' - DS Map mismatch, ''F'' - no FEC mapping, ''f'' - FEC mismatch,'
- ' ''M'' - malformed request, ''m'' - unsupported tlvs, ''N'' - no rx label, '
- ' ''P'' - no rx intf label prot, ''p'' - premature termination of LSP, '
- ' ''R'' - transit router, ''I'' - unknown upstream index,'
- ' ''X'' - unknown return code, ''x'' - return code 0'
- ''
- Type escape sequence to abort.
- ''
- ' 0 12.0.0.1 MRU 1500 [Labels: 16007 Exp: 0]'
- 'L 1 12.0.0.2 MRU 1500 [Labels: implicit-null Exp: 0] 10 ms'
- '! 2 27.0.0.7 5 ms'
TASK [lab_2_intro_segment_routing : 2.6 RENDER AND DISPLAY THE SR-PREFER CONFIGURATION] ***
ok: [PE1] =>
msg:
- 'template: sr_prefer_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls sr-prefer'
- ' !'
- '!'
- ''
- ''
ok: [P6] =>
msg:
- 'template: sr_prefer_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls sr-prefer'
- ' !'
- '!'
- ''
- ''
ok: [P3] =>
msg:
- 'template: sr_prefer_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls sr-prefer'
- ' !'
- '!'
- ''
- ''
ok: [P7] =>
msg:
- 'template: sr_prefer_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls sr-prefer'
- ' !'
- '!'
- ''
- ''
ok: [P2] =>
msg:
- 'template: sr_prefer_template.j2'
- - router isis IGP
- ' address-family ipv4 unicast'
- ' segment-routing mpls sr-prefer'
- ' !'
- '!'
- ''
- ''
TASK [lab_2_intro_segment_routing : 2.7 RENDER AND SAVE THE SR-PREFER CONFIGURATION] ***
ok: [PE1]
ok: [P6]
ok: [P2]
ok: [P3]
ok: [P7]
Pausing for 1 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
TASK [lab_2_intro_segment_routing : 1 secs PAUSE FOR CONVERGENCE] **************
ok: [PE1]
TASK [lab_2_intro_segment_routing : 2.8 DISPLAY THE OUTPUT REGISTERED IN THE PREVIOUS TASK] ***
ok: [PE1] =>
output.dest: xrcfg/PE1.srprefer.xrcfg
ok: [P6] =>
output.dest: xrcfg/P6.srprefer.xrcfg
ok: [P7] =>
output.dest: xrcfg/P7.srprefer.xrcfg
ok: [P3] =>
output.dest: xrcfg/P3.srprefer.xrcfg
ok: [P2] =>
output.dest: xrcfg/P2.srprefer.xrcfg
TASK [lab_2_intro_segment_routing : 2.9 RENDER AND APPLY THE SR-PREFER CONFIGURATION] ***
changed: [PE1]
changed: [P2]
changed: [P7]
changed: [P3]
changed: [P6]
Pausing for 60 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
TASK [lab_2_intro_segment_routing : 1 minutes PAUSE FOR CONVERGENCE] ***********
ok: [PE1]
TASK [lab_2_intro_segment_routing : 2.10 RUN COMMANDS TO VERIFY SR-PREFER STATE] ***
ok: [PE1] => (item=traceroute mpls ipv4 7.7.7.7/32)
ok: [PE1] => (item=traceroute mpls ipv4 5.5.5.5/32)
TASK [lab_2_intro_segment_routing : 2.11 DISPLAY THE OUTPUT REGISTERED IN THE PREVIOUS TASK] ***
ok: [PE1] => (item=traceroute mpls ipv4 7.7.7.7/32) =>
msg:
- - - Tracing MPLS Label Switched Path to 7.7.7.7/32, timeout is 2 seconds
- ''
- 'Codes: ''!'' - success, ''Q'' - request not sent, ''.'' - timeout,'
- ' ''L'' - labeled output interface, ''B'' - unlabeled output interface, '
- ' ''D'' - DS Map mismatch, ''F'' - no FEC mapping, ''f'' - FEC mismatch,'
- ' ''M'' - malformed request, ''m'' - unsupported tlvs, ''N'' - no rx label, '
- ' ''P'' - no rx intf label prot, ''p'' - premature termination of LSP, '
- ' ''R'' - transit router, ''I'' - unknown upstream index,'
- ' ''X'' - unknown return code, ''x'' - return code 0'
- ''
- Type escape sequence to abort.
- ''
- ' 0 12.0.0.1 MRU 1500 [Labels: 16007 Exp: 0]'
- 'L 1 12.0.0.2 MRU 1500 [Labels: implicit-null Exp: 0] 17 ms'
- '! 2 27.0.0.7 11 ms'
ok: [PE1] => (item=traceroute mpls ipv4 5.5.5.5/32) =>
msg:
- - - Tracing MPLS Label Switched Path to 5.5.5.5/32, timeout is 2 seconds
- ''
- 'Codes: ''!'' - success, ''Q'' - request not sent, ''.'' - timeout,'
- ' ''L'' - labeled output interface, ''B'' - unlabeled output interface, '
- ' ''D'' - DS Map mismatch, ''F'' - no FEC mapping, ''f'' - FEC mismatch,'
- ' ''M'' - malformed request, ''m'' - unsupported tlvs, ''N'' - no rx label, '
- ' ''P'' - no rx intf label prot, ''p'' - premature termination of LSP, '
- ' ''R'' - transit router, ''I'' - unknown upstream index,'
- ' ''X'' - unknown return code, ''x'' - return code 0'
- ''
- Type escape sequence to abort.
- ''
- ' 0 12.0.0.1 MRU 1500 [Labels: 24009 Exp: 0]'
- 'L 1 12.0.0.2 MRU 1500 [Labels: 24002 Exp: 0] 5 ms'
- 'L 2 27.0.0.7 MRU 1500 [Labels: 24002 Exp: 0] 10 ms'
- 'L 3 47.0.0.4 MRU 1500 [Labels: implicit-null Exp: 0] 14 ms'
- '! 4 45.0.0.5 11 ms'