Closing or resetting a neighbor session – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 286
272
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Filtering
8
Closing or resetting a neighbor session
You can close a neighbor session or resend route updates to a neighbor.
If you make changes to filters or route maps and the neighbor does not support dynamic route
refresh, use the following methods to ensure that neighbors contain only the routes you want them
to contain:
•
If you close a neighbor session, the device and the neighbor clear all the routes they learned
from each other. When the device and neighbor establish a new BGP4 session, they exchange
route tables again. Use this method if you want the device to relearn routes from the neighbor
and resend its own route table to the neighbor.
•
If you use the soft-outbound option, the device compiles a list of all the routes it would
normally send to the neighbor at the beginning of a session. However, before sending the
updates, the device also applies the filters and route maps you have configured to the list of
routes. If the filters or route maps result in changes to the list of routes, the device sends
updates to advertise, change, or even withdraw routes on the neighbor as needed. This
ensures that the neighbor receives only the routes you want it to contain. Even if the neighbor
already contains a route learned from the device that you later decided to filter out, using the
soft-outbound option removes that route from the neighbor.
You can specify a single neighbor.
Virtual ADX(config-bgp)# show ip bgp neighbor 10.4.0.2
1 IP Address: 10.4.0.2, AS: 5 (EBGP), RouterID: 10.0.0.1
Description: neighbor 10.4.0.2
State: ESTABLISHED, Time: 0h1m0s, KeepAliveTime: 0, HoldTime: 0
PeerGroup: pg1
Mutihop-EBGP: yes, ttl: 1
SendCommunity: yes
NextHopSelf: yes
DefaultOriginate: yes (default sent)
MaximumPrefixLimit: 90000
RemovePrivateAs: : yes
RefreshCapability: Received
Route Filter Policies:
Distribute-list: (out) 20
Filter-list: (in) 30
Prefix-list: (in) pf1
Route-map: (in) setnp1 (out) setnp2
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 1 1 0 0
Received: 1 8 1 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: 0h0m59s --- Rx: 0h0m59s ---
Last Connection Reset Reason:Unknown
Notification Sent: Unspecified
Notification Received: Unspecified
TCP Connection state: ESTABLISHED
Byte Sent: 115, Received: 492
Local host: 10.4.0.1, Local Port: 179
Remote host: 10.4.0.2, Remote Port: 8053
ISentSeq: 52837276 SendNext: 52837392 TotUnAck: 0
TotSent: 116 ReTrans: 0 UnAckSeq: 52837392
IRcvSeq: 2155052043 RcvNext: 2155052536 SendWnd: 16384
TotalRcv: 493 DupliRcv: 0 RcvWnd: 16384
SendQue: 0 RcvQue: 0 CngstWnd: 1460