Saturday, 1 December 2018

What is BGP Weight Attribute? How to configure?


A Cisco router can use the BGP weight, in that router to influence that one router’s choice of outbound route. To do so, when a router receives a BGP update, that router can set the weight either selectively, per route, using route map or for all routes learned competing routes, choosing the route with the bigger weight.







Weight is cisco proprietary attribute, weight tells how to exit the autonomous system. Path with the highest weight is more desirable range is 0 through 65,535, by default 0 for learned routes, 32,768 for locally injected routes. weight is partial attribute, set on inbound route update.







lets see the configuration:-

Topology:-
GOAL:

  • configure the topology as per the diagram.
  • configure the basic iBGP and EBGP peering using directly connected interfaces.
  • advertise all the interfaces as per the topology
  • configure the next-hop address should be the next router address
  • configure router 4 to prefer exit path via router1 to reach all the networks.



R1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        10.1.1.1        YES NVRAM  up                    up
Serial3/0                   1.1.1.1         YES NVRAM  up                    up
Serial3/3                  4.1.1.2         YES NVRAM  up                    up
Loopback0              11.0.0.1        YES NVRAM  up                    up
Loopback1              11.0.1.1        YES NVRAM  up                    up
Loopback2              11.0.2.1        YES NVRAM  up                    up
Loopback3              11.0.3.1        YES NVRAM  up                    up

R2#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        20.1.1.1        YES NVRAM  up                    up
Serial3/0                    1.1.1.2         YES NVRAM  up                    up
Serial3/1                    2.1.1.1         YES NVRAM  up                    up
Loopback0              12.0.0.1        YES NVRAM  up                    up
Loopback1              12.0.1.1        YES NVRAM  up                    up
Loopback2              12.0.2.1        YES NVRAM  up                    up
Loopback3              12.0.3.1        YES NVRAM  up                    up


R3#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        30.1.1.1        YES NVRAM  up                    up
Serial3/1                    2.1.1.2         YES NVRAM  up                    up
Serial3/2                    3.1.1.1         YES NVRAM  up                    up
Loopback0              13.0.0.1        YES NVRAM  up                    up
Loopback1              13.0.1.1        YES NVRAM  up                    up
Loopback2              13.0.2.1        YES NVRAM  up                    up
Loopback3              13.0.3.1        YES NVRAM  up                    up

R4#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        40.1.1.1        YES NVRAM  up                    up
Serial3/2                    3.1.1.2         YES NVRAM  up                    up
Serial3/3                    4.1.1.1         YES NVRAM  up                    up
Loopback0              14.0.0.1        YES NVRAM  up                    up
Loopback1              14.0.1.1        YES NVRAM  up                    up
Loopback2              14.0.2.1        YES NVRAM  up                    up
Loopback3              14.0.3.1        YES NVRAM  up                    up


R1(config)#router bgp 65111
R1(config-router)#neighbor 1.1.1.2 remote-as 65111
R1(config-router)#neighbor 4.1.1.1 remote-as 65444
R1(config-router)#neighbor 1.1.1.2 next-hop-self
R1(config-router)#network 10.0.0.0
R1(config-router)#network 1.0.0.0
R1(config-router)#network 4.0.0.0
R1(config-router)#network 11.0.0.0 mask 255.255.255.0
R1(config-router)#no auto-summary
R1(config-router)#no synchronization


R2(config)#router bgp 65111
R2(config-router)#neighbor 1.1.1.1 remote-as 65111
R2(config-router)#neighbor 2.1.1.2 remote-as 65333
R2(config-router)#neighbor 1.1.1.1 next-hop-self
R2(config-router)#network 20.0.0.0
R2(config-router)#network 2.0.0.0
R2(config-router)#network 1.0.0.0
R2(config-router)#network 12.0.0.0 mask 255.255.255.0
R2(config-router)#no auto-summary
R2(config-router)#no synchronization

R3(config)#router bgp 65333
R3(config-router)#neighbor 2.1.1.1 remote-as 65111
R3(config-router)#neighbor 3.1.1.2  remote-as 65444
R3(config-router)#network 30.0.0.0
R3(config-router)#network 3.0.0.0
R3(config-router)#network 2.0.0.0
R3(config-router)#network 13.0.0.0 mask 255.255.255.0
R3(config-router)#no synchronization
R3(config-router)#no auto-summary

R4(config)#router bgp 65444
R4(config-router)#neighbor 3.1.1.1 remote-as 65333
R4(config-router)#neighbor 4.1.1.2 remote-as 65111
R4(config-router)#network 40.0.0.0
R4(config-router)#network 4.0.0.0
R4(config-router)#network 14.0.0.0 mask 255.255.255.0
R4(config-router)#network 3.0.0.0
R4(config-router)#no synchronization
R4(config-router)#no auto-summary


R1#show ip bgp summary
BGP router identifier 11.0.3.1, local AS number 65111
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1.1.1.2         4        65111      14      13       14    0    0 00:06:21        7
4.1.1.1         4        65444      14       9       14    0    0 00:02:07        7


R2#show ip bgp summary
BGP router identifier 12.0.3.1, local AS number 65111
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1.1.1.1         4        65111      13      14       14    0    0 00:06:56        7
2.1.1.2         4        65333      11      12       14    0    0 00:04:29        6

R3#show ip bgp summary
BGP router identifier 13.0.3.1, local AS number 65333
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
2.1.1.1         4        65111      13      12       14    0    0 00:05:27        9
3.1.1.2         4        65444      11      14       14    0    0 00:03:59        9


R4#show ip bgp summary
BGP router identifier 14.0.3.1, local AS number 65444
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
3.1.1.1         4        65333      14      12       21    0    0 00:04:25       10
4.1.1.2         4        65111      11      16       21    0    0 00:04:05        9

R4#sh ip bgp
BGP table version is 21, local router ID is 14.0.3.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
 *>  1.0.0.0          4.1.1.2                  0             0       65111 i
 *                          3.1.1.1                  0         65333 65111 i
 *   2.0.0.0          4.1.1.2                                0 65111 i
 *>                   3.1.1.1                  0             0 65333 i
 *>  3.0.0.0          0.0.0.0                  0         32768 i
 *                    3.1.1.1                  0             0 65333 i
 *>  4.0.0.0          0.0.0.0                  0         32768 i
 *                    4.1.1.2                  0             0 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  10.0.0.0         4.1.1.2                  0             0 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  11.0.0.0/24      4.1.1.2                  0             0 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  12.0.0.0/24      4.1.1.2                                0 65111 i
     Network          Next Hop            Metric LocPrf Weight Path
 *                    3.1.1.1                                0 65333 65111 i
 *   13.0.0.0/24      4.1.1.2                                0 65111 65333 i
 *>                   3.1.1.1                  0             0 65333 i
 *>  14.0.0.0/24      0.0.0.0                  0         32768 i
 *>  20.0.0.0         4.1.1.2                                0 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *   30.0.0.0         4.1.1.2                                0 65111 65333 i
 *>                   3.1.1.1                  0             0 65333 i
 *>  40.0.0.0         0.0.0.0                  0         32768 i


R4#traceroute 30.1.1.1
Type escape sequence to abort.
Tracing the route to 30.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
  1 3.1.1.1 168 msec 60 msec 24 msec 

To reach the 30.1.1.1 router 4 by default using 3.1.1.1 interface because it has less numbers of AS.
but we want to router 4 go via 4.1.1.1 interface to reach all the networks.

R4(config)#router bgp 65444
R4(config-router)#neighbor 4.1.1.2 weight 20000
R4(config-router)#end

R4#clear ip bgp * soft

R4#traceroute 30.1.1.1
Type escape sequence to abort.
Tracing the route to 30.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
  1 4.1.1.2 8 msec 56 msec 4 msec
  2 1.1.1.2 [AS 65111] 52 msec 40 msec 36 msec
  3 2.1.1.2 [AS 65111] 52 msec 40 msec 64 msec

R4#show ip bgp 30.1.1.1
BGP routing table entry for 30.0.0.0/8, version 22
Paths: (2 available, best #1, table default)
  Advertised to update-groups:
     1
  Refresh Epoch 2
  65111 65333
    4.1.1.2 from 4.1.1.2 (11.0.3.1)
      Origin IGP, localpref 100, weight 20000, valid, external, best
      rx pathid: 0, tx pathid: 0x0
  Refresh Epoch 3
  65333
    3.1.1.1 from 3.1.1.1 (13.0.3.1)
      Origin IGP, metric 0, localpref 100, valid, external
      rx pathid: 0, tx pathid: 0
R4#show ip bgp
R4#show ip bgp
BGP table version is 29, local router ID is 14.0.3.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
 *>  1.0.0.0          4.1.1.2                  0         20000 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  2.0.0.0          4.1.1.2                            20000 65111 i
 *                    3.1.1.1                  0             0 65333 i
 *>  3.0.0.0          0.0.0.0                  0         32768 i
 *                    3.1.1.1                  0             0 65333 i
 *>  4.0.0.0          0.0.0.0                  0         32768 i
 *                    4.1.1.2                  0         20000 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  10.0.0.0         4.1.1.2                  0         20000 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  11.0.0.0/24      4.1.1.2                  0         20000 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  12.0.0.0/24      4.1.1.2                            20000 65111 i
     Network          Next Hop            Metric LocPrf Weight Path
 *                        3.1.1.1                                0 65333 65111 i
 *>  13.0.0.0/24      4.1.1.2                            20000 65111 65333 i
 *                    3.1.1.1                  0             0 65333 i
 *>  14.0.0.0/24      0.0.0.0                  0         32768 i
 *>  20.0.0.0         4.1.1.2                            20000 65111 i
 *                    3.1.1.1                                0 65333 65111 i
 *>  30.0.0.0         4.1.1.2                            20000 65111 65333 i
 *                    3.1.1.1                  0             0 65333 i
 *>  40.0.0.0         0.0.0.0                  0         32768 i



 


 


Instagram

Facebook


Twitter



LINKEDIN








Wednesday, 28 November 2018

BGP Attributes




BGP Attributes

 BGP support a wide variety of path attribute, BGP chooses a route to a network based on the attributes of its path.


Four categories of attributes exist are as follows:-

  • Well-known mandatory
  • Well-known discretionary
  • Optional transitive
  • Optional non-transitive

Well-known mandatory attributes must be recognized by all BGP routers, present in all BGP updates, and passed on to other BGP routers. AS path, origin, and next hop.

Well-known discretionary must be recognized by all BGP routers and passed on to other BGP routers but need not be present in an update. Local preference

Optional transitive might or might not be recognized by a BGP router but is passed on to other BGP routers.
If not recognized, it is marked as partial. Aggregation, community.

Optional non-transitive If the BGP process does not recognize the attribute then it can ignore the update and not advertise the path to its peer. Multi-exit discriminator (MED), originator ID

 AS_Path attribute- this particular path attribute lists the autonomous system numbers in the end-to-end path. BGP uses AS_Path as its primary loop-prevention tool.



 AS_Path attribute is a well-known mandatory attribute. its list of AS through which updates are coming. The shortest AS_PATH list is more desirable.


Next_hop is a well-known, mandatory attribute next hop means IP address to reach next autonomous system because BGP is AS by AS routing protocol. 


Origin attribute 

origin informs all AS in internetwork how network got introduced into BGP.

 (i)  represent IGP
 (e) represent EBGP
 (?) represent incomplete        

Weight Attribute is a cisco's attribute. its tell how to exit the AS, path with the highest weight is more desirable. weight is partial attribute, by default weight 0 learn route 32,769 for locally injected routes. its local to the router not advertise to any BGP peers.

Local Preference Attribute

Local preference define how to data traffic should exit from an Autonomous system. path with highest preference value is more desirable by default is 100, and the range 0 through 232  local preference is well known, discretionary attribute it is advertise only to iBGP neighbor within an Autonomous system.

R3#show ip bgp



BGP table version is 5, local router ID is 13.0.3.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
 r>i 10.0.0.0         11.0.0.1                 0                100            0            i
 r>i 20.0.0.0         12.0.0.1                 0                100            0            i
 *>  30.0.0.0         0.0.0.0                  0                                32768       i
 r>i 40.0.0.0         14.0.0.1                 0                 100           0             i










 


 


Instagram

Facebook


Twitter



LINKEDIN








Tuesday, 27 November 2018

What is BGP Peer Group and How to configure BGP Peer group?


 By default, BGP updates are sent on a neighbor-to-neighbor basis and the result is more CPU resources being used, also by implementing non-default settings for example performing filtering using prefix lists, route maps, or filter lists to those neighbors, even more, CPU resources are consumed.




 When many neighbors are having similar configuration parameters. Cisco IOS allows us to create a logical group of those similar neighbors into a BGP peer group then you apply your non-default BGP configuration to those parameters to each neighbor individually. Actually, a single router can have multiple peer groups, each representing a separate set of parameters. As a result, fewer CPU resources are required. Remember router still sends out individual BGP updates to each of its neighbors. It does require based on BGP characteristics establishing a TCP session with each neighbor.


In short: a BGP peer group means applying the same policies to multiple neighbors. It's useful when many neighbors have the same configuration parameter. updates are generated once per peer group.






let's see the configurations.
Topology:

Goal:



  • configure the topology as per the diagram and its interfaces.
  • configure EIGRP 100 on all the routers to ensure the reachability between the loopbacks. 
  • configure loopback 0 to establish peering, and configure peer group name cisco.
  • configure authentication and make sure all the peer should use the same password. (in our topology we use internetworks)
  • configure BGP version 4 and advertise LAN interfaces only.


R1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        10.1.1.1        YES manual up                    up
Serial3/0                     1.1.1.1         YES manual up                    up
Serial3/3                     4.1.1.2         YES manual up                    up
Loopback0              11.0.0.1        YES manual up                    up
Loopback1              11.0.1.1        YES manual up                    up
Loopback2              11.0.2.1        YES manual up                    up
Loopback3              11.0.3.1        YES manual up                    up


R2#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        20.1.1.1        YES manual up                    up
Serial3/0                     1.1.1.2         YES manual up                    up
Serial3/1                     2.1.1.1         YES manual up                    up
Loopback0              12.0.0.1        YES manual up                    up
Loopback1              12.0.1.1        YES manual up                    up
Loopback2              12.0.2.1        YES manual up                    up

Loopback3              12.0.3.1        YES manual up                    up



R3#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        30.1.1.1        YES manual up                    up
Serial3/1                   2.1.1.2         YES manual up                    up
Serial3/2                   3.1.1.1         YES manual up                    up
Loopback0              13.0.0.1        YES manual up                    up
Loopback1              13.0.1.1        YES manual up                    up
Loopback2              13.0.2.1        YES manual up                    up

Loopback3              13.0.3.1        YES manual up                    up



R4#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        40.1.1.1        YES manual up                    up
Serial3/2                     3.1.1.2         YES manual up                    up
Serial3/3                     4.1.1.1         YES manual up                    up
Loopback0              14.0.0.1        YES manual up                    up
Loopback1              14.0.1.1        YES manual up                    up
Loopback2              14.0.2.1        YES manual up                    up

Loopback3              14.0.3.1        YES manual up                    up

R1(config)#router eigrp 100
R1(config-router)#network 10.0.0.0
R1(config-router)#network 1.0.0.0
R1(config-router)#network 4.0.0.0
R1(config-router)#network 11.0.0.0
R1(config-router)#no auto-summary
R1(config-router)#end


R2(config)#router eigrp 100
R2(config-router)#network 20.0.0.0
R2(config-router)#network 2.0.0.0
R2(config-router)#network 1.0.0.0
R2(config-router)#network 12.0.0.0
R2(config-router)#no auto-summary
R2(config-router)#end


R3(config)#router eigrp 100
R3(config-router)#network 13.0.0.0
R3(config-router)#network 2.0.0.0
R3(config-router)#network 3.0.0.0
R3(config-router)#network 30.0.0.0
R3(config-router)#no auto-summary
R3(config-router)#end


R4(config)#router eigrp 100
R4(config-router)#network 4.0.0.0
R4(config-router)#network 4.0.0.0
R4(config-router)#network 40.0.0.0
R4(config-router)#network 14.0.0.0
R4(config-router)#network 3.0.0.0
R4(config-router)#end



R1(config)#router bgp 501
R1(config-router)#neighbor cisco peer-group
R1(config-router)#neighbor cisco remote-as 501
R1(config-router)#neighbor cisco update-source loopback 0
R1(config-router)#neighbor cisco version 4
R1(config-router)#neighbor cisco password internetworks
R1(config-router)#neighbor 12.0.0.1 peer-group cisco
R1(config-router)#neighbor 13.0.0.1 peer-group cisco
R1(config-router)#neighbor 14.0.0.1 peer-group cisco
R1(config-router)#network 10.0.0.0
R1(config-router)#no auto-summary
R1(config-router)#no synchronization
R1(config-router)#end


R2(config)#router bgp 501
R2(config-router)#neighbor cisco peer-group
R2(config-router)#neighbor cisco remote-as 501
R2(config-router)#neighbor cisco update-source loopback 0
R2(config-router)#neighbor cisco version 4
R2(config-router)#neighbor cisco password internetworks
R2(config-router)#neighbor 11.0.0.1 peer-group cisco
R2(config-router)#neighbor 13.0.0.1 peer-group cisco
R2(config-router)#neighbor 14.0.0.1 peer-group cisco
R2(config-router)#network 20.0.0.0
R2(config-router)#no auto-summary
R2(config-router)#no synchronization
R2(config-router)#end


R3(config)#router bgp 501
R3(config-router)#neighbor cisco peer-group
R3(config-router)#neighbor cisco remote-as 501
R3(config-router)#neighbor cisco update-source loopback 0
R3(config-router)#neighbor cisco version 4
R3(config-router)#neighbor cisco password internetworks
R3(config-router)#neighbor 12.0.0.1 peer-group cisco
R3(config-router)#neighbor 11.0.0.1 peer-group cisco
R3(config-router)#neighbor 14.0.0.1 peer-group cisco
R3(config-router)#network 30.0.0.0
R3(config-router)#no auto-summary
R3(config-router)#no synchronization
R3(config-router)#end


R4(config)#router bgp 501
R4(config-router)#neighbor cisco peer-group 
R4(config-router)#neighbor cisco remote-as 501
R4(config-router)#neighbor cisco update-source loopback 0
R4(config-router)#neighbor cisco version 4
R4(config-router)#neighbor cisco  password internetworks
R4(config-router)#neighbor 12.0.0.1 peer-group cisco
R4(config-router)#neighbor 13.0.0.1 peer-group cisco
R4(config-router)#neighbor 11.0.0.1 peer-group cisco
R4(config-router)#network 40.0.0.0
R4(config-router)#no auto-summary
R4(config-router)#no synchronization
R4(config-router)#end


R1#show ip bgp summary
BGP router identifier 11.0.3.1, local AS number 501
BGP table version is 7, main routing table version 7
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1168 total bytes of memory
BGP activity 5/1 prefixes, 5/1 paths, scan interval 60 secs


Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
12.0.0.1        4          501       7       7        7    0    0 00:00:44        1
13.0.0.1        4          501      17      20        7    0    0 00:10:02        1

14.0.0.1        4          501       9       9        7    0    0 00:02:37        1


R2#show ip bgp summary
BGP router identifier 12.0.3.1, local AS number 501
BGP table version is 9, main routing table version 9
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1168 total bytes of memory
BGP activity 4/0 prefixes, 6/2 paths, scan interval 60 secs


Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
11.0.0.1        4          501       8       8        9    0    0 00:01:23        1
13.0.0.1        4          501       8       8        9    0    0 00:01:26        1
14.0.0.1        4          501       8       6        9    0    0 00:01:32        1


R3#show ip bgp summary
BGP router identifier 13.0.3.1, local AS number 501
BGP table version is 7, main routing table version 7
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1168 total bytes of memory
BGP activity 5/1 prefixes, 5/1 paths, scan interval 60 secs


Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
11.0.0.1        4          501      21      19        7    0    0 00:11:15        1
12.0.0.1        4          501       9       9        7    0    0 00:02:00        1
14.0.0.1        4          501       9      11        7    0    0 00:03:56        1


R4#show ip bgp summary
BGP router identifier 14.0.3.1, local AS number 501
BGP table version is 5, main routing table version 5
4 network entries using 576 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1168 total bytes of memory
BGP activity 4/0 prefixes, 4/0 paths, scan interval 60 secs


Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
11.0.0.1        4          501      11      12        5    0    0 00:04:24        1
12.0.0.1        4          501       7       9        5    0    0 00:02:40        1
13.0.0.1        4          501      11       9        5    0    0 00:04:29        1


R1#show ip bgp
BGP table version is 7, local router ID is 11.0.3.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.0.0         0.0.0.0                  0         32768 i
 r>i 20.0.0.0         12.0.0.1                 0    100      0 i
 r>i 30.0.0.0         13.0.0.1                 0    100      0 i
 r>i 40.0.0.0         14.0.0.1                 0    100      0 i


R3#show ip bgp
BGP table version is 7, local router ID is 13.0.3.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
 r>i 10.0.0.0         11.0.0.1                 0    100      0 i
 r>i 20.0.0.0         12.0.0.1                 0    100      0 i
 *>  30.0.0.0         0.0.0.0                  0         32768 i
 r>i 40.0.0.0         14.0.0.1                 0    100      0 i

What is BGP Allowas-in Feature? How to configure BGP Allowas-in? GNS3

  BGP Allowas-in is a configuration option in Border Gateway Protocol (BGP) routing that allows a router to accept routes with its own AS (A...