Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IOS-XR transaction commit issues

  i'm having a strange problem with IOS-XR and removing class-map references from policy-maps.  It does not seem to let me remove a reference to a class-map and remove the class-map in the same transaction.  Is this a bug?  I sent the commands in the correct order but it looks like the commit is evaluating them out of order.

Thanks,

Greg

RP/0/4/CPU0:rotgsr-2#configure

Thu Oct 14 11:29:25.912 EDT

RP/0/4/CPU0:rotgsr-2(config)#policy-map mqc-phb-2

RP/0/4/CPU0:rotgsr-2(config-pmap)#no  class my_cos

RP/0/4/CPU0:rotgsr-2(config-pmap)#exit

RP/0/4/CPU0:rotgsr-2(config)#no class-map match-any my_cos

RP/0/4/CPU0:rotgsr-2(config)#commit confirmed

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed' from this session to view the errors

RP/0/4/CPU0:rotgsr-2(config)#show configuration failed

Thu Oct 14 11:30:13.546 EDT

!! 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.

!

no class-map my_cos

!!% Object is in use: Class-map "my_cos" of type "qos" is used by policy-map(s). Delete failed.

end

9 REPLIES
Cisco Employee

Re: IOS-XR transaction commit issues

Greg,

What version of code are you doing this on?  I just tested this on my lab box running 3.8.4 and it worked fine.  Do you by chance still have this policy applied to an interface?

Thanks,

Bryan

New Member

Re: IOS-XR transaction commit issues

No, it was not on any interface.  I created the policy map and class map to test this scenario.  I am running 4.0.

Greg

Cisco Employee

Re: IOS-XR transaction commit issues

Greg,

I see the same behavior in XR 4.0 code.  This is most likely a parsing issue with sysdb in the order it's being executed.  I will look for known bugs and if I can't find one I will go ahead and file one.

I will post back with the bug id and any work arounds other than two separate commits.

Bryan

Cisco Employee

Re: IOS-XR transaction commit issues

Greg,

I have gone ahead and filed bug CSCtk60033.  You should be able to see this on CCO shortly once it gets updated. 

Let me know if you have any other problems. 

Thanks,
Bryan

New Member

Re: IOS-XR transaction commit issues

Bummer, still no updates.  Bug toolkit says it's still under review.  And it's marked as enhancement??  Strange since it used to work and now doesn't.

Thanks,

Greg

Cisco Employee

Re: IOS-XR transaction commit issues

Greg,

Internally there is a comment stating it works in 4.1 code.  I don't have a router in my lab running that right now but will work on trying to test this for you.

Thanks,
Bryan

New Member

Re: IOS-XR transaction commit issues

4.1 or 4.0.1 ?    4.1 isn't out.

Thanks,

Greg

Cisco Employee

Re: IOS-XR transaction commit issues

Greg,

4.1.0.  Yeah, it's not available yet.  But I have access and can load that on my lab router.  I will reply back when I have tested that.

Thanks,

Bryan

New Member

Re: IOS-XR transaction commit issues

Thanks for the confirmation.  Can you confirm this similar scenario?  Instead of removing a classmap from a policy then deleting it the classmap, remove a child service-policy reference from a policy map then delete the child policy.  Same error that the chid policy is still in use.

Thanks,

Greg

2822
Views
0
Helpful
9
Replies
CreatePlease to create content