正在加载图片...
router B interface loopback 0 ip address215.10.7.2255.255.255.255 router bgp 10 net 220.220.5.0 nel 215.10.7.1 remote-as100 neighbor 215. 10. 7. l update-source loopback 0 neighbor 215. 10. 7.3 remote-as 100 neighbor 215 10.7.3 update-source loopback 0 3. local preference default:100选用 local preference高的路由 local to as used to influence BGP path selection path with highest local preference selection 例 outer bgp 400 neighbor 220.5. 1. I remote-as 300 neighbor 220. 5. 1. I route-map local-pref in route-map local-pref permit 10 match ip address 1 set local preference 800 access-list l permit 160. 10.0.0. 0. 255. 255 access-list l deny any autonomous- system200定义AS号 router bgp 100 network200.200.4.0mask255.255.252.0 neighbor 200. 200. 7. 224 remote-as 100 neighbor 200. 200. 7. 224 update-source loopback 0 sh ip bgp summar no router bgp 100router B: interface loopback 0 ip address 215.10.7.2 255.255.255.255 router bgp 100 network 220.220.5.0 neighbor 215.10.7.1 remote-as 100 neighbor 215.10.7.1 update-source loopback 0 neighbor 215.10.7.3 remote-as 100 neighbor 215.10.7.3 update-source loopback 0 3. local preference . default: 100 选用 local preference 高的路由 .local to AS . used to influence BGP path selection .path with highest local preference selection 例: router bgp 400 neighbor 220.5.1.1 remote-as 300 neighbor 220.5.1.1 route-map local-pref in route-map local-pref permit 10 match ip address 1 set local preference 800 access-list 1 permit 160.10.0.0 0.0.255.255 access-list 1 deny any Example: autonomous-system 200 定义 AS 号 router bgp 100 network 200.200.4.0 mask 255.255.252.0 neighbor 200.200.7.224 remote-as 100 neighbor 200.200.7.224 update-source loopback 0 sh ip bgp summary sh ip bgp no router bgp 100
<<向上翻页
©2008-现在 cucdc.com 高等教育资讯网 版权所有