VLAN 5 to R4
Directions
" Configure the topology per the diagram
" Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3
" Configure BGP on R1, R2, R3, R4, and R5 per the diagram
" R1 should peer with R4
" R2 should peer with R5
" R1, R2, and R3 should all peer with each other
" Advertise R3’s Ethernet into BGP on R3
" Advertise VLAN 5 into BGP on R5
" Advertise VLAN 43 into BGP on R4
" Configure BGP ORF between R1 and R4
" R4 should send the BGP ORF prefix-list to R1
" R1 should use the list received for outbound filtering towards R4
" Configure the topology per the diagram
" Configure EIGRP AS 2 on the links between R1 & R3 and R2 & R3
" Configure BGP on R1, R2, R3, R4, and R5 per the diagram
" R1 should peer with R4
" R2 should peer with R5
" R1, R2, and R3 should all peer with each other
" Advertise R3’s Ethernet into BGP on R3
" Advertise VLAN 5 into BGP on R5
" Advertise VLAN 43 into BGP on R4
" Configure BGP ORF between R1 and R4
" R4 should send the BGP ORF prefix-list to R1
" R1 should use the list received for outbound filtering towards R4
配置:
R1:
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router eigrp 2
network 155.1.13.1 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.23.2 remote-as 2
neighbor 155.1.146.4 remote-as 3
!
address-family ipv4
neighbor 155.1.13.3 activate
neighbor 155.1.13.3 next-hop-self
neighbor 155.1.23.2 activate
neighbor 155.1.23.2 next-hop-self
neighbor 155.1.146.4 activate
neighbor 155.1.146.4 capability orf prefix-list receiv
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router eigrp 2
network 155.1.13.1 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.13.3 remote-as 2
neighbor 155.1.23.2 remote-as 2
neighbor 155.1.146.4 remote-as 3
!
address-family ipv4
neighbor 155.1.13.3 activate
neighbor 155.1.13.3 next-hop-self
neighbor 155.1.23.2 activate
neighbor 155.1.23.2 next-hop-self
neighbor 155.1.146.4 activate
neighbor 155.1.146.4 capability orf prefix-list receiv
R2:
interface FastEthernet0/0
ip address 192.10.1.2 255.255.255.0
!
interface FastEthernet0/0
ip address 192.10.1.2 255.255.255.0
!
interface Serial0/0
encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
ip address 155.1.0.2 255.255.255.0
frame-relay interface-dlci 205
!
interface Serial0/1
ip address 155.1.23.2 255.255.255.0
!
router eigrp 2
network 155.1.23.2 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.0.5 remote-as 1
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.23.3 remote-as 2
neighbor 155.1.23.3 next-hop-self
encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
ip address 155.1.0.2 255.255.255.0
frame-relay interface-dlci 205
!
interface Serial0/1
ip address 155.1.23.2 255.255.255.0
!
router eigrp 2
network 155.1.23.2 0.0.0.0
no auto-summary
!
router bgp 2
neighbor 155.1.0.5 remote-as 1
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.23.3 remote-as 2
neighbor 155.1.23.3 next-hop-self
R3:
interface Ethernet0/0
ip address 155.1.37.3 255.255.255.0
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
interface Serial1/3
ip address 155.1.23.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.3 0.0.0.0
no auto-summary
!
router bgp 2
network 155.1.37.0 mask 255.255.255.0
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.23.2 remote-as 2
interface Ethernet0/0
ip address 155.1.37.3 255.255.255.0
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
interface Serial1/3
ip address 155.1.23.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.3 0.0.0.0
no auto-summary
!
router bgp 2
network 155.1.37.0 mask 255.255.255.0
neighbor 155.1.13.1 remote-as 2
neighbor 155.1.23.2 remote-as 2
R4:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
neighbor 155.1.146.1 remote-as 2
!
address-family ipv4
neighbor 155.1.146.1 activate
neighbor 155.1.146.1 capability orf prefix-list send
neighbor 155.1.146.1 prefix-list DENY_VLAN5 in
network 204.12.1.0
exit-address-family
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
neighbor 155.1.146.1 remote-as 2
!
address-family ipv4
neighbor 155.1.146.1 activate
neighbor 155.1.146.1 capability orf prefix-list send
neighbor 155.1.146.1 prefix-list DENY_VLAN5 in
network 204.12.1.0
exit-address-family
R5:
interface Serial0/0
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.2 502 broadcast
!
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.2 remote-as 2
interface Serial0/0
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.2 502 broadcast
!
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.2 remote-as 2
检验:
Rack1R1#show ip bgp neighbors 155.1.146.4
advertised-routes
BGP table version is 4, local router ID is 150.1.1.1
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.37.0/24 155.1.13.3 0 100
0 i
BGP table version is 4, local router ID is 150.1.1.1
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.37.0/24 155.1.13.3 0 100
0 i
插入表情