How to configure EBGP on Cisco routers?

BASIC CONFIGURATION OF ROUTER-A
A(config)# interface serial 1/0
A(config-if)# ip address 1.0.0.1 255.0.0.0
A(config-if)# clock rate 64000
A(config-if)# no shutdown
A(config-if)# interface ethernet 2/0
A(config-if)# ip address 200.100.50.1 255.255.255.0
A(config-if)# no shutdown
BASIC CONFIGURATION OF ROUTER-B
B(config)# interface serial 1/1
B(config-if)# ip address 1.0.0.2 255.0.0.0
B(config-if)# no shutdown
B(config-if)# interface ethernet 2/0
B(config-if)# ip address 200.100.100.1 255.0.0.0
B(config-if)# no shutdown
RUNNING RIP ON ROUTER-A
A(config)# router rip
A(config-router)# network 1.0.0.0
A(config-router)# network 200.100.50.0
RUNNING OSPF ON ROUTER-B
B(config)# router ospf 1
B(config-router)# network 1.0.0.00.255.255.255 area0
B(config-router)# network 200.100.100.00.0.0.255 area0
ROUTING TABLE OF ROUTER-A & B

RUNNING BGP ON ROUTER-A
A(config)# router bgp 10 (10 = Autonomus System)
A(config-router)# neighbor 1.0.0.2 remote-as 20
A(config-router)# network 200.100.50.0
RUNNING BGP ON ROUTER-B
B(config)# router bgp 20 (20 = Autonomus System)
B(config-router)# neighbor 1.0.0.1 remote-as 10
B(config-router)# network 200.100.50.0


Related Articles
-
How to configure RIP v2 step by step? RIP short for "Routing Information Protocol" is a routing protocol used to select the suitable route for packets with in network.. Read More...
How to configure static routes on Cisco routers? You can configure two types of routing on the router- static and dynamic to send the traffic to destination. Read More...
How to configure VLAN on a Cisco Switch? VLAN stands for virtual LAN and technically we can say, a VLAN is a broadcast domain created by switch. When managing a switch, the management domain is always VLAN 1, the default VLAN. All ports of switch are assigned to VLAN 1 by default. VLAN increase the performance of a network because it divide a network logically in different parts and limit the broadcasts. Read More...
How to configure VTP Client and Server? VTP (VLAN Trunking Protocol) is the protocol that propagates the information about which VLANs exist from one switch to another switch. If VTP did not provide this information, VLANs would have to be created on all switches individually in the network. Read More..
How to configure Trunking between VLANs with 802.1q? Trunk link is used to carry the different VLANs traffic on a single link. There are two different protocols are used for Ethernet trunking, 802. 1q and ISL. Trunking change the formatting of the packets. Read More...How to configure Trunking between VLANs with ISL? Trunking is a technique to carry different VLAN traffic using point to point link between two devices. ISL (InterSwitch Link) is a cisco proprietary protocol can work with Ethernet token ring and Fddi also. Trunking changes the formatting of the packets. Read More...