BGP message types
New relation between two BGP peers:
- Open
- type 1
- Version4 (ipv4), AS#, Hold time, Router-iD, parameters.
R10#(config)router bgp 10 R10#(config-router)neighbor 20.20.20.20 remote-as 20 R10#(config-router)neighbor 20.20.20.20 ebgp-multihop R10#(config-router)neighbor 20.20.20.20 update-source loopback0 R20#(config)router bgp 20 R20#(config-router)neighbor 10.10.10.10 remote-as 10 R20#(config-router)neighbor 10.10.10.10 ebgp-multihop R20#(config-router)neighbor 10.10.10.10 update-source loopback0
eBGP | iBGP | |
---|---|---|
External BGP | Internal BGP | |
Neighbor | Between differnet AS | Within the same AS |
Route updates | Routes are send to eBGP peers by default | Routes are not send to BGP peers by default |
AS path addition | yes | no |
Administrative distance | 20 | 200 |
Topology | Does not require a full mesh | Full mesh or Route reflectors or Confedoration |
Loop Prevention | as-path | BGP split horizon |
There are four types of stub areas