-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue trying to deploy a new SR path. #9
Comments
Issue#2: This is not a big deal but I think it has something to do with the other issues. Pathman SR can't get the XRv hostnames I assigned to them. It is assigning some weirds numbers. Its not actually an issue cause the topology is small but I'm guessing there is something wrong with my setup A:
Cheers, |
Issue#4: When I tried to set up the new path and deploy it using Pathman SR I got the following error:
A:
You can get more information from your router with:
This is likely related to issue 1. Cheers, |
issue1:
it seems the issue has to do with something called "termination-point" but it's weird cause thats actually the node that is directly connected to the VM with ODL/Pathman SR
A:
Cheers, |
Issue#3: A: If your LSP is listed here, then Pathman should show it.
Cheers, |
Thanks Niklas,
I changed the router-id for OSPF and BGP to make it the same as the IP
address directly connected with the ODL VM. Now is able to pass SR traffic
but still not PCEP enabled. Here is the full config of that XRv router:
RP/0/0/CPU0:P2#sh run
Mon Jan 1 00:35:35.941 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Mon Jan 1 00:26:26 2018 by cisco
!
hostname P2
logging console debugging
ipv4 unnumbered mpls traffic-eng Loopback0
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 10.10.23.2 255.255.255.0
!
interface GigabitEthernet0/0/0/1
ipv4 address 10.10.12.2 255.255.255.0
!
interface GigabitEthernet0/0/0/2
ipv4 address 10.10.24.2 255.255.255.0
!
interface GigabitEthernet0/0/0/3
ipv4 address 192.168.1.1 255.255.255.252
!
interface GigabitEthernet0/0/0/4
shutdown
!
router ospf 1
distribute bgp-ls
router-id 192.168.1.1
segment-routing mpls
redistribute connected
area 0
mpls traffic-eng
segment-routing mpls
interface Loopback0
passive enable
prefix-sid index 20
!
interface GigabitEthernet0/0/0/0
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
interface GigabitEthernet0/0/0/1
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
interface GigabitEthernet0/0/0/2
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
!
mpls traffic-eng router-id 2.2.2.2
!
router bgp 1
bgp router-id 192.168.1.1
address-family ipv4 unicast
!
address-family link-state link-state
!
neighbor 1.1.1.1
remote-as 1
update-source Loopback0
address-family ipv4 unicast
route-reflector-client
!
!
neighbor 3.3.3.3
remote-as 1
update-source Loopback0
address-family ipv4 unicast
route-reflector-client
!
!
neighbor 4.4.4.4
remote-as 1
update-source Loopback0
address-family ipv4 unicast
route-reflector-client
!
!
neighbor 192.168.1.2
remote-as 1
update-source GigabitEthernet0/0/0/3
address-family ipv4 unicast
route-reflector-client
!
address-family link-state link-state
route-reflector-client
!
!
!
mpls traffic-eng
pce
peer source ipv4 192.168.1.1
peer ipv4 192.168.1.2
!
segment-routing
logging events peer-status
stateful-client
instantiation
cisco-extension
!
!
auto-tunnel pcc
tunnel-id min 15 max 99
!
reoptimize timers delay installation 0
!
segment-routing
global-block 16200 16299
!
end
RP/0/0/CPU0:P2#sh mpls traffic-eng p
pce per-call preemption proc-fsm
RP/0/0/CPU0:P2#sh mpls traffic-eng pce peer
Mon Jan 1 00:41:17.618 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
RP/0/0/CPU0:P2#show bgp link-state link-state
Mon Jan 1 00:41:50.596 UTC
BGP router identifier 192.168.1.1, local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 133
BGP main routing table version 133
BGP NSR Initial initsync version 10 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Prefix codes: E link, V node, T IP reacheable route, u/U unknown
I Identifier, N local node, R remote node, L link, P prefix
L1/L2 ISIS level-1/level-2, O OSPF, D direct, S
static/peer-node
a area-ID, l link-ID, t topology-ID, s ISO-ID,
c confed-ID/ASN, b bgp-identifier, r router-ID,
i if-address, n nbr-address, o OSPF Route-type, p IP-prefix
d designated router address
Network Next Hop Metric LocPrf Weight Path
*> [V][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]]/376
0.0.0.0 0 i
*> [V][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]]/376
0.0.0.0 0 i
*> [V][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]]/376
0.0.0.0 0 i
*> [V][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]]/376
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][L[i10.10.13.1][n10.10.13.3]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][L[i10.10.14.1][n10.10.14.4]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][L[i10.10.12.1][n10.10.12.2]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][R[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][L[i10.10.13.3][n10.10.13.1]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][R[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][L[i10.10.34.3][n10.10.34.4]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][R[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][L[i10.10.23.3][n10.10.23.2]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][R[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][L[i10.10.14.4][n10.10.14.1]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][R[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][L[i10.10.34.4][n10.10.34.3]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][R[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][L[i10.10.24.4][n10.10.24.2]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][L[i10.10.12.2][n10.10.12.1]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][L[i10.10.23.2][n10.10.23.3]]/792
0.0.0.0 0 i
*>
[E][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][R[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][L[i10.10.24.2][n10.10.24.4]]/792
0.0.0.0 0 i
*> [T][O][I0x0][N[c1][b0.0.0.0][r192.168.1.1]][P[o0x04][p10.10.12.0/24]]/416
0.0.0.0 0 i
*> [T][O][I0x0][N[c1][b0.0.0.0][r192.168.1.1]][P[o0x04][p10.10.23.0/24]]/416
0.0.0.0 0 i
*> [T][O][I0x0][N[c1][b0.0.0.0][r192.168.1.1]][P[o0x04][p10.10.24.0/24]]/416
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][r192.168.1.1]][P[o0x04][p192.168.1.0/30]]/424
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][P[o0x01][p10.10.12.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][P[o0x01][p10.10.13.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][P[o0x01][p10.10.14.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r1.1.1.1]][P[o0x01][p1.1.1.1/32]]/488
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][P[o0x01][p10.10.13.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][P[o0x01][p10.10.23.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][P[o0x01][p10.10.34.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r3.3.3.3]][P[o0x01][p3.3.3.3/32]]/488
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][P[o0x01][p10.10.14.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][P[o0x01][p10.10.24.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][P[o0x01][p10.10.34.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r4.4.4.4]][P[o0x01][p4.4.4.4/32]]/488
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][P[o0x01][p10.10.12.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][P[o0x01][p10.10.23.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][P[o0x01][p10.10.24.0/24]]/480
0.0.0.0 0 i
*>
[T][O][I0x0][N[c1][b0.0.0.0][a0.0.0.0][r192.168.1.1]][P[o0x01][p2.2.2.2/32]]/488
0.0.0.0 0 i
Processed 36 prefixes, 36 paths
RP/0/0/CPU0:P2#show bgp link-state link-state summary
Mon Jan 1 00:42:18.014 UTC
BGP router identifier 192.168.1.1, local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 133
BGP main routing table version 133
BGP NSR Initial initsync version 10 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
BGP is operating in STANDALONE mode.
Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer
StandbyVer
Speaker 133 133 133 133 133
0
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
St/PfxRcd
192.168.1.2 0 1 53 128 133 0 0 00:11:35
0
…On Sun, Dec 31, 2017 at 3:04 PM, nikmon2 ***@***.***> wrote:
issue1:
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update ERROR: No BGP SID for: 33686018
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update INFO: SR sid updated for: 50529027 from bgp
it seems the issue has to do with something called "termination-point" but
it's weird cause thats actually the node that is directly connected to the
VM with ODL/Pathman SR
3586 2017-12-31 18:03:18.712 UTC root:add_node INFO: New node: Node(name=u'67372036', id=u'67372036', loopback=u'4.4.4.4', portlist=[u'10.10.24.4', u'10.10.34.4'], pcc=u'pcc://4.4.4.4', pcep_type='07', prefix=[u'10.10.24.0/24', u'10.10.34.0/24', u'4.4.4.4/32'], sid='')
3586 2017-12-31 18:03:18.930 UTC root:add_node INFO: New node: Node(name=u'16843009', id=u'16843009', loopback=u'1.1.1.1', portlist=[u'10.10.12.1', u'10.10.13.1'], pcc=u'pcc://1.1.1.1', pcep_type='07', prefix=[u'1.1.1.1/32', u'10.10.12.0/24', u'10.10.13.0/24'], sid='')
3586 2017-12-31 18:03:18.931 UTC root:node_structure ERROR: Node 33686018 is missing 'termination-point'
A:
Something is up with your node 33686018.
- No termination point means that this node either doesn't have any
interfaces, or pathman could not match bgp-ls to pcep topo.
My guess is that it is using another loopback as router-id than pcep
address.
Cheers,
Niklas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmTieqAtncSn6cRthvnFKqi4UGY00ks5tF_bxgaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
Awesome, that's fine, actually I have to use OSPF 'cause my client uses it
as the IGP for their network, but no biggie
…On Sun, Dec 31, 2017 at 2:50 PM, nikmon2 ***@***.***> wrote:
Issue#2: This is not a big deal but I think it has something to do with
the other issues. Pathman SR can't get the XRv hostnames I assigned to
them. It is assigning some weirds numbers. Its not actually an issue cause
the topology is small but I'm guessing there is something wrong with my
setup
A:
OSPF does not carry hostnames with bgp-ls, therefore you will see the OSPF
node-ID's on your map. (isis does)
- You can get names displayed by putting your loopbacks in your
/etc/hosts file - or registering them with your dns. (/etc/hosts for where
pathman runs)
Cheers,
Niklas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmc1Obg6d6gcbvHmD8z47kcdsXujJks5tF_N9gaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
I'm checking the "pcep-topology" but I only see the four nodes, no active
path even tho I have one configured manually:
RP/0/0/CPU0:P1#sh run interface tunnel-te 14
Mon Jan 1 00:50:46.978 UTC
interface tunnel-te14
ipv4 unnumbered Loopback0
autoroute announce
!
destination 4.4.4.4
path-option 10 explicit name SR14 segment-routing
!
RP/0/0/CPU0:P1#sh mpls traffic-eng tunnels 14
Mon Jan 1 00:51:05.597 UTC
Name: tunnel-te14 Destination: 4.4.4.4 Ifhandle:0x90
Signalled-Name: P1_t14
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, (Segment-Routing) type explicit SR14 (Basis for Setup)
G-PID: 0x0800 (derived from egress interface properties)
Bandwidth Requested: 0 kbps CT0
Creation Time: Mon Jan 1 00:10:17 2018 (00:40:48 ago)
Config Parameters:
Bandwidth: 0 kbps (CT0) Priority: 7 7 Affinity: 0x0/0xffff
Metric Type: TE (global)
Path Selection:
Tiebreaker: Min-fill (default)
Protection: any (default)
Hop-limit: disabled
Cost-limit: disabled
Path-invalidation timeout: 10000 msec (default), Action: Tear (default)
AutoRoute: enabled LockDown: disabled Policy class: not set
Forward class: 0 (default)
Forwarding-Adjacency: disabled
Autoroute Destinations: 0
Loadshare: 0 equal loadshares
Auto-bw: disabled
Path Protection: Not Enabled
BFD Fast Detection: Disabled
Reoptimization after affinity failure: Enabled
SRLG discovery: Disabled
History:
Tunnel has been up for: 00:11:32 (since Mon Jan 01 00:39:33 UTC 2018)
Current LSP:
Uptime: 00:11:32 (since Mon Jan 01 00:39:33 UTC 2018)
Reopt. LSP:
Last Failure:
LSP not signalled, has no S2Ls
Date/Time: Mon Jan 01 00:39:18 UTC 2018 [00:11:47 ago]
Prior LSP:
ID: 4 Path Option: 10
Removal Trigger: path tear
Segment-Routing Path Info (OSPF 1 area 0)
Segment0[Link]: 10.10.13.1 - 10.10.13.3, Label: 24005
Segment1[Link]: 10.10.23.3 - 10.10.23.2, Label: 24001
Segment2[Link]: 10.10.24.2 - 10.10.24.4, Label: 24001
Displayed 1 (of 1) heads, 0 (of 0) midpoints, 0 (of 0) tails
Displayed 1 up, 0 down, 0 recovering, 0 recovered heads
PCEP-Topology:
<topology xmlns="urn:TBD:params:xml:ns:yang:network-topology">
<topology-id>pcep-topology</topology-id>
<topology-types>
<topology-pcep xmlns="urn:opendaylight:params:xml:ns:yang:topology:pcep"/>
</topology-types>
<node>
<node-id>pcc://192.168.1.1</node-id>
<path-computation-client xmlns="
urn:opendaylight:params:xml:ns:yang:topology:pcep">
<stateful-tlv>
<stateful xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<initiation xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:initiated
">true</initiation>
<lsp-update-capability>true</lsp-update-capability>
</stateful>
</stateful-tlv>
<state-sync>synchronized</state-sync>
<ip-address>192.168.1.1</ip-address>
</path-computation-client>
</node>
<node>
<node-id>pcc://4.4.4.4</node-id>
<path-computation-client xmlns="
urn:opendaylight:params:xml:ns:yang:topology:pcep">
<stateful-tlv>
<stateful xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<initiation xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:initiated
">true</initiation>
<lsp-update-capability>true</lsp-update-capability>
</stateful>
</stateful-tlv>
<state-sync>synchronized</state-sync>
<ip-address>4.4.4.4</ip-address>
</path-computation-client>
</node>
<node>
<node-id>pcc://3.3.3.3</node-id>
<path-computation-client xmlns="
urn:opendaylight:params:xml:ns:yang:topology:pcep">
<stateful-tlv>
<stateful xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<initiation xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:initiated
">true</initiation>
<lsp-update-capability>true</lsp-update-capability>
</stateful>
</stateful-tlv>
<state-sync>synchronized</state-sync>
<ip-address>3.3.3.3</ip-address>
</path-computation-client>
</node>
<node>
<node-id>pcc://1.1.1.1</node-id>
<path-computation-client xmlns="
urn:opendaylight:params:xml:ns:yang:topology:pcep">
<stateful-tlv>
<stateful xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<initiation xmlns="urn:opendaylight:params:xml:ns:yang:pcep:crabbe:initiated
">true</initiation>
<lsp-update-capability>true</lsp-update-capability>
</stateful>
</stateful-tlv>
<state-sync>synchronized</state-sync>
<ip-address>1.1.1.1</ip-address>
</path-computation-client>
</node>
</topology>
Is this normal? Am I missing something?
…On Sun, Dec 31, 2017 at 3:09 PM, nikmon2 ***@***.***> wrote:
Issue#3:
I have configured a TE Tunnel with SR manually but it doesn't appear on
Pathman SR
A:
All *active* paths should show up. The basis for pathman information is
from ODL's pcep topo: http://{odl_ip}:8181/restconf/
operational/network-topology:network-topology/topology/pcep-topology
If your LSP is listed here, then Pathman should show it.
- If it still doesn't display, then there may be an error logged in
the /tmp/pathman.log file.
Cheers,
Niklas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmSQwJrnGqYnKSdgq_gVCfHtGd_M-ks5tF_gLgaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
This is the output from the headend router:
RP/0/0/CPU0:P1#show mpls traffic-eng pce trace last 20
Mon Jan 1 00:54:22.123 UTC
47 wrapping entries (75456 possible, 960 allocated, 0 filtered, 47 total)
Jan 1 00:30:15.712 mpls/te/pcectrl 0/0/CPU0 t10 TCP:245: (PCE T) Closing
peer 192.168.1.2
Jan 1 00:30:15.832 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from TCP Pending to
Idle
Jan 1 00:30:15.832 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from Idle to TCP
Pending
Jan 1 00:30:28.851 mpls/te/pcectrl 0/0/CPU0 t10 TCP:245: (PCE T) Closing
peer 192.168.1.2
Jan 1 00:30:28.971 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from TCP Pending to
Idle
Jan 1 00:30:28.971 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from Idle to TCP
Pending
Jan 1 00:30:39.991 mpls/te/pcectrl 0/0/CPU0 t10 TCP:245: (PCE T) Closing
peer 192.168.1.2
Jan 1 00:30:40.111 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from TCP Pending to
Idle
Jan 1 00:30:40.111 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from Idle to TCP
Pending
Jan 1 00:30:40.181 mpls/te/pceerror 0/0/CPU0 t10 :1415: Wait for next
input event for peer 192.168.1.2
Jan 1 00:30:40.181 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from TCP Pending to
Keep Wait
Jan 1 00:30:40.181 mpls/te/pcectrl 0/0/CPU0 t10 TCP:521: (PCE T)
Transitioning to PCE_STATE_OPEN_WAIT, peer 192.168.1.2
Jan 1 00:30:40.181 mpls/te/pcectrl 0/0/CPU0 t10 TCP:10137: (PCE T)
Enqueue OPEN msg to 192.168.1.2, ka = 30 dead = 120, priority = 0
Jan 1 00:30:40.191 mpls/te/pcestateful 0/0/CPU0 t10 :5390: (PCE T)
Enqueued Report to 192.168.1.2 - LSP: Symbolic name: PLSP-ID: 0 SRP-ID: 0
Jan 1 00:30:40.191 mpls/te/pcestateful 0/0/CPU0 t10 :5348: (PCE T)
StateSync to 192.168.1.2 - batch of 1 LSPs (size 8)
Jan 1 00:30:40.191 mpls/te/pcectrl 0/0/CPU0 t10 TCP:3799: (PCE T) Process
OPEN from 192.168.1.2 ka = 30 dead = 120
Jan 1 00:30:40.191 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from Keep Wait to Up
Jan 1 00:30:40.191 mpls/te/pcectrl 0/0/CPU0 t10 TCP:12425: (PCE T)
Enqueue Report msg to 192.168.1.2 (size 12)
Jan 1 00:32:37.913 mpls/te/pceerror 0/0/CPU0 t10 :8946: SR-ERO received
without SR capability
Jan 1 00:32:37.913 mpls/te/pcectrl 0/0/CPU0 t10 TCP:9676: (PCE T)
Enqueued Error to 192.168.1.2: Type: 4 Value: 2
RP/0/0/CPU0:P1#
…On Sun, Dec 31, 2017 at 2:59 PM, nikmon2 ***@***.***> wrote:
Issue#4: When I tried to set up the new path and deploy it using Pathman
SR I got the following error:
3586 2017-12-31 18:21:51.522 UTC root:createSRtunnel INFO: Create SR Tunnel response: {u'output': {u'failure': u'failed', u'error': [{u'error-object': {u'ignore': False, u'processing-rule': False, u'type' : 4, u'value': 2}}]}}
3586 2017-12-31 18:21:53.526 UTC root:post INFO: {"response": [{"cause": {"failure": "failed", "error": [{"error-object": {"ignore": false, "processing-rule": false, "type": 4, "value": 2}}]}, "option": "create", "success": false}]}
A:
4/2 means that your device cannot do SR. from https://tools.ietf.org/html/
rfc5440
Error-Type=3 or Error-Type=4: if a PCEP message is received that
carries a PCEP object (with the P flag set) not recognized by the
PCE or recognized but not supported, then the PCE MUST send a
PCErr message with a PCEP-ERROR object (Error-Type=3 and 4,
respectively). In addition, the PCE MAY include in the PCErr
message the unknown or not supported object. The corresponding
path computation request MUST be cancelled by the PCE without
further notification.
You can get more information from your router with:
show mpls traffic-eng pce trace last 20
This is likely related to issue 1.
Cheers,
Niklas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmci3Ds2u5k-qWSYlGQYE1Bb7U2kVks5tF_XJgaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
Hi Jose, There is still something wrong with your router 2.2.2.2. The below means that is not SR capable.
Here is a checklist:
Here is an example OSPF config I used.
|
Hey Nik
I can't seem to find the command "show segment-routing traffic-eng ipv4 top"
RP/0/0/CPU0:RT1#show segment-routing ?
mapping-server Mapping Server
RP/0/0/CPU0:RT1#show segment-routing
% Incomplete command.
RP/0/0/CPU0:RT1#
Which version of XR are you using? XRv don't support it?
…On Mon, Jan 1, 2018 at 1:50 PM, nikmon2 ***@***.***> wrote:
Hi Jose,
There is still something wrong with your router 2.2.2.2. The below means
that is not SR capable.
Jan 1 00:32:37.913 mpls/te/pceerror 0/0/CPU0 t10 :8946: SR-ERO received without SR capability
Jan 1 00:32:37.913 mpls/te/pcectrl 0/0/CPU0 t10 TCP:9676: (PCE T) Enqueued Error to 192.168.1.2: Type: 4 Value: 2
Here is a checklist:
1. Verify that the all have their PCEP sessions up. (only required for
headend)
show mpls traffic-eng peer
1.
Make sure ODL can ping all loopbacks (pce addresses used)
2.
Verify that al nodes are SR enabled by issuing the following command:
RP/0/0/CPU0:sjc#show segment-routing traffic-eng ipv4 top
Mon Jan 1 19:46:58.959 UTC
SR-TE topology database:
------------------------
Node 1
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Prefix SID:
Prefix 198.19.1.21, label 16021 (regular)
Link[0]: local address 44.0.0.21, remote address 44.0.0.24
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 45.0.0.21, remote address 45.0.0.27
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[2]: local address 46.0.0.21, remote address 46.0.0.30
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24007 (unprotected)
Link[3]: local address 58.0.0.21, remote address 58.0.0.22
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 2
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Prefix SID:
Prefix 198.19.1.22, label 16022 (regular)
Link[0]: local address 48.0.0.22, remote address 48.0.0.27
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 49.0.0.22, remote address 49.0.0.30
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[2]: local address 58.0.0.22, remote address 58.0.0.21
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24001 (unprotected)
Node 3
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Prefix SID:
Prefix 198.19.1.24, label 16024 (regular)
Link[0]: local address 44.0.0.24, remote address 44.0.0.21
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 51.0.0.24, remote address 51.0.0.28
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[2]: local address 57.0.0.24, remote address 57.0.0.30
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24005 (unprotected)
Node 4
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Prefix SID:
Prefix 198.19.1.27, label 16027 (regular)
Link[0]: local address 45.0.0.27, remote address 45.0.0.21
Local node:
ISIS system ID: 0000.0000.0027 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 48.0.0.27, remote address 48.0.0.22
Local node:
ISIS system ID: 0000.0000.0027 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Node 5
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Prefix SID:
Prefix 198.19.1.30, label 16030 (regular)
Link[0]: local address 46.0.0.30, remote address 46.0.0.21
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24009 (unprotected)
Link[1]: local address 49.0.0.30, remote address 49.0.0.22
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24007 (unprotected)
Link[2]: local address 55.0.0.30, remote address 55.0.0.28
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[3]: local address 56.0.0.30, remote address 56.0.0.29
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[4]: local address 57.0.0.30, remote address 57.0.0.24
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 6
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Prefix SID:
Prefix 198.19.1.28, label 16028 (regular)
Link[0]: local address 51.0.0.28, remote address 51.0.0.24
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 53.0.0.28, remote address 53.0.0.26
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[2]: local address 55.0.0.28, remote address 55.0.0.30
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Node 7
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Prefix SID:
Prefix 198.19.1.26, label 16026 (regular)
Link[0]: local address 53.0.0.26, remote address 53.0.0.28
Local node:
ISIS system ID: 0000.0000.0026 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 54.0.0.26, remote address 54.0.0.29
Local node:
ISIS system ID: 0000.0000.0026 level-2
Remote node:
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 8
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Prefix SID:
Prefix 198.19.1.29, label 16029 (regular)
Link[0]: local address 54.0.0.29, remote address 54.0.0.26
Local node:
ISIS system ID: 0000.0000.0029 level-2
Remote node:
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 56.0.0.29, remote address 56.0.0.30
Local node:
ISIS system ID: 0000.0000.0029 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
RP/0/0/CPU0:sjc#
Here is an example OSPF config I used.
I notice that you are missing the *forwarding* command.
!
ospf name-lookup
router ospf pce
router-id 198.19.1.21
area 0
segment-routing forwarding mpls
mpls traffic-eng
segment-routing mpls
interface Loopback0
prefix-sid absolute 16021
cost 1
passive enable
!
interface GigabitEthernet0/0/0/0
cost 10
network point-to-point
!
interface GigabitEthernet0/0/0/1
cost 10
network point-to-point
!
interface GigabitEthernet0/0/0/2
cost 10
network point-to-point
!
!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmZNRm_oWldIxkbRM9CGV6wj5Ma4Gks5tGTb8gaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
I'm using 6.2.1, and it's available in 6.4.1. Cheers,
|
Hi Nik,
So I went for a new topology, a bit simpler, just 3 routers, RT1, RT2, RT3,
full mesh between them, and RT2 directly connected to the VM with
ODL/Pathman-SR. I also tried the command "segment-routing forwarding mpls"
under OSPF. All routers have their PCEP session up:
RP/0/0/CPU0:RT1#sh mpls traffic-eng pce peer
Mon Jan 1 22:24:38.542 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
RP/0/0/CPU0:RT2#sh mpls traffic-eng pce peer
Mon Jan 1 22:24:56.526 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
RP/0/0/CPU0:RT3#sh mpls traffic-eng pce peer
Mon Jan 1 22:25:14.638 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
ODL can ping indeed all loopbacks:
jjimbo@ubuntu:~$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=254 time=4.02 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=254 time=5.61 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=254 time=5.46 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=254 time=6.59 ms
64 bytes from 1.1.1.1: icmp_seq=5 ttl=254 time=3.02 ms
^C
--- 1.1.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 3.029/4.944/6.591/1.263 ms
jjimbo@ubuntu:~$ ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2) 56(84) bytes of data.
64 bytes from 2.2.2.2: icmp_seq=1 ttl=255 time=2.25 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=255 time=2.62 ms
64 bytes from 2.2.2.2: icmp_seq=3 ttl=255 time=2.39 ms
64 bytes from 2.2.2.2: icmp_seq=4 ttl=255 time=2.45 ms
64 bytes from 2.2.2.2: icmp_seq=5 ttl=255 time=2.85 ms
^C
--- 2.2.2.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 2.257/2.517/2.857/0.208 ms
jjimbo@ubuntu:~$ ping 3.3.3.3
PING 3.3.3.3 (3.3.3.3) 56(84) bytes of data.
64 bytes from 3.3.3.3: icmp_seq=1 ttl=254 time=4.22 ms
64 bytes from 3.3.3.3: icmp_seq=2 ttl=254 time=5.25 ms
64 bytes from 3.3.3.3: icmp_seq=3 ttl=254 time=5.73 ms
64 bytes from 3.3.3.3: icmp_seq=4 ttl=254 time=6.73 ms
64 bytes from 3.3.3.3: icmp_seq=5 ttl=254 time=6.05 ms
^C
--- 3.3.3.3 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 4.226/5.599/6.737/0.843 ms
All nodes are SR enabled, I verified this with "show mpls forwarding"
RP/0/0/CPU0:RT1#sh mpls forwarding
Mon Jan 1 22:27:26.211 UTC
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface
Switched
------ ----------- ------------------ ------------ ---------------
------------
16020 Pop SR Pfx (idx 20) Gi0/0/0/1 10.10.12.2 616
16030 Pop SR Pfx (idx 30) Gi0/0/0/0 10.10.13.3 0
24000 Pop SR Adj (idx 0) Gi0/0/0/0 10.10.13.3 0
24001 Pop SR Adj (idx 0) Gi0/0/0/0 10.10.13.3 0
24002 Pop SR Adj (idx 0) Gi0/0/0/1 10.10.12.2 0
24003 Pop SR Adj (idx 0) Gi0/0/0/1 10.10.12.2 0
24004 Pop No ID tt13 point2point 0
24006 Pop 3.3.3.3/32 tt13 3.3.3.3 0
RP/0/0/CPU0:RT2#sh mpls traffic-eng pce peer
Mon Jan 1 22:24:56.526 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
RP/0/0/CPU0:RT2#
RP/0/0/CPU0:RT2#sh mpls forwarding
Mon Jan 1 22:27:46.185 UTC
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface
Switched
------ ----------- ------------------ ------------ ---------------
------------
16010 Pop SR Pfx (idx 10) Gi0/0/0/1 10.10.12.1 9660
16030 Pop SR Pfx (idx 30) Gi0/0/0/2 10.10.23.3 46970
24000 Pop SR Adj (idx 0) Gi0/0/0/1 10.10.12.1 0
24001 Pop SR Adj (idx 0) Gi0/0/0/1 10.10.12.1 0
24002 Pop SR Adj (idx 0) Gi0/0/0/2 10.10.23.3 0
24003 Pop SR Adj (idx 0) Gi0/0/0/2 10.10.23.3 0
RP/0/0/CPU0:RT3#sh mpls traffic-eng pce peer
Mon Jan 1 22:25:14.638 UTC
Address Precedence State Learned From
--------------- ------------ ------------ --------------------
192.168.1.2 255 Up Static config
RP/0/0/CPU0:RT3#
RP/0/0/CPU0:RT3#sh mpls forwarding
Mon Jan 1 22:28:14.136 UTC
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface
Switched
------ ----------- ------------------ ------------ ---------------
------------
16010 Pop SR Pfx (idx 10) Gi0/0/0/0 10.10.13.1 0
16020 Pop SR Pfx (idx 20) Gi0/0/0/2 10.10.23.2 0
24000 Pop SR Adj (idx 0) Gi0/0/0/0 10.10.13.1 0
24001 Pop SR Adj (idx 0) Gi0/0/0/0 10.10.13.1 0
24002 Pop SR Adj (idx 0) Gi0/0/0/2 10.10.23.2 0
24003 Pop SR Adj (idx 0) Gi0/0/0/2 10.10.23.2 0
Crosschecking with your output, I notice that my SR adjs don't have an
index value, weird.
I tried to deploy a new path with this new setup with no luck, RT2, the one
directly connected to the VM, doesn't have SR/PCEP enabled according to
Pathman-SR output.
This is the new output from RT1:
Jan 1 22:08:40.888 mpls/te/pcectrl 0/0/CPU0 t10 TCP:521: (PCE T)
Transitioning to PCE_STATE_OPEN_WAIT, peer 192.168.1.2
Jan 1 22:08:40.888 mpls/te/pcectrl 0/0/CPU0 t10 TCP:10137: (PCE T)
Enqueue OPEN msg to 192.168.1.2, ka = 30 dead = 120, priority = 0
Jan 1 22:08:40.898 mpls/te/pceerror 0/0/CPU0 t10 :1415: Wait for next
input event for peer 192.168.1.2
Jan 1 22:08:41.228 mpls/te/pcectrl 0/0/CPU0 t10 TCP:3799: (PCE T) Process
OPEN from 192.168.1.2 ka = 30 dead = 120
Jan 1 22:08:41.238 mpls/te/pcestateful 0/0/CPU0 t10 :5390: (PCE T)
Enqueued Report to 192.168.1.2 - LSP: Symbolic name: PLSP-ID: 0 SRP-ID: 0
Jan 1 22:08:41.238 mpls/te/pcestateful 0/0/CPU0 t10 :5348: (PCE T)
StateSync to 192.168.1.2 - batch of 1 LSPs (size 8)
Jan 1 22:08:41.238 mpls/te/pcectrl 0/0/CPU0 t10 TCP:1284: (PCE T) Peer
(192.168.1.2 Speaker entity ID: Not set) state changed from Keep Wait to Up
Jan 1 22:08:41.238 mpls/te/pcectrl 0/0/CPU0 t10 TCP:12425: (PCE T)
Enqueue Report msg to 192.168.1.2 (size 12)
Jan 1 22:18:16.958 mpls/te/pceerror 0/0/CPU0 t10 :8946: SR-ERO received
without SR capability
Jan 1 22:18:16.958 mpls/te/pcectrl 0/0/CPU0 t10 TCP:9676: (PCE T)
Enqueued Error to 192.168.1.2: Type: 4 Value: 2
This is the new output from pathman.log:
33993 2018-01-01 22:21:25.603 UTC root:pseudo_net_build INFO: []
33993 2018-01-01 22:21:25.623 UTC root:_get_url INFO: status code: 200
33993 2018-01-01 22:21:25.624 UTC root:node_sr_update INFO: SR sid updated
for: 16843009 from bgp
33993 2018-01-01 22:21:25.624 UTC root:node_sr_update ERROR: No BGP SID
for: 33686018
33993 2018-01-01 22:21:25.624 UTC root:node_sr_update INFO: SR sid updated
for: 50529027 from bgp
33993 2018-01-01 22:21:25.625 UTC root:topoCheck INFO: Nodes not in
topo_data.py: set([u'50529027', u'16843009', u'33686018'])
33993 2018-01-01 22:21:25.625 UTC root:topoCheck INFO: Nodes not used:
set(['sjc', 'bos', 'san', 'WA', 'DE', 'por', 'ME', 'WI', 'WV', 'HI', 'sea',
'FL', 'dxb', 'WY', 'NH', 'KS', 'NJ', 'NM', 'TX', 'LA',
'mia', 'chi', 'NC', 'ND', 'NE', 'sfc', 'TN', 'NY', 'PA', 'arn', 'nyc',
'MO', 'CT', 'sin', 'NV', 'VA', 'CO', 'alb', 'CA', 'AL', 'hst', 'AR', 'VT',
'IL', 'GA', 'IN', 'IA', 'MA', 'AZ', 'kcy', 'ID', 'nrt', '
jfk', 'MD', 'wdc', 'OK', 'dme', 'OH', 'UT', 'atl', 'MN', 'MI', 'RI', 'AK',
'MT', 'mvd', 'min', 'MS', 'SC', 'lax', 'KY', 'OR', 'SD'])
33993 2018-01-01 22:21:25.626 UTC root:topoCheck INFO: node: {'y':
547.632538305046, 'name': 'sjc', 'x': -558.254079540255, 'latitude':
36.137242513163, 'type': 'transit', 'ipaddress': 'df2a::10', 'sit
e': 'sjc', 'longitude': -120.754451723841, 'icon': 'router'}
33993 2018-01-01 22:21:25.626 UTC root:topoCheck INFO: node: {'y':
378.785947351863, 'name': 'bos', 'x': 1341.94009483763, 'latitude':
42.3584, 'type': 'transit', 'ipaddress': 'df2a::0f', 'site': 'bos'
, 'longitude': -71.0598, 'icon': 'router'}
33993 2018-01-01 22:21:25.626 UTC root:topoCheck INFO: node: {'y':
1180.13722822491, 'name': 'san', 'x': -400.12790706029, 'latitude':
32.7153, 'type': 'transit', 'ipaddress': 'df2a::0e', 'site': 'san'
, 'longitude': -117.157, 'icon': 'router'}
33993 2018-01-01 22:21:25.626 UTC root:getTopo INFO: Topo build with 2
nodes
33993 2018-01-01 22:21:25.626 UTC root:post INFO: {"response":
[{"option": "topo", "success": true, "topology": {"nodes": [{"site":
"16843009", "y": 378.785947351863, "prefix": ["1.1.1.1/32", "10.
10.12.0/24", "10.10.13.0/24"], "sr_enabled": true, "pcep_enabled": true,
"ipaddress": "1.1.1.1", "icon": "router", "x": 1341.94009483763, "name":
"16843009", "longitude": -71.0598, "sid": 16010, "latitude
": 42.3584, "pcc": "pcc://1.1.1.1", "type": "transit"}, {"site":
"33686018", "y": 1180.13722822491, "prefix": ["10.10.12.0/24", "
10.10.23.0/24", "192.168.1.0/30", "2.2.2.2/32"], "sr_enabled": false, "pcep
_enabled": false, "ipaddress": "", "icon": "router", "x": -400.12790706029,
"name": "33686018", "longitude": -117.157, "sid": "", "latitude": 32.7153,
"pcc": "", "type": "transit"}, {"site": "50529027", "
y": 547.632538305046, "prefix": ["10.10.13.0/24", "10.10.23.0/24", "
3.3.3.3/32"], "sr_enabled": true, "pcep_enabled": true, "ipaddress":
"3.3.3.3", "icon": "router", "x": -558.254079540255, "name": "50529
027", "longitude": -120.754451723841, "sid": 16030, "latitude":
36.137242513163, "pcc": "pcc://3.3.3.3", "type": "transit"}], "links":
[{"source": "50529027", "metric": {"te": {"rx": 1, "tx": 1}, "igp": {
"rx": 1, "tx": 1}}, "target": "16843009"}, {"source": "50529027", "metric":
{"igp": {"rx": 1, "tx": 1}}, "target": "33686018"}, {"source": "16843009",
"metric": {"igp": {"rx": 1, "tx": 1}}, "target": "336
86018"}]}}]}
33993 2018-01-01 22:21:25.636 UTC root:initialize INFO: Init 2 done -
debug saved
33993 2018-01-01 22:21:25.636 UTC root:rest_interface_parser INFO: Commands
Relieved: {u'option': u'list_all'}
33993 2018-01-01 22:21:25.646 UTC root:get_url INFO: Url get Status:
200
33993 2018-01-01 22:21:25.647 UTC root:listAllLsp INFO: list: [],
formatted: []
33993 2018-01-01 22:21:25.647 UTC root:post INFO: {"response":
[{"list": [], "option": "list_all", "success": true}]}
33993 2018-01-01 22:22:07.391 UTC root:initialize INFO: Init 2 done -
debug saved
33993 2018-01-01 22:22:07.391 UTC root:rest_interface_parser INFO: Commands
Relieved: {u'src': u'16843009', u'dst': u'50529027', u'option': u'path',
u'metric': u'igp'}
33993 2018-01-01 22:22:07.392 UTC root:post INFO: {"response":
[{"path": [["16843009", "50529027"]], "metric": [1], "option": "path",
"success": true}]}
33993 2018-01-01 22:22:10.496 UTC root:initialize INFO: Init 2 done -
debug saved
33993 2018-01-01 22:22:10.496 UTC root:rest_interface_parser INFO: Commands
Relieved: {u'path': [u'16843009', u'50529027'], u'option': u'create',
u'name': u'16843009 -> 50529027'}
33993 2018-01-01 22:22:10.496 UTC root:get_loop_list INFO: Path:
[u'16843009', u'50529027']
33993 2018-01-01 22:22:10.497 UTC root:get_loop_list INFO: Loop list:
[u'3.3.3.3']
33993 2018-01-01 22:22:10.497 UTC root:get_sid_list INFO: Path:
[u'16843009', u'50529027']
33993 2018-01-01 22:22:10.497 UTC root:get_sid_list INFO: SID list: [16030]
33993 2018-01-01 22:22:10.814 UTC root:createSRtunnel INFO: Create SR
Tunnel response: {u'output': {u'failure': u'failed', u'error':
[{u'error-object': {u'ignore': False, u'processing-rule': False, u'type
': 4, u'value': 2}}]}}
33993 2018-01-01 22:22:12.815 UTC root:post INFO: {"response":
[{"cause": {"failure": "failed", "error": [{"error-object": {"ignore":
false, "processing-rule": false, "type": 4, "value": 2}}]}, "o
ption": "create", "success": false}]}
33993 2018-01-01 22:22:12.836 UTC root:initialize INFO: Init 2 done -
debug saved
33993 2018-01-01 22:22:12.837 UTC root:rest_interface_parser INFO: Commands
Relieved: {u'option': u'list_all'}
33993 2018-01-01 22:22:12.863 UTC root:get_url INFO: Url get Status:
200
33993 2018-01-01 22:22:12.863 UTC root:listAllLsp INFO: list: [],
formatted: []
33993 2018-01-01 22:22:12.863 UTC root:post INFO: {"response":
[{"list": [], "option": "list_all", "success": true}]}
This is the new config for RT2, the router directly connected to the VM
with ODL/Pathman SR. I don't know if there is a misconfig somewhere here
'cause this is the router that's causing the issue.
RP/0/0/CPU0:RT2#sh run
Mon Jan 1 22:38:39.350 UTC
Building configuration...
!! IOS XR Configuration 6.1.3
!! Last configuration change at Mon Jan 1 21:56:01 2018 by cisco
!
hostname RT2
logging console debugging
ipv4 unnumbered mpls traffic-eng Loopback0
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 192.168.1.1 255.255.255.252
!
interface GigabitEthernet0/0/0/1
ipv4 address 10.10.12.2 255.255.255.0
!
interface GigabitEthernet0/0/0/2
ipv4 address 10.10.23.2 255.255.255.0
!
prefix-set CON
192.168.1.0/30
end-set
!
route-policy CON
if destination in CON then
pass
endif
end-policy
!
router ospf 1
distribute bgp-ls
router-id 2.2.2.2
segment-routing mpls
segment-routing forwarding mpls
redistribute connected route-policy CON
area 0
mpls traffic-eng
interface Loopback0
passive enable
prefix-sid index 20
!
interface GigabitEthernet0/0/0/1
network point-to-point
!
interface GigabitEthernet0/0/0/2
network point-to-point
!
!
mpls traffic-eng router-id 2.2.2.2
!
router bgp 1
bgp router-id 2.2.2.2
address-family ipv4 unicast
!
address-family link-state link-state
!
neighbor 192.168.1.2
remote-as 1
update-source GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
address-family link-state link-state
!
!
!
mpls traffic-eng
pce
peer source ipv4 2.2.2.2
peer ipv4 192.168.1.2
!
segment-routing
logging events peer-status
stateful-client
instantiation
cisco-extension
report
fast-repair
!
!
!
segment-routing
!
end
I'm using XRv version 6.1.3 btw. Have you tried it with that version?
RP/0/0/CPU0:RT2#sh version brief
Mon Jan 1 22:39:23.677 UTC
Cisco IOS XR Software, Version 6.1.3[Default]
Copyright (c) 2017 by Cisco Systems, Inc.
ROM: GRUB, Version 1.99(0), DEV RELEASE
RT2 uptime is 1 hour, 43 minutes
System image file is "bootflash:disk0/xrvr-os-mbi-6.1.3/mbixrvr-rp.vm"
cisco IOS XRv Series (Pentium Celeron Stepping 3) processor with 3145215K
bytes of memory.
Pentium Celeron Stepping 3 processor at 2741MHz, Revision 2.174
IOS XRv Chassis
1 Management Ethernet
3 GigabitEthernet
97070k bytes of non-volatile configuration memory.
866M bytes of hard disk.
2321392k bytes of disk0: (Sector size 512 bytes).
I'm attaching also the PCEP-topology and the link-state-topology.
Thanks a lot man.
…On Mon, Jan 1, 2018 at 1:50 PM, nikmon2 ***@***.***> wrote:
Hi Jose,
There is still something wrong with your router 2.2.2.2. The below means
that is not SR capable.
Jan 1 00:32:37.913 mpls/te/pceerror 0/0/CPU0 t10 :8946: SR-ERO received without SR capability
Jan 1 00:32:37.913 mpls/te/pcectrl 0/0/CPU0 t10 TCP:9676: (PCE T) Enqueued Error to 192.168.1.2: Type: 4 Value: 2
Here is a checklist:
1. Verify that the all have their PCEP sessions up. (only required for
headend)
show mpls traffic-eng peer
1.
Make sure ODL can ping all loopbacks (pce addresses used)
2.
Verify that al nodes are SR enabled by issuing the following command:
RP/0/0/CPU0:sjc#show segment-routing traffic-eng ipv4 top
Mon Jan 1 19:46:58.959 UTC
SR-TE topology database:
------------------------
Node 1
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Prefix SID:
Prefix 198.19.1.21, label 16021 (regular)
Link[0]: local address 44.0.0.21, remote address 44.0.0.24
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 45.0.0.21, remote address 45.0.0.27
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[2]: local address 46.0.0.21, remote address 46.0.0.30
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24007 (unprotected)
Link[3]: local address 58.0.0.21, remote address 58.0.0.22
Local node:
ISIS system ID: 0000.0000.0021 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 2
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Prefix SID:
Prefix 198.19.1.22, label 16022 (regular)
Link[0]: local address 48.0.0.22, remote address 48.0.0.27
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 49.0.0.22, remote address 49.0.0.30
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[2]: local address 58.0.0.22, remote address 58.0.0.21
Local node:
ISIS system ID: 0000.0000.0022 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24001 (unprotected)
Node 3
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Prefix SID:
Prefix 198.19.1.24, label 16024 (regular)
Link[0]: local address 44.0.0.24, remote address 44.0.0.21
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 51.0.0.24, remote address 51.0.0.28
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[2]: local address 57.0.0.24, remote address 57.0.0.30
Local node:
ISIS system ID: 0000.0000.0024 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24005 (unprotected)
Node 4
TE router ID: 198.19.1.27
Host name: san
ISIS system ID: 0000.0000.0027 level-2
Prefix SID:
Prefix 198.19.1.27, label 16027 (regular)
Link[0]: local address 45.0.0.27, remote address 45.0.0.21
Local node:
ISIS system ID: 0000.0000.0027 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 48.0.0.27, remote address 48.0.0.22
Local node:
ISIS system ID: 0000.0000.0027 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Node 5
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Prefix SID:
Prefix 198.19.1.30, label 16030 (regular)
Link[0]: local address 46.0.0.30, remote address 46.0.0.21
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.21
Host name: kcy
ISIS system ID: 0000.0000.0021 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24009 (unprotected)
Link[1]: local address 49.0.0.30, remote address 49.0.0.22
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.22
Host name: lax
ISIS system ID: 0000.0000.0022 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24007 (unprotected)
Link[2]: local address 55.0.0.30, remote address 55.0.0.28
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[3]: local address 56.0.0.30, remote address 56.0.0.29
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Link[4]: local address 57.0.0.30, remote address 57.0.0.24
Local node:
ISIS system ID: 0000.0000.0030 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 125000000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 6
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Prefix SID:
Prefix 198.19.1.28, label 16028 (regular)
Link[0]: local address 51.0.0.28, remote address 51.0.0.24
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.24
Host name: min
ISIS system ID: 0000.0000.0024 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Link[1]: local address 53.0.0.28, remote address 53.0.0.26
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[2]: local address 55.0.0.28, remote address 55.0.0.30
Local node:
ISIS system ID: 0000.0000.0028 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24005 (unprotected)
Node 7
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Prefix SID:
Prefix 198.19.1.26, label 16026 (regular)
Link[0]: local address 53.0.0.26, remote address 53.0.0.28
Local node:
ISIS system ID: 0000.0000.0026 level-2
Remote node:
TE router ID: 198.19.1.28
Host name: sea
ISIS system ID: 0000.0000.0028 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 54.0.0.26, remote address 54.0.0.29
Local node:
ISIS system ID: 0000.0000.0026 level-2
Remote node:
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
Node 8
TE router ID: 198.19.1.29
Host name: sfc
ISIS system ID: 0000.0000.0029 level-2
Prefix SID:
Prefix 198.19.1.29, label 16029 (regular)
Link[0]: local address 54.0.0.29, remote address 54.0.0.26
Local node:
ISIS system ID: 0000.0000.0029 level-2
Remote node:
TE router ID: 198.19.1.26
Host name: por
ISIS system ID: 0000.0000.0026 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24001 (unprotected)
Link[1]: local address 56.0.0.29, remote address 56.0.0.30
Local node:
ISIS system ID: 0000.0000.0029 level-2
Remote node:
TE router ID: 198.19.1.30
Host name: sjc
ISIS system ID: 0000.0000.0030 level-2
Metric: IGP 10, TE 10
Bandwidth: Total link 1250000, Reservable 12500
Adj SID: 24003 (unprotected)
RP/0/0/CPU0:sjc#
Here is an example OSPF config I used.
I notice that you are missing the *forwarding* command.
!
ospf name-lookup
router ospf pce
router-id 198.19.1.21
area 0
segment-routing forwarding mpls
mpls traffic-eng
segment-routing mpls
interface Loopback0
prefix-sid absolute 16021
cost 1
passive enable
!
interface GigabitEthernet0/0/0/0
cost 10
network point-to-point
!
interface GigabitEthernet0/0/0/1
cost 10
network point-to-point
!
interface GigabitEthernet0/0/0/2
cost 10
network point-to-point
!
!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXgmZNRm_oWldIxkbRM9CGV6wj5Ma4Gks5tGTb8gaJpZM4RP6iM>
.
--
José Jimbo Salazar, Ing.
Senior Network Consultant
JNCIP-DC, JNCIP-SP, JNCIP-ENT, CCIEx2 #39438 R&S/SP
Cell Phone: +502-54119403
Skype: jose.luis.jimbo.salazar
https://www.linkedin.com/pub/jose-luis-jimbo-salazar/74/580/a34
-
|
Hi Jose, I have not used 6.1.3, but I have seen pcep issues w 6.1.1, so you may be better served with a 6.2 image. If you are using VIRL w XRv, then you may want to add this command to your configuration:
As you have SR enabled and the router complains that is not, this looks like an XR issue to me. Below is a full config example for OSPF.
Cheers,
|
Hey there, So I tried 6.5.1 version, a bit buggy but now I get a different error: Jan 14 21:17:51.320 mpls/te/pceerror 0/0/CPU0 t11 :1778: Unknown ERO type 5! I think I read somewhere it has to do with the address of the tunnel, I added this config: RP/0/0/CPU0:P1#sh run but no luck so far I'm gonna try a 6.2.x version this week but I don't think it has something to do with the IOS version. |
Hi everyone, I am facing the same issue. When I am deploying a path via pathman sr the following error pops up "Response indicated the error in frontend-backend communication. " Following are the logs that appear when i try to deploy the path via pathman. 432 2018-05-05 03:07:49.460 UTC root:initialize INFO: Init 2 done - debug saved Any help in this regard is highly appreciated. |
Hey there,
For a project @work I had to set up a simple topology to demonstrate the advantages of using SR over LDP/RSVP. So reading around I found this Pathman SR app that lets you configure dynamically SR paths over your MPLS network. So I set up a small topology, 4 XRv in EVE-NG, set up a new ubuntu VM with ODL and on top Pathman SR.
I think it went ok, but there a few things that I'm still struggling at and wanted to know if you guys can be of any help.
So, first of all, like I said, I have 4 XRv routers, but, only 3 of them are recognized as SR ready/PCEP ready and one of them is not. This is the log for that:
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update INFO: SR sid updated for: 67372036 from bgp
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update INFO: SR sid updated for: 16843009 from bgp
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update ERROR: No BGP SID for: 33686018
3586 2017-12-31 18:02:50.116 UTC root:node_sr_update INFO: SR sid updated for: 50529027 from bgp
it seems the issue has to do with something called "termination-point" but it's weird cause thats actually the node that is directly connected to the VM with ODL/Pathman SR
3586 2017-12-31 18:03:18.712 UTC root:add_node INFO: New node: Node(name=u'67372036', id=u'67372036', loopback=u'4.4.4.4', portlist=[u'10.10.24.4', u'10.10.34.4'], pcc=u'pcc://4.4.4.4', pcep_type='07'
, prefix=[u'10.10.24.0/24', u'10.10.34.0/24', u'4.4.4.4/32'], sid='')
3586 2017-12-31 18:03:18.930 UTC root:add_node INFO: New node: Node(name=u'16843009', id=u'16843009', loopback=u'1.1.1.1', portlist=[u'10.10.12.1', u'10.10.13.1'], pcc=u'pcc://1.1.1.1', pcep_type='07'
, prefix=[u'1.1.1.1/32', u'10.10.12.0/24', u'10.10.13.0/24'], sid='')
3586 2017-12-31 18:03:18.931 UTC root:node_structure ERROR: Node 33686018 is missing 'termination-point'
3586 2017-12-31 18:03:18.931 UTC root:add_node INFO: New node: Node(name=u'33686018', id=u'33686018', loopback='', portlist=[], pcc='', pcep_type='', prefix=[u'10.10.12.0/24', u'10.10.23.0/24', u'10.1
0.24.0/24', u'192.168.1.0/30'], sid='')
3586 2017-12-31 18:03:19.137 UTC root:add_node INFO: Updated node: Node(name=u'33686018', id=u'33686018', loopback='', portlist=[u'10.10.12.2', u'10.10.23.2', u'10.10.24.2'], pcc='', pcep_type='', pre
fix=[u'10.10.12.0/24', u'10.10.23.0/24', u'10.10.24.0/24', u'192.168.1.0/30', u'2.2.2.2/32'], sid='')
3586 2017-12-31 18:03:19.335 UTC root:add_node INFO: New node: Node(name=u'50529027', id=u'50529027', loopback=u'3.3.3.3', portlist=[u'10.10.13.3', u'10.10.23.3', u'10.10.34.3'], pcc=u'pcc://3.3.3.3',
pcep_type='07', prefix=[u'10.10.13.0/24', u'10.10.23.0/24', u'10.10.34.0/24', u'3.3.3.3/32'], sid='')
All XRv routers has the same config, something like this:
router ospf 1
distribute bgp-ls
router-id 2.2.2.2
segment-routing mpls
redistribute connected
area 0
mpls traffic-eng
segment-routing mpls
interface Loopback0
passive enable
prefix-sid index 2001
!
interface GigabitEthernet0/0/0/0
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
interface GigabitEthernet0/0/0/1
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
interface GigabitEthernet0/0/0/2
network point-to-point
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa enable
!
!
mpls traffic-eng router-id 2.2.2.2
!
router bgp 1
bgp router-id 2.2.2.2
address-family ipv4 unicast
!
address-family link-state link-state
!
neighbor 1.1.1.1
remote-as 1
update-source Loopback0
address-family ipv4 unicast
route-reflector-client
!
!
neighbor 3.3.3.3
remote-as 1
update-source Loopback0
address-family ipv4 unicast
!
!
neighbor 4.4.4.4
remote-as 1
update-source Loopback0
address-family ipv4 unicast
route-reflector-client
!
!
neighbor 192.168.1.2
remote-as 1
update-source GigabitEthernet0/0/0/3
address-family ipv4 unicast
route-reflector-client
!
address-family link-state link-state
route-reflector-client
!
!
!
mpls traffic-eng
pce
peer source ipv4 2.2.2.2
peer ipv4 192.168.1.2
!
segment-routing
logging events peer-status
stateful-client
instantiation
cisco-extension
!
!
auto-tunnel pcc
tunnel-id min 15 max 99
!
reoptimize timers delay installation 0
!
end
Issue#2: This is not a big deal but I think it has something to do with the other issues. Pathman SR can't get the XRv hostnames I assigned to them. It is assigning some weirds numbers. Its not actually an issue cause the topology is small but I'm guessing there is something wrong with my setup.
Issue#3:
I have configured a TE Tunnel with SR manually but it doesn't appear on Pathman SR
RP/0/0/CPU0:P1#sh mpls traffic-eng tunnels 14
Sun Dec 31 18:51:27.659 UTC
Name: tunnel-te14 Destination: 4.4.4.4 Ifhandle:0x90
Signalled-Name: P1_t14
Status:
Admin: up Oper: up Path: valid Signalling: connected
Config Parameters:
Bandwidth: 0 kbps (CT0) Priority: 7 7 Affinity: 0x0/0x0
Metric Type: TE (global)
Path Selection:
Tiebreaker: Min-fill (default)
Protection: any (default)
Hop-limit: disabled
Cost-limit: disabled
Path-invalidation timeout: 10000 msec (default), Action: Tear (default)
AutoRoute: enabled LockDown: disabled Policy class: not set
Forward class: 0 (default)
Forwarding-Adjacency: disabled
Autoroute Destinations: 0
Loadshare: 0 equal loadshares
Auto-bw: disabled
Path Protection: Not Enabled
BFD Fast Detection: Disabled
Reoptimization after affinity failure: Enabled
SRLG discovery: Disabled
History:
Tunnel has been up for: 01:31:31 (since Sun Dec 31 17:19:56 UTC 2017)
Current LSP:
Uptime: 01:31:26 (since Sun Dec 31 17:20:01 UTC 2017)
Prior LSP:
ID: 3 Path Option: 10
Removal Trigger: reoptimization completed
Segment-Routing Path Info (OSPF 1 area 0)
Segment0[Node]: 2.2.2.2, Label: 18001
Segment1[Node]: 3.3.3.3, Label: 19001
Segment2[Node]: 4.4.4.4, Label: 20001
Displayed 1 (of 1) heads, 0 (of 0) midpoints, 0 (of 0) tails
Displayed 1 up, 0 down, 0 recovering, 0 recovered heads
My question is, do all SR paths in the network appear on Pathman SR app or just the ones you configure using the app?
Issue#4: When I tried to set up the new path and deploy it using Pathman SR I got the following error:
3586 2017-12-31 18:20:24.461 UTC root:initialize INFO: Init 2 done - debug saved
3586 2017-12-31 18:20:24.461 UTC root:rest_interface_parser INFO: Commands Relieved: {u'option': u'list_all'}
3586 2017-12-31 18:20:24.468 UTC root:get_url INFO: Url get Status: 200
3586 2017-12-31 18:20:24.468 UTC root:listAllLsp INFO: list: [], formatted: []
3586 2017-12-31 18:20:24.469 UTC root:post INFO: {"response": [{"list": [], "option": "list_all", "success": true}]}
3586 2017-12-31 18:21:38.063 UTC root:initialize INFO: Init 2 done - debug saved
3586 2017-12-31 18:21:38.064 UTC root:rest_interface_parser INFO: Commands Relieved: {u'src': u'16843009', u'dst': u'67372036', u'option': u'path', u'metric': u'igp'}
3586 2017-12-31 18:21:38.064 UTC root:post INFO: {"response": [{"path": [["16843009", "50529027", "67372036"]], "metric": [2], "option": "path", "success": true}]}
3586 2017-12-31 18:21:50.909 UTC root:initialize INFO: Init 2 done - debug saved
3586 2017-12-31 18:21:50.911 UTC root:rest_interface_parser INFO: Commands Relieved: {u'path': [u'16843009', u'50529027', u'67372036'], u'option': u'create', u'name': u'TEST-PATHMAN'}
3586 2017-12-31 18:21:50.913 UTC root:get_loop_list INFO: Path: [u'16843009', u'50529027', u'67372036']
3586 2017-12-31 18:21:50.913 UTC root:get_loop_list INFO: Loop list: [u'3.3.3.3', u'4.4.4.4']
3586 2017-12-31 18:21:50.913 UTC root:get_sid_list INFO: Path: [u'16843009', u'50529027', u'67372036']
3586 2017-12-31 18:21:50.913 UTC root:get_sid_list INFO: SID list: [19001, 20001]
3586 2017-12-31 18:21:51.522 UTC root:createSRtunnel INFO: Create SR Tunnel response: {u'output': {u'failure': u'failed', u'error': [{u'error-object': {u'ignore': False, u'processing-rule': False, u'type'
: 4, u'value': 2}}]}}
3586 2017-12-31 18:21:53.526 UTC root:post INFO: {"response": [{"cause": {"failure": "failed", "error": [{"error-object": {"ignore": false, "processing-rule": false, "type": 4, "value": 2}}]}, "op
tion": "create", "success": false}]}
3586 2017-12-31 18:21:53.536 UTC root:initialize INFO: Init 2 done - debug saved
3586 2017-12-31 18:21:53.536 UTC root:rest_interface_parser INFO: Commands Relieved: {u'option': u'list_all'}
3586 2017-12-31 18:21:53.545 UTC root:get_url INFO: Url get Status: 200
3586 2017-12-31 18:21:53.545 UTC root:listAllLsp INFO: list: [], formatted: []
3586 2017-12-31 18:21:53.546 UTC root:post INFO: {"response": [{"list": [], "option": "list_all", "success": true}]}
Type 4 Value 2, what does it mean?
Well, I think all issues are connected somehow but I wanted to separate them so we can tackle them one by one.
Thanks a lot guys and by the way this is an amazing project!
Jose Jimbo
The text was updated successfully, but these errors were encountered: