There's an error message which at least means you're aware of this issue, but I was wondering if perhaps behind the scenes we could do the equivalent of:
```
[email protected]# rename rule 10 to rule 20
[edit policy route-map OSPF-IN]
[email protected]# commit
[edit policy route-map OSPF-IN]
[email protected]# rename rule 20 to rule 10
[edit policy route-map OSPF-IN]
[email protected]# commit
```
Error:
```
[edit policy route-map OSPF-IN]
[email protected]# show
}
}
+ set {
+ distance 220
+ }
}
rule 1000 {
action permit
description "Default allow"
}
[edit policy route-map OSPF-IN]
[email protected]# commit
[ policy route-map OSPF-IN rule 10 action permit ]
You can not change the action.
To change the action you must first delete the rule
"delete route-map OSPF-IN rule 10" and commit it.
[[policy route-map OSPF-IN]] failed
Commit failed
[edit policy route-map OSPF-IN]
```