cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1111
Views
0
Helpful
6
Replies

Optimal route reflection failing to commit | XRV9k

Am I missing something obvious in this output?

 

 

 

RP/0/RP0/CPU0:RR1(config-bgp-nbr-af)#show config
Mon Aug 19 13:19:20.414 UTC
Building configuration...
!! IOS XR Configuration 7.9.2
router bgp 100
 optimal-route-reflection ipv4 orr 10.1.1.105
 neighbor 10.1.1.102
  address-family ipv4 unicast
   optimal-route-reflection orr
  !
 !
!
end

RP/0/RP0/CPU0:RR1(config-bgp-nbr-af)#commit
Mon Aug 19 13:19:26.314 UTC
RP/0/RP0/CPU0:Aug 19 13:19:29.129 UTC: config[68390]: %MGBL-CONFIGCLI-3-COMMIT_FAILURE : Configuration commit running under 'con0_RP0_CPU0': by :'admin' failed,commit results stored in '/mnt/fuse/rdsfs/cfs/cfg/lr/failed/seamless/1000000008_failed.cfg' 

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed [inheritance]' from this session to view the errors
RP/0/RP0/CPU0:RR1(config-bgp-nbr-af)#
RP/0/RP0/CPU0:RR1(config-bgp-nbr-af)#show configuration failed
Mon Aug 19 13:19:39.866 UTC
!! SEMANTIC ERRORS: This configuration was rejected by 
!! the system due to semantic errors. The individual 
!! errors with each failed configuration command can be 
!! found below.


router bgp 100
 neighbor 10.1.1.102
  address-family ipv4 unicast
   optimal-route-reflection orr
!!% 'BGP' detected the 'warning' condition 'This ORR group is NOT configured under bgp global address-family'
  !
 !
!
end

RP/0/RP0/CPU0:RR1(config-bgp-nbr-af)#

 

 

 

`distribute bgp-ls` is configured on IS-IS (although weirdly it will commit but then doesn't show up in the config). MPSL TE is enabled on ISIS too, with an accurate MPLS TE ID. 

 

Software version is 7.9.2.

Full config attached. Any ideas?

 

1 Accepted Solution

Accepted Solutions

router bgp 100

address-family ipv4 unicast
optimal-route-reflection apply orr

please configure this 1st and check

View solution in original post

6 Replies 6

tkarnani
Cisco Employee
Cisco Employee

i cannot see the full configuration

please note it must be under the bgp global af ipv4 as well such as

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/212881-border-gateway-protocol-bgp-optimal-ro.html

 

thanks

 

Thanks for the response. 

Yes it is under the global ipv4 AFI (see line 6 of my output above). The error message is already stating as such, in spite of me already having configured it - hence the question. 


Sorry the config did not attach for some reason. It has since been added to the original post.

Hi @steven.crutchley ,

Try moving the orr group under address-family ipv4 unicast instead of global:

router bgp 100

 no optimal-route-reflection ipv4 orr 10.1.1.105

 address-family ipv4 unicast

  optimal-route-reflection orr 10.1.1.105

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

It seems if I do that it, punts me back to the global configuration (note the change out of the IPv4 AFI sub-level as soon as I press enter on the command):

 

 

RP/0/RP0/CPU0:RR1(config)#router bgp 100
RP/0/RP0/CPU0:RR1(config-bgp)#
RP/0/RP0/CPU0:RR1(config-bgp)#no optimal-route-reflection ipv4 orr 10.1.1.105
RP/0/RP0/CPU0:RR1(config-bgp)#address-family ipv4 unicast 
RP/0/RP0/CPU0:RR1(config-bgp-af)#optimal-route-reflection ipv4 orr 10.1.1.105
RP/0/RP0/CPU0:RR1(config-bgp)#pwd

Mon Aug 19 15:42:08.863 UTC
router bgp 100 
RP/0/RP0/CPU0:RR1(config-bgp)#show config
Mon Aug 19 15:42:19.016 UTC
Building configuration...
!! IOS XR Configuration 7.9.2
router bgp 100
 optimal-route-reflection ipv4 orr 10.1.1.105
 no optimal-route-reflection ipv4 orr 10.1.1.105
 address-family ipv4 unicast
 !
!
end

RP/0/RP0/CPU0:RR1(config-bgp)#

 

 

 

router bgp 100

address-family ipv4 unicast
optimal-route-reflection apply orr

please configure this 1st and check

This seems to have worked. The command optimal-route-reflection apply <ORR-GROUP> seems to be what is needed.

See below:

RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-af)#show config
Thu Aug 22 14:46:00.857 UTC
Building configuration...
!! IOS XR Configuration 7.9.2
router bgp 65100
 optimal-route-reflection ipv4 orr 1.0.101.7
 address-family ipv4 unicast
  optimal-route-reflection apply orr
 !
!
end

RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-af)#
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-af)#commit
Thu Aug 22 14:46:03.709 UTC
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-af)#
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-af)#exit
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp)#neighbor 1.0.101.2
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-nbr)#address-family ipv4 unicast 
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-nbr-af)#optimal-route-reflection orr 
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-nbr-af)#commit
Thu Aug 22 14:47:12.570 UTC
RP/0/RP0/CPU0:SP-X-PCE1-RR1(config-bgp-nbr-af)#

(please forgive the change in IP address and ASN numbers - I've been doing a lot of jumping from lab to lab). 

So when the original error states:

!!% 'BGP' detected the 'warning' condition 'This ORR group is NOT configured under bgp global address-family'

What it really means is that the aforementioned apply command has not been entered. 
Sadly, that command is not mentioned on this link:
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/212881-border-gateway-protocol-bgp-optimal-ro.html

But we got there in the end. Thanks both so much for your help.