MP-BGP Router Reflectot (RR) Default Behaviour
Hi All,
I have a 7206VXR configured like RR for MPBGP (Afi/safi 1/128 L3VPN rfc 2547Bis).
My RR is configured with different peer-group towards its clients (PE).
I'd like to konw what is the RR's default behaviour when it receives an updata message type 'withdrawal' by its client.
I've observed that:
- When a PE send its update (withdrawal), it receive back by RR all its bgp table...with a lot NLRI that my PE doesn't need..Is it a normal behaviour?
- When a PE send its update (withdrawal), it receives back by RR its own update..I think that this is a normal behaviuor since he is configured within a peer-group on RR. Is it correct?
Many thanks in advance for your support.
Gianluca
Hello I'm trying to configure a lab with 4 7600-sup32-3b 12.2(2)-33.SRC. 2 of them as P routers and the rest as PE. P's are Route Reflector and PE are route reflector clients. If I create the same VRF in both PE routes are note not advertised between PEs.(show ip route vrf lab). Please could you give me a configuration example or a link where I could take a look.
Thanks in advance. Santiago.
Similar Messages
-
EIGRP vs BGP route path selection scenario
I am looking for a routing solution to the following scenario. It is a fairly simple design.
I have two WAN connections between sites A and B. One is a 20 Meg Metro Ethernet Circuit running EIGRP. The other is a 10 Meg MPLS running BGP. What do I need to do in my configuration to make sure that the 20 Meg connection is the chosen path based off the fact that it has better speed and bandwidth? It appears to me that the MPLS is the preferred path even though it is slower.
See attached Diagram:
Site A Config
interface GigabitEthernet1/0/12
description PADC COX P2P 20 Meg
no switchport
bandwidth 20480
ip address 172.20.1.1 255.255.255.252
interface GigabitEthernet2/0/2
description LEVEL 3 MPLS
no switchport
bandwidth 10240
ip address 172.22.0.2 255.255.255.252
router eigrp 1
network 10.0.1.0 0.0.0.255
network 172.20.1.0 0.0.0.3
network 192.168.76.8 0.0.0.3
redistribute bgp 65003 metric 100 1 255 1 1500 route-map MPLS_NETWORKS
redistribute static route-map DEFAULT_ROUTE
router bgp 65003
bgp log-neighbor-changes
redistribute static
redistribute eigrp 1
neighbor 172.22.0.1 remote-as 1
default-information originate
Site B Config
interface GigabitEthernet0/1
description COX Communications 10 Meg to Venyu
bandwidth 20480
ip address 172.20.1.2 255.255.255.252
duplex auto
speed auto
service-policy output VOIP
interface GigabitEthernet0/2
description Level 3 MPLS
bandwidth 10240
ip address 172.22.1.2 255.255.255.252
duplex full
speed 100
router eigrp 1
network 10.3.1.0 0.0.0.31
network 10.52.1.0 0.0.0.255
network 10.76.6.0 0.0.0.255
network 172.20.1.0 0.0.0.3
network 192.168.63.64 0.0.0.63
network 192.168.76.249 0.0.0.0
passive-interface default
no passive-interface GigabitEthernet0/0
no passive-interface GigabitEthernet0/1
router bgp 65003
bgp log-neighbor-changes
network 10.3.1.0 mask 255.255.255.224
network 10.52.1.0 mask 255.255.255.0
network 10.76.6.0 mask 255.255.255.0
network 192.168.76.249 mask 255.255.255.255
neighbor 172.22.1.1 remote-as 1If each router is receiving advertisements for the same networks/subnet masks from both BGP and EIGRP it will always choose the BGP routes because they have a lower AD ie. 20 vs EIGRP 90.
Doesn't matter what the bandwidth is.
If you want to prefer the 20Mbps links then there are a number of options -
1) if you can summarise each sites subnets then advertise the summary via BGP and the more specific via EIGRP. More specific will be chosen even before AD is taken into account.
2) change the AD of either BGP or EIGRP so EIGRP ends up with the lower AD
3) run BGP on both links although you would still need to manipulate the attributes to make sure the link you want is used.
Jon -
MPLS BGP routes push to DMVPN spokes
I have an MPLS with BGP. I also have sites that are not connected directly to the MPLS, but have a s2s VPN to hub sites that are connected to the MPLS and that way they access the MPLS resources. I need to communicate the route changes to the MPLS when the DMVPN fails-over to another hub.
Currently this is my config:
Datacenter (MPLS only)
interface GigabitEthernet0/1
description MPLS
ip address 192.168.0.34 255.255.255.252
interface Vlan2
ip address 192.168.96.2 255.255.255.0
router bgp 65511
bgp log-neighbor-changes
network 192.168.96.0
neighbor 192.168.0.33 remote-as 65510
Hub site 1 (MPLS + internet)
interface Tunnel200
ip address 10.99.99.1 255.255.255.0
no ip redirects
ip mtu 1400
ip nhrp authentication auth
ip nhrp map multicast dynamic
ip nhrp network-id 12345
ip nhrp holdtime 600
tunnel source GigabitEthernet0/0
tunnel mode gre multipoint
tunnel key 200
tunnel protection ipsec profile dmvpn
interface GigabitEthernet0/1
description MPLS
ip address 192.168.1.2 255.255.255.0 secondary
ip address 192.168.0.2 255.255.255.252
router bgp 65001
bgp log-neighbor-changes
network 192.168.1.0
network 192.168.21.0
!10.99 clients are DMVPN spokes
neighbor 10.99.99.3 remote-as 99010
neighbor 10.99.99.3 route-reflector-client
neighbor 10.99.99.21 remote-as 99001
neighbor 10.99.99.21 route-reflector-client
!as 65000 is the MPLS PE
neighbor 192.168.0.1 remote-as 65000
Hub Site 2, has the same configuration, except for local ip address and router BGP ID.
Spoke site:
interface Tunnel200
ip address 10.99.99.3 255.255.255.0
no ip redirects
ip mtu 1400
ip nhrp authentication auth
ip nhrp map 10.99.99.1 PUBLIC_IP_HUB_1
ip nhrp map 10.99.99.16 PUBLIC_IP_HUB_2
ip nhrp network-id 12345
ip nhrp holdtime 600
ip nhrp nhs 10.99.99.1 priority 1
ip nhrp nhs 10.99.99.16 priority 5
ip nhrp nhs fallback 60
tunnel source GigabitEthernet0/0
tunnel mode gre multipoint
tunnel key 200
tunnel protection ipsec profile dmvpn
interface GigabitEthernet0/1
description Internal
ip address 192.168.3.1 255.255.255.192
router bgp 99010
bgp log-neighbor-changes
network 192.168.3.0
neighbor 10.99.99.1 remote-as 65001
neighbor 10.99.99.16 remote-as 65013
On this spoke site
#sh ip route
B 192.168.1.0/24 [20/0] via 10.99.99.1, 00:47:01
which is the HUB network, but the rest of the MPLS routes are not "learned".
What am I missing?
Thanks!Hi Jon, I've ommited the configuration of the MPLS provider routers in between. The DC is connected to a router that has the AS 65510.
DC:CPE---PE:{MPLS}PE---CPE:HUB---{internet}---Spoke
The DC is ok getting the network information via BGP:
#sh ip route
B 192.168.3.0/24 [20/0] via 192.168.0.33, 3d05h
B 192.168.21.0/24 [20/0] via 192.168.0.33, 3d05h
#sh ip bgp 192.168.21.0
BGP routing table entry for 192.168.21.0/24, version 559
Paths: (1 available, best #1, table default)
Not advertised to any peer
Refresh Epoch 1
65510 3549 6140 3549 65000
192.168.0.33 from 192.168.0.33 (###.###.###.###)
Origin IGP, localpref 100, valid, external, best
#sh ip route 192.168.21.0
Routing entry for 192.168.21.0/24
Known via "bgp 65511", distance 20, metric 0
Tag 65510, type external
Last update from 192.168.0.33 3d05h ago
Routing Descriptor Blocks:
* 192.168.0.33, from 192.168.0.33, 3d05h ago
Route metric is 0, traffic share count is 1
AS Hops 5
Route tag 65510
MPLS label: none
Spoke:
#sh ip bgp
BGP table version is 494, local router ID is 192.168.21.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.0.129.32/27 10.99.99.16 0 65013 65012 3549 ?
*> 192.168.96.0 10.99.99.16 0 65013 65012 3549 6745 65510 ?
#sh ip route 192.168.96.0
Routing entry for 192.168.96.0/24
Known via "bgp 99001", distance 20, metric 0
Tag 65013, type external
Last update from 10.99.99.16 00:02:11 ago
Routing Descriptor Blocks:
* 10.99.99.16, from 10.99.99.16, 00:02:11 ago
Route metric is 0, traffic share count is 1
AS Hops 5
Route tag 65013
MPLS label: none
#sh ip bgp 192.168.96.0
BGP routing table entry for 192.168.96.0/24, version 465
Paths: (1 available, best #1, table default)
Not advertised to any peer
Refresh Epoch 2
65013 65012 3549 6745 65510
10.99.99.16 from 10.99.99.16 (10.2.16.1)
Origin incomplete, localpref 100, valid, external, best
The route is not being updated to the rest of the routers, and the 192.168.21.0 network is still announced via the old route.
(from spoke)
ping 192.168.96.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.96.2, timeout is 2 seconds:
Success rate is 0 percent (0/5)
From DC
#traceroute 192.168.21.1
Type escape sequence to abort.
Tracing the route to 192.168.21.1
VRF info: (vrf in name/id, vrf out name/id)
1 192.168.0.33 [AS 65510] 0 msec 0 msec 0 msec
2 172.50.1.33 [AS 65510] 56 msec 36 msec 36 msec
3 10.80.1.1 [AS 3549] 44 msec 44 msec 44 msec
4 10.80.1.2 [AS 3549] 172 msec 172 msec 168 msec
5 172.50.1.1 [AS 3549] 168 msec 168 msec 172 msec
6 172.50.1.2 [AS 3549] 180 msec 180 msec 176 msec
7 192.168.0.2 [AS 65000] 172 msec 172 msec 168 msec <- old route, should be 192.168.0.9
8 192.168.0.2 [AS 65000] !H * !H -
How to establish BGP Neighbourship without receiving BGP routes ?
Hi All,
I would like to establish BGP Neighbourship between my internet router and ISP router.
However I would not like my internet router to receive millions of bgp routes from the ISP router but my inside users should access internet via my internet router.
Kindly suggest how to do it.
Regards,
Mitesh Manwatkar.Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Also depending on you setup with your ISP, you might not need BGP at all. Sometimes the ISP will advertize your public IP space (i.e. you don't need to), and if they do, all you need is a default route out.
PS:
Also BTW, often for basic ISP connectivity, even when BGP peering with your ISP, the ISP will not send you any routes but a default (because with a single link, there's no need for them). -
Trouble getting BGP route to be primary
We have an MPLS network between locations using BGP. Several locations have a VPN connection as a backup and use OSPF for those routes.
When an MPLS link goes down, the traffic switches over to the VPN connection just fine. But when the MPLS link comes back up, the OSPF route is still overriding the BGP route. I've changed the weights for both BGP & OSPF but still can't get the BGP route to override the OSPF route.
Any ideas as to what I'm missing?
Main router, MPLS link active at remote site:
nbrtr2#sh ip bgp
BGP table version is 6837, local router ID is 216.149.85.242
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 172.16.104.0/24 216.149.85.241 300 2828 3549 2828 i
nbrtr2#sh ip bgp 172.16.104.0
BGP routing table entry for 172.16.104.0/24, version 6839
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Not advertised to any peer
2828 3549 2828
216.149.85.241 from 216.149.85.241 (216.149.85.241)
Origin IGP, localpref 100, weight 300, valid, external, best
After shutting down the remote interface, traffic switches to the VPN link.
nbrtr2#sh ip bgp
BGP table version is 6842, local router ID is 216.149.85.242
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 172.16.104.0/24 172.16.196.4 123 100 ?
nbrtr2#sh ip bgp 172.16.104.0
BGP routing table entry for 172.16.104.0/24, version 6842
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Advertised to update-groups:
1
Local
172.16.196.4 from 0.0.0.0 (216.149.85.242)
Origin incomplete, metric 123, localpref 100, weight 100, valid, sourced,
best
Bringing up the remote interface, the traffic stays on the VPN.
nbrtr2#sh ip bgp
BGP table version is 6843, local router ID is 216.149.85.242
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 172.16.104.0/24 172.16.196.4 123 100 ?
nbrtr2#sh ip bgp 172.16.104.0
BGP routing table entry for 172.16.104.0/24, version 6842
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to update-groups:
1
Local
172.16.196.4 from 0.0.0.0 (216.149.85.242)
Origin incomplete, metric 123, localpref 100, weight 100, valid, sourced,
best
Finally, terminating the site-site VPN tunnel restores the MPLS route:
nbrtr2#sh ip bgp
BGP table version is 6845, local router ID is 216.149.85.242
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 172.16.104.0/24 216.149.85.241 300 2828 3549 2828 i
nbrtr2#sh ip bgp 172.16.104.0
BGP routing table entry for 172.16.104.0/24, version 6845
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Not advertised to any peer
2828 3549 2828
216.149.85.241 from 216.149.85.241 (216.149.85.241)
Origin IGP, localpref 100, weight 300, valid, external, best
Config details:
router ospf 100
log-adjacency-changes
redistribute static subnets
redistribute bgp 36166 metric 20 subnets
network 172.16.196.0 0.0.0.255 area 0
network 172.16.224.0 0.0.3.255 area 0
router bgp 36166
network 172.16.210.0 mask 255.255.255.0
network 172.16.211.0 mask 255.255.255.0
redistribute ospf 100 route-map Redist-OSPF
neighbor 216.149.85.241 remote-as 2828
neighbor 216.149.85.241 weight 300
default-information originate
access-list 11 remark Define OSPF routes for redistribution
access-list 11 permit 172.16.11.0 0.0.0.255
access-list 11 permit 172.16.16.0 0.0.1.255
access-list 11 permit 172.16.196.0 0.0.1.255
access-list 11 permit 172.16.198.0 0.0.0.255
access-list 12 remark Define VPN routes for redistribution
access-list 12 permit 172.16.104.0 0.0.0.255
access-list 12 permit 192.168.1.0 0.0.0.255
access-list 12 permit 192.168.3.0 0.0.0.255
access-list 12 permit 192.168.4.0 0.0.0.255
access-list 12 permit 192.168.8.0 0.0.0.255
route-map Redist-OSPF permit 10
match ip address 11
set weight 500
route-map Redist-OSPF permit 20
match ip address 12
set weight 100
route-map Redist-OSPF permit 30Hi,
IMHO, you should use the same Weight for both the BGP prefix redistributed from OSPF and received from the BGP neighbor.
And set other attribute (Local Preference, e.g.) to make the prefix received from the BGP neighbor to win when the MPLS interface goes Up again.
Another issue might be though:
When the MPLS interface is Down, you get the OSPF prefix redistributed to your BGP table, And when the MPLS interface goes Up again, you might be advertising this prefix to the backbone. And it can beat the prefix advertised from the remote site. If it's your case, I'd also try to prepend your AS number several times to the prefix advertised from your router to make it less preferred within the backbone comparing to the original BGP prefix.
Best regards,
Milan. -
In Lion, the default of pressing a link on a web page, is to open the page in a new tab. In itself, I do like this because this is what I did for 19 out of any 20 links, which I command+clicked in previous Safari versions.
However, there is a snag to this behaviour. Most (all?) secure site do not like links to be opened in a new tab. For example, when I am doing Web banking, The the linked page doesn’t open in new tab. Rather I get a page telling me my login session is expired. Probably a security measure instituted by my bank.
I since found out, that a command-click opens lings in the same window. Theoretically that solves the problem, if I would think about this all the time. I don't. Old habits die slowly.
Is there a terminal command to make links open in same window the default behaviour, as it was in Safari 5.0.Hi Eric,
I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
I used a 2 element array going into a four loop
cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
Defining the working director C:\altera\12.1sp1\qprogrammer\bin
And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
Thanks for the interest though
Best regards John -
Default behaviour of the Escape key while editing a cell in JTable??
Hi all,
i have a Jtable which get its data from an own model object which extends DefaultTableModel.
If i overwrite the isCellEditable(row, col) method within the tablemodel object and set a specific column to editable, then i notice while editing a cell in that column that the default behaviour of the Escape key is that independet from what you have entered before in to the cell the editing stops and the cell gets the value it had before editing.
This is the case for me even if i apply a custom editor to a column (one that extends DefaultCellEditor). It is just a JTextField that limits the number of digits a user can enter. Everything works fine. If the user edits the cell and presses ENTER or the "down arrow key" i can check what he has entered with the help of the getCellEditorValue() method. But if the user hits the ESC key after editing a cell this method is not invoked!!!
My question is :
is there any way to detect that the user cancels editing with the ESC-key.
this is very important for me because if the user goes editing the cell i lock the related record in the database, if i cannot detect this it is locked till the application terminates.
Thanks for any help in advanceI try override the JTable editingCanceled() ==> does not work.
I try the addCellEditorListener( CellEditorListener l ) ==> does not work.
Finally, I try the addKeyListener ==> it works.
Here is a quick demo. program:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.event.*;
import javax.swing.table.*;
public class Test {
public static void main(String[] args){
JFrame f = new JFrame();
String[] colName = {"a", "b"};
String[][] rowData = {{"1", "2"}, {"3", "4"}};
JTable table = new JTable(rowData, colName);
JTextField t = new JTextField(10);
t.setBackground(Color.red);
t.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
// do what ever you want ex. un-lock table
System.out.println("ESCAPE");
DefaultCellEditor editor = new DefaultCellEditor(t);
TableColumnModel colModel = table.getColumnModel();
for (int i = colModel.getColumnCount()-1; i >= 0; i--) {
colModel.getColumn(i).setCellEditor(editor);
f.setContentPane(new JScrollPane(table));
f.pack();
f.setVisible(true); -
Default behaviour based upon ACCTYPE
Hello,
I am a new BPC user and so, I would appreciate any help provided. I have done a lot of web search on this and aside from a couple of articles on SDN, I have not managed to find anything on this. I have previously posted a question on a similar topic but this is more of a question related to BPC's capabilities, rather than asking for a solution to a problem.
Some threads on SDN are suggesting that the default behaviour for BPC (Financial Consolidation) 7.5 NW is to store the data using the accounting convention (i.e., negative for INC and positive for EXP). However, when reports are generated using the same data (using EVDRE e.g.), the sign is automatically flipped (i.e., INC accounts are automatically showed as positive while EXP are shown as negative).
Is this correct? If so, is any reference available to any SAP published documentation on this?
Many thanks in advance.Hi,
I dont know whether there are any documents around this topic or not. But let me try to explain this a bit.
The flipping of signs is done twice - one at the time of sending the data to the database and second at the time of fetching the data from the database. Let me give you a very simple example. Lets say, we are posting the below records:
Revenue (ACCTYPE = INC): 1000
Expenses (ACCTYPE = EXP): 400
Theoritically, the profit should be 600. However, by design, we usually keep the profit as the parent of revenue and expenses, which means that profit will be 1400 (which is wrong). So, we change the signs. After posting the data to the database, the data looks like:
Revenue (ACCTYPE = INC): -1000
Expenses (ACCTYPE = EXP): 400
Now, the profit becomes -600.
When we fetch the data, the data should look like the original values. So, we again flip the signs. So, the data looks like:
Revenue (ACCTYPE = INC): 1000
Expenses (ACCTYPE = EXP): 400
Which is exactly what we had entered initially. Now, the concern is the profit. The profit is -600 as per the calculation. However, the actual profit should be 600. So, we keep the ACCTYPE of profit as INC.
Hope this gives you the idea. -
Query on BGP route distribution
Hello Everyone
In the below scenario (GNS3), IBGP peering enabled between R1-R2, R1-R3, R2-R3 and EBGP peering enabled between R2-R4,R3-R5,R4-R6,R5-R7. OSPF enabled as IGP. Scenario attached for reference.
The problem I've observed in R1 is not getting entire BGP routing table for destinations 30.x.x.x/40.x.x.x.
I'm able to see only best routes in R1 BGP routing table, but alternate valid routes are not visible in its topology table.
R1#sh ip bgp
BGP table version is 81, local router ID is 100.100.2.1
*>i30.30.1.0/24 10.10.1.2 0 100 0 200 300 ?
*>i30.30.2.0/24 10.10.1.2 0 100 0 200 300 ?
*>i40.40.1.0/24 10.10.2.2 0 100 0 200 400 i
*>i40.40.2.0/24 10.10.2.2 0 100 0 200 400 i
*> 100.100.1.0/24 0.0.0.0 0 32768 i
*> 100.100.2.0/24 0.0.0.0 0 32768 i
More confusing part to me is when I disable IBGP peering between R2-R3 or shutdown interface between R2-R3 or else if I disable ospf in R1,R2 & R3 routers , I'm able to see both best route and alternate valid route in BGP topology table.
R1#sh ip bgpHi Milin & Renan,
Thanks for your replies. To narrow down the problem, I’ve shut down the 40.40.x.x network.
Now between R2-R3, R3 is not advertising 30.30.X.X network to R2, but whereas R2 is advertising 30.30.X.X network to R3. Why R3 is not advertising 30.30.X.X (route via 200 400 300) to R2.
R2#sh ip bgp ( No alternate route)
Network Next Hop Metric LocPrf Weight Path
*> 30.30.1.0/24 10.10.4.2 0 200 300 ?
*> 30.30.2.0/24 10.10.4.2 0 200 300 ?
*>i100.100.1.0/24 10.10.1.1 0 100 0 i
*>i100.100.2.0/24 10.10.1.1 0 100 0 i
R2#sh ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.1.1 4 100 96 98 5 0 0 01:05:50 2
10.10.3.2 4 100 98 100 5 0 0 01:05:54 0
10.10.4.2 4 200 100 98 5 0 0 01:05:39 2
R3#sh ip bgp ( only in R3 we can see both best route & alternate route)
Network Next Hop Metric LocPrf Weight Path
*>i30.30.1.0/24 10.10.3.1 0 100 0 200 300 ?
* 10.10.5.2 0 200 400 300 ?
*>i30.30.2.0/24 10.10.3.1 0 100 0 200 300 ?
* 10.10.5.2 0 200 400 300 ?
*>i100.100.1.0/24 10.10.2.1 0 100 0 i
*>i100.100.2.0/24 10.10.2.1 0 100 0 i
R3#sh ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.2.1 4 100 54 57 19 0 0 00:50:17 2
10.10.3.1 4 100 62 60 19 0 0 00:27:22 2
10.10.5.2 4 200 58 58 19 0 0 00:50:08 2 -
Hello,
i have this bgp topology all router running bgp and no igp is running. Now, the problem is R2 and R3 are route reflector, R1 and R4 are Rclient.
R3 has learn route from R4 (4.4.4.4) from its R client and it advertise to R2 but R2 not advertise (4.4.4.4) route to its client (R1).
R1#sh ip bgp
BGP table version is 5, local router ID is 192.168.12.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 32768 i
*>i2.2.2.2/32 192.168.12.2 0 100 0 i
* i3.3.3.3/32 192.168.23.3 0 100 0 i
R2#sh ip bgp
BGP table version is 8, local router ID is 192.168.12.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i1.1.1.1/32 192.168.12.1 0 100 0 i
*> 2.2.2.2/32 0.0.0.0 0 32768 i
*>i3.3.3.3/32 192.168.23.3 0 100 0 i
* i4.4.4.4/32 192.168.34.4 0 100 0 iR3#sh ip bgp
BGP table version is 8, local router ID is 192.168.23.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i1.1.1.1/32 192.168.12.1 0 100 0 i
*>i2.2.2.2/32 192.168.23.2 0 100 0 i
*> 3.3.3.3/32 0.0.0.0 0 32768 i
*>i4.4.4.4/32 192.168.34.4 0 100 0
R3#sh run | se router bgp
router bgp 1
no synchronization
bgp log-neighbor-changes
network 3.3.3.3 mask 255.255.255.255
neighbor 192.168.23.2 remote-as 1
neighbor 192.168.23.2 next-hop-self
neighbor 192.168.34.4 remote-as 1
neighbor 192.168.34.4 route-reflector-client
no auto-summary -
Hello Guys,
My scenario is:
2 Sites interconnected by 2 MPLS Links and BGP between the routers.
I need some help to force some traffic to be routed using one Link based on Protocol or TCP Port.
But if the link goes down, I need the traffic to be send using another link.
I want to do a PBR using track that validates a specific BGP Route or BGP Neighbor.
Can someone tell me some tips for this case?
Best Regards.
Heleno FagundesHi,
For your two concerns.
**2 Sites interconnected by 2 MPLS Links and BGP between the routers
Do you have some sort of network diagram ????
**I want to do a PBR using track that validates a specific BGP Route or BGP Neighbor.
We can always apply a track and an IP sla monitoring an IP address which the router is receiving from its BGP peer which you wish to monitor.
I am sure if you provide me sample diagram/config i'll be able to give some more descriptive answer.
Regards,
HK -
I am confused about which routes will a bgp speaker advertise to its bgp neighbors?
Will it advertise the bgp routes in routing table OR will it advertise the best routes from the bgp table (but not necessarily in routing table)?Thanks!!
I thought so, but in Troubleshooting IP Routing Protocols book by Cisco press, it is stated that bgp router will advertise its routes from routing table, so wanted to confirm that that was indeed wrong.
On page 668, this is what is written:
One rule that BGP follows when advertising prefixes to other neighbors is that the prefix being advertised must
exist in the routing table of the advertising router. -
Monitoring a BGP route and AS-PATH.
Hello.
I need to receive a SNMP trap when a BGP route, received with a specific AS-PATH, disappears from routing table.
Any ideas?
Thanks.
AndreaYou can use EEM for this. Check out the cisco beyond web site for sample scripts that may help you do this.
A company that I used to work for, www.magnus.net had a mature EEM solution for doing this for large network environments. They took a standalone router and using EEM turned it into a route monitor. It would send out notifications when BGP routes of defined attributes like AS-Path diasappeared from routing tables. It was driven by an excel spreadsheet as inputs. It was written by a super CCIE engineer. -
Hi,
I would like to change the bgp router id on my router that dialogue with peers in other AS.
I will use the loopback interface 0 and I have a doubt about the ip address that I can use.
I think that can be a private address in a public addresses domain. Is it correct?
So, I think that it's better I'd implement the ebgp multihop command with the remote AS peers. Right?
Before I do these changes do I have to warn the other peers to permit to change their configuration?Hello,
Changing your router-id will be effective after you reset your connections.
You can use a RFC 1918 address to suit your needs. Be careful not to leak the address to the Internet.
If you use the Loopback interface as a update-source you need to use the ebgp-multihop command for reachability. If you are useing it for a router-id only you should not bother to change the TTL in BGP packets.
It is recommended that you inform your peers about your plans.
HTH
Leon
* Please rate posts. -
What do we need to do if BGP Router contribute high process in CPU?
CPU utilization for five seconds: 97%/43%; one minute: 99%; five minutes: 92%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
44 36270732 35464661 1022 25.03% 15.21% 14.43% 0 BGP Router
325 7703860203228294256 0 10.47% 5.58% 5.24% 0 IP Input
455 7596596 28244228 268 5.59% 1.60% 0.82% 0 BGP I/O
543 13576608 8569950 1584 3.83% 18.94% 9.57% 0 BGP Task
9 152474380 15201602 10030 2.07% 0.27% 0.57% 0 Check heaps
376 16372652 7777145 2105 1.83% 13.93% 13.76% 0 IP RIB Update
358 56785192 14452691 3929 0.95% 0.44% 0.52% 0 CEF: IPv4 proces
23 55656604 116191071 479 0.71% 0.51% 0.50% 0 ARP Input
348 5736736 7812055 734 0.63% 4.19% 5.03% 0 XDR mcast
546 36531108 132425650 275 0.63% 0.37% 0.28% 0 Port manager per
35 56337684 306101724 184 0.23% 0.42% 0.30% 0 IPC Seat Manager
330 287962916 871459868 330 0.23% 0.39% 1.61% 0 SNMP ENGINE
286 7682841067821917 0 0.15% 0.07% 0.07% 0 Ethernet Msec Ti
626 354112 825565 428 0.15% 0.11% 0.09% 0 IPv6 Input
3 754316 523105917 1 0.15% 0.10% 0.09% 0 HSRP Common
385 2182508 14151135 154 0.15% 0.10% 0.14% 0 L3 Manager
317 44655884 658073408 67 0.07% 0.04% 0.21% 0 PDU DISPATCHER
395 4363480 4661440 936 0.07% 0.04% 0.05% 0 HIDDEN VLAN Proc
323 1161648 134374319 8 0.07% 0.04% 0.05% 0 VRRS Main thread
56 2269676 9230664 245 0.07% 0.08% 0.07% 0 Per-Second Jobs
240 1449416 1870109 775 0.07% 0.04% 0.05% 0 Compute load avg
243 1488814081309230003 113 0.07% 0.13% 0.76% 0 IP SNMP
CPU utilization for five seconds: 97%/43%; one minute: 99%; five minutes: 92%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
44 36270732 35464661 1022 25.03% 15.21% 14.43% 0 BGP Router
325 7703860203228294256 0 10.47% 5.58% 5.24% 0 IP Input
455 7596596 28244228 268 5.59% 1.60% 0.82% 0 BGP I/O
543 13576608 8569950 1584 3.83% 18.94% 9.57% 0 BGP Task
9 152474380 15201602 10030 2.07% 0.27% 0.57% 0 Check heaps
376 16372652 7777145 2105 1.83% 13.93% 13.76% 0 IP RIB Update
358 56785192 14452691 3929 0.95% 0.44% 0.52% 0 CEF: IPv4 proces
23 55656604 116191071 479 0.71% 0.51% 0.50% 0 ARP Input
348 5736736 7812055 734 0.63% 4.19% 5.03% 0 XDR mcast
546 36531108 132425650 275 0.63% 0.37% 0.28% 0 Port manager per
35 56337684 306101724 184 0.23% 0.42% 0.30% 0 IPC Seat Manager
330 287962916 871459868 330 0.23% 0.39% 1.61% 0 SNMP ENGINE
286 7682841067821917 0 0.15% 0.07% 0.07% 0 Ethernet Msec Ti
626 354112 825565 428 0.15% 0.11% 0.09% 0 IPv6 Input
3 754316 523105917 1 0.15% 0.10% 0.09% 0 HSRP Common
385 2182508 14151135 154 0.15% 0.10% 0.14% 0 L3 Manager
317 44655884 658073408 67 0.07% 0.04% 0.21% 0 PDU DISPATCHER
395 4363480 4661440 936 0.07% 0.04% 0.05% 0 HIDDEN VLAN Proc
323 1161648 134374319 8 0.07% 0.04% 0.05% 0 VRRS Main thread
56 2269676 9230664 245 0.07% 0.08% 0.07% 0 Per-Second Jobs
240 1449416 1870109 775 0.07% 0.04% 0.05% 0 Compute load avg
243 1488814081309230003 113 0.07% 0.13% 0.76% 0 IP SNMPHi,
BGP Router process is in charge to determine the best path and processes any route "churn". It also sends and receives routes, establishes peers, and interacts with the routing information base (RIB).
(http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/107615-highcpu-bgp.html)
So I suggest to check what make this process working hard. Depending on that you can choose what to do: bgp dampening (if you have many changes in advertisement received form a neighbor), tuning timer (if neighbor is flapping), using peer-group / update-groups to reduce the amount of job your BGP process has to do to process updates etc...
Have a look here: https://supportforums.cisco.com/discussion/11604471/high-cpu-usage-bgp-router-process
Bye,
enrico
PS please rate if useful
Maybe you are looking for
-
How to bloq the Itunes library
I would like to know is there any way to preserve my itunes library from changes (you see, helpful friends that touch without asking you presets, yourstars etc etc) without creating a new account.
-
How Do I Increase The Speed Of Sending Emails Using The Mail Service on my Mac Mini Server?
Note: This is the first time I have set up a mail server. I have a Ruby on Rails application where I am currently sending approx. 240 individual emails with the potential of more being sent each week as more people add themselves to our mailing list.
-
Hypersonic 2 setting up seperate midi channels ...
Hey i just purchased hypersonic 2 seems amazing, first off the plug in is not even showing the way it looks in the instructions, only certain things are showing not even the keyboard keys until i hit them , kinda strange. my main thing is how to set
-
I'm having trouble buying the Aperture Trial - Activation Key from the Apple store. I add it to my cart, enter all my payment information, click Place Order and get an error: Session Timed Out. I've tried: - both Safari & Firefox - reset cache for Sa
-
How to correct no text displayed in "alert();" function?
Hello AEScriptingComm, you were highly recommended by David of Pro Video Coalition. I hoped you could help using the alert(vals) in ExtendScript in After Effects. When i run the script all works but,.. 1) a) ..t