Is this back out plan statement wrong? (ospf redistribution)

Answered Question
Apr 28th, 2009
User Badges:

For example, imagine the following configuration to add a specific aggregate-address:


router bgp 1000

address-family ipv4 vrf MYTEST

redistribute ospf 1 vrf MYTEST route-map OSPF1_REDISTR

aggregate-address 1.1.1.0 255.255.255.0 summary-only

no auto-summary

!

end

wri mem



Then Documented roll-back plan is below. I think the line marked below is incorrect?



router bgp 1000

address-family ipv4 vrf MYTEST

redistribute ospf 1 vrf MYTEST match internal external 1 external 2 <<<<<======Wrong?

no aggregate-address 1.1.1.0 255.255.255.0 summary-only

exit

!

end


wri mem

Correct Answer by Giuseppe Larosa about 8 years 1 month ago

Hello Marlon,

if the objective of the rollback action is only to remove the aggregate address the rollback can be:


router bgp 1000

address-family ipv4 vrf MYTEST

no aggregate-address 1.1.1.0 255.255.255.0 summary-only



if the rollback action includes the removal of the redistribute statement I would the following:


router bgp 1000

address-family ipv4 vrf MYTEST

no aggregate-address 1.1.1.0 255.255.255.0 summary-only

no redistribute ospf 1 vrf MYTEST route-map OSPF1_REDISTR

+

no redistribute ospf 1 vrf MYTEST


the reason for this is that I've seen that removing a redistribute ... route-map creates an entry without the route-map so it is better to remove twice.


About the suggested rollback:

this depends on what is the objective and on how the route-map is defined.


Hope to help

Giuseppe



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Tue, 04/28/2009 - 08:16
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Marlon,

if the objective of the rollback action is only to remove the aggregate address the rollback can be:


router bgp 1000

address-family ipv4 vrf MYTEST

no aggregate-address 1.1.1.0 255.255.255.0 summary-only



if the rollback action includes the removal of the redistribute statement I would the following:


router bgp 1000

address-family ipv4 vrf MYTEST

no aggregate-address 1.1.1.0 255.255.255.0 summary-only

no redistribute ospf 1 vrf MYTEST route-map OSPF1_REDISTR

+

no redistribute ospf 1 vrf MYTEST


the reason for this is that I've seen that removing a redistribute ... route-map creates an entry without the route-map so it is better to remove twice.


About the suggested rollback:

this depends on what is the objective and on how the route-map is defined.


Hope to help

Giuseppe



news2010a Tue, 04/28/2009 - 09:07
User Badges:

The latter is exactly what I wanted. That makes sense.

Actions

This Discussion