ISIS+BGP

原作者:枫叶

http://blog.sina.com.cn/s/blog_5349d9b80100akp1.html


拓扑:

                R5/AS10-------10.10.9.0/24-----R3/AS100-
                                                  |
                                                  --10.10.10.0/24------R1/AS100
                                                                          |
                                                                          |
                                                                          |
                R4/AS20-------10.10.12.0/24-----R2/AS100----10.10.11.0/24--


R1, R2, R3运行BGP,ISIS

R4,    R5运行BGP


R1

interface Loopback0

ip address 1.1.1.1 255.255.255.0

ip router isis test

!

interface FastEthernet0/0

ip address 10.10.11.1 255.255.255.0

ip router isis test

duplex full

!

interface Ethernet1/0

ip address 10.10.10.1 255.255.255.0

ip router isis test

duplex full

!


router isis test

net 49.0001.0010.0100.1001.00

!

!

router bgp 100

no synchronization

bgp log-neighbor-changes

neighbor 10.10.10.2 remote-as 100

neighbor 10.10.10.2 route-reflector-client

neighbor 10.10.10.2 next-hop-self

neighbor 10.10.11.2 remote-as 100

neighbor 10.10.11.2 route-reflector-client

neighbor 10.10.11.2 next-hop-self

no auto-summary


R2


interface Loopback0

ip address 2.2.2.2 255.255.255.0

ip router isis test

!

interface FastEthernet0/0

ip address 10.10.11.2 255.255.255.0

ip router isis test

duplex full

!

router isis test

net 49.0001.0020.0200.2002.00

!

router bgp 100

no synchronization

bgp log-neighbor-changes

redistribute isis test level-1-2

neighbor 10.10.11.1 remote-as 100

neighbor 10.10.11.1 next-hop-self

neighbor 10.10.12.2 remote-as 20

neighbor 10.10.12.2 next-hop-self

no auto-summary

!


R3


interface Loopback0

ip address 3.3.3.3 255.255.255.0

ip router isis test

!
interface Ethernet2/0

ip address 10.10.10.2 255.255.255.0

ip router isis test

duplex full

!

router isis test

net 49.0001.0030.0300.3003.00

!

router bgp 100

no synchronization

bgp log-neighbor-changes

redistribute isis test level-1-2

neighbor 10.10.9.2 remote-as 10

neighbor 10.10.9.2 next-hop-self

neighbor 10.10.10.1 remote-as 100

neighbor 10.10.10.1 next-hop-self

no auto-summary

!


R4



router bgp 20

no synchronization

bgp log-neighbor-changes

neighbor 10.10.12.1 remote-as 100

neighbor 10.10.12.1 next-hop-self

no auto-summary

R5

router bgp 10

no synchronization

bgp log-neighbor-changes

redistribute connected

neighbor 10.10.9.1 remote-as 100

neighbor 10.10.9.1 update-source Loopback0

neighbor 10.10.9.1 next-hop-self

no auto-summary


你可能感兴趣的:(quagga)