cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1216
Views
5
Helpful
2
Replies

ASR9010, cannot configure static route from VRF default to interface that belongs to another VRF

Alex Zhang
Level 1
Level 1

Hi,

 

I have an asr9010 running IOS-XR 6.2.3 and configured 2 VRFs on it. 

I got an error when configuring static route from default and VRF-01 to sub-interface belongs to VRF-02.

Below is the configuration, and the last few rows are the error message.

The weird thing is that the static routes from default to VRF-01, VRF-01 to default, VRF-02 to VRF-01, and VRF-02 to default are all configured successfully.


interface Bundle-Ether1.1
bandwidth 40000000
ipv4 address 192.168.0.0/31
ipv4 unreachables disable
flow ipv4 monitor asr9010 sampler asr9010 ingress
encapsulation dot1q 1
!
interface Bundle-Ether1.2
bandwidth 40000000
vrf VRF-01
ipv4 address 192.168.0.2/31
ipv4 unreachables disable
flow ipv4 monitor asr9010 sampler asr9010 ingress
encapsulation dot1q 2
!
interface Bundle-Ether1.3
bandwidth 40000000
vrf VRF-02
ipv4 address 192.168.0.4/31
ipv4 unreachables disable
flow ipv4 monitor asr9010 sampler asr9010 ingress
encapsulation dot1q 3
!

router static
add ipv4 un
10.0.0.0/16 null 0 190
10.1.0.0/16 vrf VRF-01 be1.2 192.168.0.3
10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

vrf VRF-01
add ipv4 un
10.0.0.0/16 vrf default be1.1 192.168.0.1
10.1.0.0/16 null 0 190
10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

vrf VRF-02
add ipv4 un
10.0.0.0/16 vrf default be1.1 192.168.0.1
10.1.0.0/16 vrf VRF-01 be1.2 192.168.0.3
10.2.0.0/16 null 0 190

########## ERROR MESSAGE ##############

# sho confi fail
router static
address-family ipv4 unicast
10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5
!!% 'ip-static' detected the 'warning' condition 'Interface is already configured on another VRF'
!
!

 

Comments: 

I'm now configured those 2 issue routes without indicated the interface. This workaround works, but package loss is very high.

router static
  add ipv4 un
    10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

vrf VRF-01
  add ipv4 un
    10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

2 Replies 2

Alex Zhang
Level 1
Level 1

Comments: 

I'm now configured those 2 issue routes without indicated the interface. This workaround works, but package loss is very high.

router static
  add ipv4 un
    10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

vrf VRF-01
  add ipv4 un
    10.2.0.0/16 vrf VRF-02 be1.3 192.168.0.5

Hello,

 

check if the bug below applies:

 

fail to add static route with certain number of sub bundle interface
CSCus84992
Description
Issue seen only on one router and for particular bundle interface

Symptom:
static route is failing for a particular sub bundle interface

Conditions:
trying to add a static route using a bundle-sub interface as the outgoing interface

Workaround:
Two different workarounds

1) process restart ipv4_static

2) create a new subinterface on the bundle and use this as the outgoing interface.

Product: (1)
Cisco ASR 9000 Series Aggregation Services Routers

Review Cisco Networking products for a $25 gift card