ISIS+BGP

来源:互联网 发布:马云谈网络暴力 编辑:程序博客网 时间:2024/05/21 10:22

原作者:枫叶

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 Loopback0ip address 1.1.1.1 255.255.255.0ip router isis test!interface FastEthernet0/0ip address 10.10.11.1 255.255.255.0ip router isis testduplex full!interface Ethernet1/0ip address 10.10.10.1 255.255.255.0ip router isis testduplex full!


router isis testnet 49.0001.0010.0100.1001.00!!router bgp 100no synchronizationbgp log-neighbor-changesneighbor 10.10.10.2 remote-as 100neighbor 10.10.10.2 route-reflector-clientneighbor 10.10.10.2 next-hop-selfneighbor 10.10.11.2 remote-as 100neighbor 10.10.11.2 route-reflector-clientneighbor 10.10.11.2 next-hop-selfno auto-summary


R2


interface Loopback0ip address 2.2.2.2 255.255.255.0ip router isis test!interface FastEthernet0/0ip address 10.10.11.2 255.255.255.0ip router isis testduplex full!

router isis testnet 49.0001.0020.0200.2002.00!router bgp 100no synchronizationbgp log-neighbor-changesredistribute isis test level-1-2neighbor 10.10.11.1 remote-as 100neighbor 10.10.11.1 next-hop-selfneighbor 10.10.12.2 remote-as 20neighbor 10.10.12.2 next-hop-selfno auto-summary!


R3


interface Loopback0ip address 3.3.3.3 255.255.255.0ip router isis test!interface Ethernet2/0ip address 10.10.10.2 255.255.255.0ip router isis testduplex full!

router isis testnet 49.0001.0030.0300.3003.00!router bgp 100no synchronizationbgp log-neighbor-changesredistribute isis test level-1-2neighbor 10.10.9.2 remote-as 10neighbor 10.10.9.2 next-hop-selfneighbor 10.10.10.1 remote-as 100neighbor 10.10.10.1 next-hop-selfno auto-summary!


R4



router bgp 20no synchronizationbgp log-neighbor-changesneighbor 10.10.12.1 remote-as 100neighbor 10.10.12.1 next-hop-selfno auto-summary

R5

router bgp 10no synchronizationbgp log-neighbor-changesredistribute connectedneighbor 10.10.9.1 remote-as 100neighbor 10.10.9.1 update-source Loopback0neighbor 10.10.9.1 next-hop-selfno auto-summary


0 0