09-29-2019 01:46 PM
Hello.
Does anybody know how to make a BGP session only initiate connections to a peer but not allow the peer to initiate them?
E.G. Router A needs to always initiate connections to Router B but not the other way round.
I could use an ACL on the interface (that Routers can see each-other but what if they are multi-homed) to only allow outbound TCP/179 from Router A --> B but that seems like a hack?
Thanks.
Solved! Go to Solution.
09-29-2019 02:56 PM
Hello
@James L wrote:
Hello.
Does anybody know how to make a BGP session only initiate connections to a peer but not allow the peer to initiate them?
E.G. Router A needs to always initiate connections to Router B but not the other way round.
I could use an ACL on the interface (that Routers can see each-other but what if they are multi-homed) to only allow outbound TCP/179 from Router A --> B but that seems like a hack?
So you wish router A to be the client correct, the one that initiates the connection?
router b
neighbor <a> transport connection-mode passive (neighbor a to be client)
or
router a
neighbor <b> transport connection-mode active (neighbor b to be server)
09-29-2019 01:55 PM
Hello,
I think there is the command below:
neighbor x.x.x.x connection-mode passive
09-29-2019 02:56 PM
Hello
@James L wrote:
Hello.
Does anybody know how to make a BGP session only initiate connections to a peer but not allow the peer to initiate them?
E.G. Router A needs to always initiate connections to Router B but not the other way round.
I could use an ACL on the interface (that Routers can see each-other but what if they are multi-homed) to only allow outbound TCP/179 from Router A --> B but that seems like a hack?
So you wish router A to be the client correct, the one that initiates the connection?
router b
neighbor <a> transport connection-mode passive (neighbor a to be client)
or
router a
neighbor <b> transport connection-mode active (neighbor b to be server)
10-23-2019 06:57 PM
Ahh yes thanks.
I also just found this document.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide