Board logo

标题: 跨运营商的MPLS ***解决方案3 [打印本页]

作者: look_w    时间: 2019-2-18 13:26     标题: 跨运营商的MPLS ***解决方案3

R5(PE-ASBR):
mpls label range 500 599
mpls label protocol ldp

interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.56.5 255.255.255.0
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
ip address 192.168.45.5 255.255.255.0
duplex auto
speed auto
!
router ospf 200
router-id 5.5.5.5
log-adjacency-changes
redistribute bgp 200 subnets
network 5.5.5.5 0.0.0.0 area 0
network 192.168.56.0 0.0.0.255 area 0
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.45.4 remote-as 100
!
address-family ipv4
neighbor 192.168.45.4 activate
no auto-summary
no synchronization
network 6.6.6.6 mask 255.255.255.255
network 7.7.7.7 mask 255.255.255.255
exit-address-family
!
mpls ldp router-id Loopback0




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0