Bgp (Art 1) Cheat Sheet Page 2

ADVERTISEMENT

BGP · P
2
ART
packetlife.net
Configuration Example
Router A
interface Serial1/0
AS 65100
description Backbone to B
ip address 172.16.0.1 255.255.255.252
F2/0
!
interface Serial1/1
A
description Backbone to C
S1/0
S1/1
ip address 172.16.0.5 255.255.255.252
!
172.16.0.0/30
interface FastEthernet2/0
172.16.0.4/30
description LAN
ip address 192.168.1.1 255.255.255.0
AS 65200
!
router bgp 65100
S1/0
S1/0
F0/0
F0/0
no synchronization
network 172.16.0.0 mask 255.255.255.252
10.0.0.0/30
network 172.16.0.4 mask 255.255.255.252
B
C
network 192.168.1.0
F2/0
F2/0
neighbor South peer-group
neighbor South remote-as 65200
neighbor 172.16.0.2 peer-group South
OSPF
neighbor 172.16.0.6 peer-group South
no auto-summary
Router B
Router C
interface FastEthernet0/0
interface FastEthernet0/0
description Backbone to C
description Backbone to B
ip address 10.0.0.1 255.255.255.252
ip address 10.0.0.2 255.255.255.252
!
!
interface Serial1/0
interface Serial1/0
description Backbone to A
description Backbone to A
ip address 172.16.0.2 255.255.255.252
ip address 172.16.0.6 255.255.255.252
!
!
interface FastEthernet2/0
interface FastEthernet2/0
description LAN
description LAN
ip address 192.168.2.1 255.255.255.0
ip address 192.168.3.1 255.255.255.0
!
!
router ospf 100
router ospf 100
network 10.0.0.1 0.0.0.0 area 0
network 10.0.0.2 0.0.0.0 area 0
network 192.168.2.1 0.0.0.0 area 1
network 192.168.3.1 0.0.0.0 area 2
!
!
router bgp 65200
router bgp 65200
no synchronization
no synchronization
redistribute ospf 100 route-map LAN_Subnets
redistribute ospf 100 route-map LAN_Subnets
neighbor 10.0.0.2 remote-as 65200
neighbor 10.0.0.1 remote-as 65200
neighbor 172.16.0.1 remote-as 65100
neighbor 172.16.0.5 remote-as 65100
no auto-summary
no auto-summary
!
!
access-list 10 permit 192.168.0.0 0.0.255.255
access-list 10 permit 192.168.0.0 0.0.255.255
!
!
route-map LAN_Subnets permit 10
route-map LAN_Subnets permit 10
match ip address 10
match ip address 10
set metric 100
set metric 100
Router A Routing Table
Router B Routing Table
172.16.0.0/30 is subnetted, 2 subnets
172.16.0.0/30 is subnetted, 2 subnets
C
172.16.0.4 is directly connected, S1/1
B
172.16.0.4 [20/0] via 172.16.0.1
C
172.16.0.0 is directly connected, S1/0
C
172.16.0.0 is directly connected, S1/0
C
192.168.1.0/24 is directly connected, F2/0
10.0.0.0/30 is subnetted, 1 subnets
B
192.168.2.0/24 [20/100] via 172.16.0.2
C
10.0.0.0 is directly connected, F0/0
B
192.168.3.0/24 [20/100] via 172.16.0.2
B
192.168.1.0/24 [20/0] via 172.16.0.1
C
192.168.2.0/24 is directly connected, F2/0
O IA 192.168.3.0/24 [110/2] via 10.0.0.2, F0/0
by Jeremy Stretch
v2.1-r1

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2