华为设备配置LDP跨域扩展

网友投稿 271 2022-09-17


华为设备配置LDP跨域扩展

1. 配置IP地址

[LSR1-GigabitEthernet0/0/0]ip add 10.1.1.1 24

[LSR1-LoopBack0]ip add 1.1.1.1 32

[LSR2-GigabitEthernet0/0/0]ip add 20.1.1.2 24

[LSR2-LoopBack0]ip add 2.2.2.2 32

[LSR3-GigabitEthernet0/0/0]ip add 20.1.2.3 24

[LSR3-LoopBack0]ip add 3.3.3.3 32

[LSR4-GigabitEthernet0/0/0]ip add 10.1.1.4 24

[LSR4-GigabitEthernet0/0/1]ip add 20.1.1.4 24

[LSR4-GigabitEthernet0/0/2]ip add 20.1.2.4 24

[LSR4-LoopBack0]ip add 4.4.4.4 32

2. 配置IS-IS协议的基本功能

[LSR1]isis 1

[LSR1-isis-1]is-level level-2

[LSR1-isis-1]network-entity 10.0010.0100.0001.00

[LSR1-GigabitEthernet0/0/0]isis enable 1

[LSR1-LoopBack0]isis enable 1

[LSR2]isis 1

[LSR2-isis-1]is-level level-1

[LSR2-isis-1]network-entity 20.0010.0100.0002.00

[LSR2-GigabitEthernet0/0/0]isis enable 1

[LSR2-LoopBack0]isis enable 1

[LSR3]isis 1

[LSR3-isis-1]is-level level-1

[LSR3-isis-1]network-entity 20.0010.0200.0003.00

[LSR3-GigabitEthernet0/0/0]isis enable 1

[LSR3-LoopBack0]isis enable 1

[LSR4]isis 1

[LSR4-isis-1]network-entity 20.0010.0300.0004.00

[LSR4-GigabitEthernet0/0/0]isis enable 1

[LSR4-GigabitEthernet0/0/0]isis circuit-level level-2

[LSR4-GigabitEthernet0/0/1]isis enable 1

[LSR4-GigabitEthernet0/0/1]isis circuit-level level-1

[LSR4-GigabitEthernet0/0/2]isis enable 1

[LSR4-GigabitEthernet0/0/2]isis circuit-level level-1

[LSR4-LoopBack0]isis enable 1

3. 配置聚合路由的策略

[LSR4]isis 1

[LSR4-isis-1]summary 20.1.0.0 255.255.0.0 avoid-feedback

4. 配置各节点全局和接口的MPLS和MPLS LDP能力,使网络能够转发MPLS流量,并查看LSP建立情况

[LSR1]mpls lsr-id 1.1.1.1

[LSR1]mpls

[LSR1]mpls ldp

[LSR1-GigabitEthernet0/0/0]mpls

[LSR1-GigabitEthernet0/0/0]mpls ldp

[LSR2]mpls lsr-id 2.2.2.2

[LSR2]mpls

[LSR2]mpls ldp

[LSR2-GigabitEthernet0/0/0]mpls

[LSR2-GigabitEthernet0/0/0]mpls ldp

[LSR3]mpls lsr-id 3.3.3.3

[LSR3]mpls

[LSR3]mpls ldp

[LSR3-GigabitEthernet0/0/0]mpls

[LSR3-GigabitEthernet0/0/0]mpls ldp

[LSR4]mpls lsr-id 4.4.4.4

[LSR4]mpls

[LSR4]mpls ldp

[LSR4-GigabitEthernet0/0/0]mpls

[LSR4-GigabitEthernet0/0/0]mpls ldp

[LSR4-GigabitEthernet0/0/1]mpls

[LSR4-GigabitEthernet0/0/1]mpls ldp

[LSR4-GigabitEthernet0/0/2]mpls

[LSR4-GigabitEthernet0/0/2]mpls ldp

5. 配置LDP跨域扩展

[LSR1]mpls ldp

[LSR1-mpls-ldp]longest-match

6. 检查配置


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:各位网工,地址,你会分类吗?(网工是什么)
下一篇:SpringBoot实现监控Actuator,关闭redis监测
相关文章

 发表评论

暂时没有评论,来抢沙发吧~