In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Experimental topology:
Note: Only R2 and R3 routers are used here.
II. Experimental requirements:
1. Add Lo1:20.20.20.20 after R2 and announce that it is in BGP process;
2. Deploy static routing outbound interfaces on R3 (must be yes, otherwise inheritance occurs);
3. R3 announces 20.20.20.20 under BGP process;
4. Grab traffic on R3 and deploy route-map so that the next hop of the optimal path of 20.20.20.20 is 2.2.2.2.
5. Check whether the next hop of route 20.20.20.20 on R3 is 0.0.0.0. Is there a loop risk?
6. Verify: After deployment 4, whether the next hop of the optimal path is 2.2.2.2
III. Command deployment:
1, 2, 3 Deployment:
R2(config)#int lo1
R2(config-if)#ip add 20.20.20.20 255.255.255.0
R2(config)#router bgp 123
R2(config-router)#network 20.20.20.0 mask 255.255.255.0
R3(config)#ip route 20.20.20.0 255.255.255.0 f0/0
R3(config)#router bgp 123
R3(config-router)#network 20.20.20.0 mask 255.255.255.0
4. Deployment:
R3(config)#access-list 10 permit 20.20.20.0 0.0.0.255
R3(config)#route-map pl permit 10
R3(config-route-map)#match ip address 10
R3(config-route-map)#set weight 32768
R3(config-route-map)#route-map pl permit 20
R3(config-route-map)#match ip address 10
R3(config-route-map)#set local-preference 200
R3(config-route-map)#route-map permit 1000
R3(config)#router bgp 123
R3(config-router)#neighbor 2.2.2.2 route-map pl in
IV. Verification:
1, 2, 3 Verification after deployment:
R3#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 20.20.20.0/24 0.0.0.0 0 32768 I
i 2.2.2.2 0 100 0 i
R2#show ip bgp
Network Next Hop Metric LocPrf Weight Path
i20.20.20.0/24 3.3.3.3 0 100 0 i
*> 0.0.0.0 0 32768 i
4. Verification after deployment:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.