cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1206
Views
5
Helpful
3
Replies

Cisco BGP - how to make a certain Router BGP Server/Initiator only?

James L
Level 1
Level 1

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.

 

1 Accepted Solution

Accepted Solutions

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)


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Hello,

 

I think there is the command below:

 

neighbor x.x.x.x connection-mode passive

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)


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul