cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2551
Views
0
Helpful
12
Replies

sandbox - segment routing

kristina
Level 1
Level 1

I'm trying to configure SR on ios-xrv in VIRL - using OSPF, but get an error when I try to specify SIDs:

 

RP/0/0/CPU0:ios(config-ospf-ar)#prefix-sid index 1001
^
% Invalid input detected at '^' marker.
RP/0/0/CPU0:ios(config-ospf-ar)#prefix-sid absolute 17001
^
% Invalid input detected at '^' marker.
RP/0/0/CPU0:ios(config-ospf-ar)#

 

How do I move past this issue? Or, any useful docs to be pointed to for SR config for ospf, or is-is?

 

I tried deploying 5 ios-xrv nodes, only did config for ospf on one of the nodes:

I still cannot use the SID command.

VIRL topology from Maestro - attached image.

 
Tried configuration for iosxrv-1
I brought up the two interfaces:
  • interfaces gigabitEthernet 0/0/0/1 and 0/0/0/1
 
RP/0/0/CPU0:ios(config-if)#interface gigabitEthernet 0/0/0/0
RP/0/0/CPU0:ios(config-if)#ipv4 address 192.168.20.11/24
RP/0/0/CPU0:ios(config-if)#no shut
RP/0/0/CPU0:ios(config-if)#interface gigabitEthernet 0/0/0/1
RP/0/0/CPU0:ios(config-if)#ipv4 address 192.168.30.11/24 
RP/0/0/CPU0:ios(config-if)#no shut
RP/0/0/CPU0:ios(config-if)#commit
Wed Nov 27 19:13:58.558 UTC
RP/0/0/CPU0:Nov 27 19:13:58.578 : ifmgr[228]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/1, changed state to Down 
RP/0/0/CPU0:ios(config-if)#RP/0/0/CPU0:Nov 27 19:13:58.578 : ifmgr[228]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/0, changed state to Down 
RP/0/0/CPU0:Nov 27 19:13:58.608 : ifmgr[228]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/1, changed state to Up 
RP/0/0/CPU0:Nov 27 19:13:58.608 : ifmgr[228]: %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/0/0/0, changed state to Up 
 
 
RP/0/0/CPU0:ios(config-if)#exit
RP/0/0/CPU0:ios(config)#exit
 
RP/0/0/CPU0:ios#sh ip int br
Wed Nov 27 19:14:28.276 UTC
 
Interface                      IP-Address      Status          Protocol Vrf-Name
MgmtEth0/0/CPU0/0              unassigned      Shutdown        Down     default 
GigabitEthernet0/0/0/0         192.168.20.11   Up              Up       default 
GigabitEthernet0/0/0/1         192.168.30.11   Up              Up       default 
 
Next, I configured OSPF using:
 
RP/0/0/CPU0:ios#configure
Wed Nov 27 19:14:42.265 UTC
RP/0/0/CPU0:ios(config)#router ospf 0
RP/0/0/CPU0:ios(config-ospf)#router-id 192.168.10.1
RP/0/0/CPU0:ios(config-ospf)#area 0
RP/0/0/CPU0:ios(config-ospf-ar)#interface gigabitEthernet 0/0/0/0
RP/0/0/CPU0:ios(config-ospf-ar-if)#interface gigabitEthernet 0/0/0/1
RP/0/0/CPU0:ios(config-ospf-ar-if)#log adjacency changes detail
RP/0/0/CPU0:ios(config-ospf)#commit
Wed Nov 27 19:15:13.563 UTC
RP/0/0/CPU0:ios(config-ospf)#end
 
Worked fine:
 
RP/0/0/CPU0:ios#sh ip proto
Wed Nov 27 19:15:22.712 UTC
 
Routing Protocol OSPF 0
  Router Id: 192.168.10.1
  Distance: 110
  Non-Stop Forwarding: Disabled
  Redistribution:
    None
  Area 0
    GigabitEthernet0/0/0/0
    GigabitEthernet0/0/0/1
 
Next, I tried to do SR with OSPF using: 

But, it does not work - see below errors:
 
RP/0/0/CPU0:ios#configure
Wed Nov 27 19:15:31.322 UTC
RP/0/0/CPU0:ios(config)#router ospf 0
RP/0/0/CPU0:ios(config-ospf)#segment-routing mpls
RP/0/0/CPU0:ios(config-ospf)#area 0 
RP/0/0/CPU0:ios(config-ospf-ar)#mpls traffic-eng area 0
                                                 ^
% Invalid input detected at '^' marker.
RP/0/0/CPU0:ios(config-ospf-ar)#mpls traffic-eng ?
  <cr>  
 
Not sure what <cr> pertains to, 
Skipped to next command according to the conf. example:
 
RP/0/0/CPU0:ios(config-ospf-ar)#mpls traffic-eng router-id Loopback0
RP/0/0/CPU0:ios(config-ospf)#segment-routing mpls
RP/0/0/CPU0:ios(config-ospf)#area 0
RP/0/0/CPU0:ios(config-ospf-ar)#exit
RP/0/0/CPU0:ios(config-ospf)#exit
RP/0/0/CPU0:ios(config)#mpls traffic-eng
RP/0/0/CPU0:ios(config-mpls-te)#commit
Wed Nov 27 19:16:44.467 UTC
 
RP/0/0/CPU0:ios(config-mpls-te)#end
 
RP/0/0/CPU0:ios#sh ip proto
Wed Nov 27 19:16:56.126 UTC
 
Routing Protocol OSPF 0
  Router Id: 192.168.10.1
  Distance: 110
  Non-Stop Forwarding: Disabled
  Redistribution:
    None
  Area 0
    GigabitEthernet0/0/0/0
    GigabitEthernet0/0/0/1
 
RP/0/0/CPU0:ios#configure
Wed Nov 27 19:17:06.125 UTC
RP/0/0/CPU0:ios(config)#router ospf 0
RP/0/0/CPU0:ios(config-ospf)#area 0
RP/0/0/CPU0:ios(config-ospf-ar)#interface Loopback0 passive
RP/0/0/CPU0:ios(config-ospf-ar)#prefix-sid index 1001
                                        ^
% Invalid input detected at '^' marker.
RP/0/0/CPU0:ios(config-ospf-ar)#prefix-sid absolute 17001
                                        ^
% Invalid input detected at '^' marker.
 
Does not accept specifying SIDs, not sure if related to the previous command that failed (mpls traffic-eng area 0)
 
RP/0/0/CPU0:ios(config-ospf-ar)#commit
Wed Nov 27 19:17:34.733 UTC
RP/0/0/CPU0:ios(config-ospf-ar)#end
 
 
Thank you,
kristina
 
12 Replies 12

Hello,

 

<cr> this means 'carriage return' (old terms for press enter/return) there is no further options for this syntax.

I would guess the reason you cannot implement this is due to missing active packages on the XR routers or the image version that is installed does support this feature.

 

Hope that helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thank you for the reply.

Which image should I be using to get support for segment routing.
Specifically, using the VIRL sandbox - are there any images that support SR?

Ok thanks for confirming you are using the devnet sandbox, let me check this and revert back to you once i have checked.

 

Thanks!

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Sorry for the delay in update here, i am checking with the XR team if sunstone image supports SR, if so which one(s).

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thank you.

While waiting for the update, do you know if the sandbox has an NCS image? 

If so, I believe that one should support SR?

 

thank you,

Hey there, there is no NCS image in the mutli-ios virl sandbox.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi, is there any update in terms of SR support for the sandbox env?

Hey there, sadly no reply yet. I will reach out directly with them after the holiday period.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Sorry for delays in reply here. Having checked upstream, SR support for XRv9000 is not officially supported right now. This _might_ change in due course on future releases.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi,

Is there any OS that is available and that supports SR in the sandbox env? Or, in VIRL?

In this case, sadly no there is not at this time.
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io