Board logo

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

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

R7(PE):
mpls label range 700 799
mpls label protocol ldp

interface Loopback0
ip address 7.7.7.7 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding b
ip address 192.168.78.7 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.67.7 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 200
router-id 7.7.7.7
log-adjacency-changes
network 7.7.7.7 0.0.0.0 area 0
network 192.168.67.0 0.0.0.255 area 0
!
router rip
!
address-family ipv4 vrf b
redistribute bgp 200 metric transparent
network 192.168.78.0
no auto-summary
version 2
exit-address-family
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 6.6.6.6 remote-as 200
neighbor 6.6.6.6 update-source Loopback0
!
address-family ***v4
neighbor 6.6.6.6 activate
neighbor 6.6.6.6 send-community extended
exit-address-family
!
address-family ipv4 vrf b
redistribute rip
no synchronization
exit-address-family
!
mpls ldp router-id Loopback0




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