11-20-2018 05:50 PM - edited 11-23-2018 01:14 PM
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
11-20-2018 06:04 PM
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
11-23-2018 02:16 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide