cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
1
Replies

Invalid value "3406053898" in "p2mp-id" element. Path: '/Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-remote-briefs/tunnel-remote-brief

hariharan.a
Level 1
Level 1

Trying to use Cisco-IOS-XR-mpls-te-oper in a IOS-XR 6.1.2 router: getting the below error.  p2mp-id is defined as int32. The value '3406053898' exceeds int32 integer range.

YDK-cpp: 0.6.2

YANG Models Version: Cisco XR 6.1.2

IOS-XR Version: 6.1.2

[2017-11-13 17:46:30.394] [ydk] [error] Libyang ERROR: Invalid value "3406053898" in "p2mp-id" element. Path: '/Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-remote-briefs/tunnel-remote-brief[lsp-id='7'][tunnel-id='11'][extended-tunnel-id='10.66.4.202'][source-address='10.66.4.202'][ctype='ctype-ipv4-p2p-tunnel'][destination-address='10.66.4.203'][p2mp-id='3406053898']/p2mp-id'

terminate called after throwing an instance of 'ydk::YCPPModelError'

  what():  YCPPModelError: Invalid value "3406053898" in "p2mp-id" element. Path: /Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-remote-briefs/tunnel-remote-brief[lsp-id='7'][tunnel-id='11'][extended-tunnel-id='10.66.4.202'][source-address='10.66.4.202'][ctype='ctype-ipv4-p2p-tunnel'][destination-address='10.66.4.203'][p2mp-id='3406053898']/p2mp-id

Aborted

1 Accepted Solution

Accepted Solutions

lilyl2
Level 1
Level 1

Hi Hariharan,

Yes the p2mp-id element is defined as type int32, which has a range of between –2,147,483,648 and 2,147,483,647. Assigning it with a value of '3406053898' that is outside that range will indeed trigger the error you're seeing above.

View solution in original post

1 Reply 1

lilyl2
Level 1
Level 1

Hi Hariharan,

Yes the p2mp-id element is defined as type int32, which has a range of between –2,147,483,648 and 2,147,483,647. Assigning it with a value of '3406053898' that is outside that range will indeed trigger the error you're seeing above.