MPLS的配置实验

实验拓扑

在这里插入图片描述

配置步骤

1.Core IGP

在MPLS 域内配置

if# ip add 10.1.0.1 255.255.255.255
if# ip add 10.1.12.1 255.255.255.0

con# router rip
 #version 2
 #network 10.0.0.0
 #no auto-summary

2.MPLS

在MPLS域内配置

R1(config)#ip cef
R1(config)#mpls label range 100 199
R1(config)#mpls ldp router-id lo0 force
R1(config)#mpls ip
R1(config)#int s2/1
R1(config-if)#mpls ip
R1(config)#int s2/0
R1(config-if)#mpls ip

检查

R1#show mpls forwarding-table 

3.MBGP

有新旧两种方法可使用

router bgp 1
 bgp router-id 10.1.0.3
 bgp log-neighbor-changes
 !
 scope global
  neighbor 10.1.0.5 remote-as 1
  neighbor 10.1.0.5 update-source Loopb
  • 1
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值