Board logo

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

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

R4(PE-ASBR):
mpls label range 400 499
mpls label protocol ldp

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




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