CCNA LABS BGP Routing


Output of BGP

R1

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
ip address 192.168.10.1 255.255.255.0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.30.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#EX
Router(config)#ROuter Bgp 100
Router(config-router)#NETwork 192.168.10.0 MAsk 255.255.255.0
Router(config-router)#NETwork 192.168.30.0 MAsk 255.255.255.0
Router(config-router)#NEIghbor 192.168.10.2 REmote-as 200
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.10.2 Up


R2

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.10.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
ip address 192.168.20.1 255.255.255.0
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config-if)#EX
Router(config)#ROuter Bgp 200
Router(config-router)#NETwork 192.168.10.0 MAsk 255.255.255.0
Router(config-router)#NEIghbor 192.168.10.1 REmote-as 100
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.10.1 Up


Router(config-router)#NETwork 192.168.20.0 MAsk 255.255.255.0
Router(config-router)#NEIghbor 192.168.20.2 REmote-as 300
Router(config-router)#EX



R3

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.20.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.40.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
ip address 192.168.40.1 255.255.255.0

Router(config-if)#EX
Router(config)#ROuter Bgp 300
Router(config-router)#NETwork 192.168.20.0 MAsk 255.255.255.0
Router(config-router)#NETwork 192.168.40.0 MAsk 255.255.255.0
Router(config-router)#NEIghbor 192.168.20.1 REmote-as 200
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.20.1 Up

Router(config-router)#EX


 BGP


Follow me on Instagram 

Join me on LinkedIn

Follow me on FB

Subscribe the channel

Subscribe the channel

Comments

Popular Posts