1

Is it possible to change a special place in Junos rather than delete?

In my case I want to change the ebgp-AS1009 to ebgp-AS23100, as far as I know only can delete the group ebgp-AS1009 then re-set. because there maybe too many params under the group, if there is a replace group name way, it will be much convenient.

root@AS1009-01-vMX# show protocols bgp          
group ebgp-AS1009 {
    type external;
    peer-as 23100;
    neighbor 41.241.157.2;
}
5

There's a generic rename command in JunOS. So something like this should work:

edit protocols bgp
rename group ebgp-AS1009 to group ebgp-AS23100

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.