MERAprojects / ops-build

Other
0 stars 0 forks source link

Possible to remove private AS for IBGP peer #20

Closed AKochin closed 7 years ago

AKochin commented 7 years ago

!Version OpenSwitch 0.4.0 (Build: genericx86-64-ops-0.4.0-meraswitch/devel/master-20170113050115-de !Schema version 0.1.8


switch(config-router)# neighbor AS_77 remove-private-AS 
router bgp 77
     bgp fast-external-failover
     neighbor AS_77 peer-group
     neighbor AS_77 remote-as 77
     neighbor AS_77 remove-private-AS               << should be rejected but accepted
     neighbor AS_77 update-source loopback1
     neighbor 1.1.1.1 remove-private-AS               << should be rejected but accepted
     neighbor 1.1.1.1 peer-group AS_77       

Should be something like below:

Quagga-1(config-router)# neighbor AS_77 remove-private-AS
% Private AS cannot be removed for IBGP peers
lyubov-popova commented 7 years ago

https://github.com/MERAprojects/ops-cli/pull/29