In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
This article analyzes "how to implement MPLS and LDP tag distribution". The content is detailed and easy to understand, and friends who are interested in "how to achieve MPLS and LDP tag distribution" can follow the editor's idea to read it slowly and deeply. I hope it will be helpful to everyone after reading. Let's learn more about "how to distribute MPLS and LDP tags" with the editor.
Lab requirements:
1. Purpose-based LDP session
2. Advertise via LDP control tag
3. MPLS LDP inbound tag bundling filtering
Description of the topology environment:
1. All interconnected IP are shown in the figure.
2. The Loopback0 port address of all the devices is X.XUniver 32Magi X, which is the equipment number.
3. All devices run OSPF to advertise directly connected network segment addresses and Loopback addresses
4. All devices are running in the MPLS domain
Basic implementation:
1) implementation of OSPF protocol
2) basic implementation of MPLS
Implement the command:
Globally:
Mpls label range 100 199
Mpls label protocol ldp
Mpls ldp router-id Loopback0 force
Under the API:
Mpls ip
Achieve the result:
Show mpls ldp neighbor
Show mpls ldp bindings
Show mpls forwarding-table
The experimental requirements are realized:
1. Implementation method: configure a purpose-based LDP neighbor relationship on R2, and configure R4 to receive only destination-based LDP sessions initiated by a specific LDP router, that is, R2.
Command implementation:
Configuration on R2:
Mplsldp neighbor 4.4.4.4 targeted ldp
Configuration on R4:
Mplsldp discovery targeted-hello accept from accpet-ldp
Ipaccess-list standard accpet-ldp
Permit2.2.2.2
Achieve the result:
Show mpls ldp neighbor 4.4.4.4 detail
2. Implement the command:
Configuration of R3:
Nompls ldp advertise-labels [if the command is not configured, R3 will still advertise the tags of all prefixes through LDP]
Mpls ldp advertise-labels for 1 to 2
Access-list1 permit 1.1.1.1
Access-list1 permit 2.2.2.2
Access-list1 deny any
Access-list2 permit 4.4.4.4
Access-list2 deny any
Inspection results command:
Configuration on R3:
Show mpls ldp bindings advertisement-acls
Configuration on R4:
Show mpls ldp bindings 3.3.3.3 detail
Achieve the result:
Extension: advertise all bundles of all prefixes to other LDP peers
Implement the command:
Configuration on R3:
Mpls ldp advertise-labels for other-prefixes to other-ldp-peers
Ip access-list standard other-ldp-peers
Deny 4.4.4.4
Permit any
Ip access-list standard other-prefixes
Permit any
3. Implement the command:
Configuration on R4:
Mpls ldp neighbor 5.5.5.5 labels accept 1
Access-list1 permit 5.5.5.5
Access-list1 permit 2.2.2.2
Access-list1 permit 3.3.3.3
Access-list1 permit 1.1.1.1
Achieve the result:
On how to achieve MPLS and LDP tag distribution to share here, I hope that the above content can make you improve. If you want to learn more knowledge, please pay more attention to the editor's updates. Thank you for following the website!
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.