通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2022-10-28
跳转到指定楼层
1#
发表于 2023-5-16 09:43:33 |只看该作者 |倒序浏览
配置静态LSP实验
  • [ ]  下一跳IP配置成链路本端设备IP和对端设备IP有什么差别
    在配置LSP的过程中,下一跳选择本端IP的话,LSP的状态是down,改为对端IP后UP

静态LSP配置过程
  • 配置端口及loo0IP地址
  • 配置IGP,这里是OSPF
  • 使能全局MPLS、使能端口MPLS
  • 配置从R1至R4
    [LSRD] static-lsp ingress RDtoRA destination 1.1.1.9 32 nexthop 10.4.1.1 out-label 30# 配置Transit LSRC。[LSRC] static-lsp transit RDtoRA incoming-interface pos 2/0/0 in-label 30 nexthop 10.3.1.1 out-label 60# 配置Egress LSRA。[LSRA] static-lsp egress RDtoRA incoming-interface pos 2/0/0 in-label 60
  • 配置从R4至R1
  • 测试命令

    • display mpls lsp
    • ping LSP IP x.x.x.x. mask
Scriptsaveysyssys R1undo info enint loop0ip add 1.1.1.1#mpls lsr-id 1.1.1.1mpls # int e0/0/0ip add 10.0.12.1 24mplsint e0/0/1ip add 10.0.13.1 24mpls#ospf 1area 0net 10.0.12.0 0.0.0.255net 10.0.13.0 0.0.0.255net 1.1.1.1 0.0.0.0#syssys R2undo info enint loop0ip add 2.2.2.2 32#mpls lsr-id 2.2.2.2mpls # int e0/0/0ip add 10.0.12.2 24mplsint e0/0/1ip add 10.0.24.1 24mpls#ospf 1area 0net 10.0.12.0 0.0.0.255net 10.0.24.0 0.0.0.255net 2.2.2.2 0.0.0.0#syssys R3undo info enint loop0ip add 3.3.3.3 32#mpls lsr-id 3.3.3.3 mpls # int e0/0/0ip add 10.0.13.2 24mplsint e0/0/1ip add 10.0.34.1 24mpls#ospf 1area 0net 10.0.13.0 0.0.0.255net 10.0.34.0 0.0.0.255net 3.3.3.3 0.0.0.0#syssys R4undo info enint loop0ip add 4.4.4.4 32#mpls lsr-id 4.4.4.4 mpls # int e0/0/0ip add 10.0.24.1 24mplsint e0/0/1ip add 10.0.34.2 24mpls#ospf 1area 0net 10.0.24.0 0.0.0.255net 10.0.34.0 0.0.0.255net 4.4.4.4 0.0.0.0#

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-4-27 01:18 , Processed in 0.087554 second(s), 16 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部