拓扑是:CE1-PE1-ASBR1-ASBR2-PE2-CE2
编号为1的是AS100内的,编号为2的是AS200内的。
现在是路由正常CE1和CE2分别可以收到对端的路由。
但是mpls的数据流向有问题,从CE1发出去往CE2的数据包没有压VPN标签,而是直接走的普通IP包。
各位高人麻烦谁能给我解释一下。
ASBR1的mpls for:
Rack1R3#sh mpls for
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
300 Pop tag 2.2.2.0/24 0 Se1/0.1 point2point
301 Pop tag 34.1.1.4/32 0 Se1/0.2 point2point
304 409 1:2:6.6.6.0/24 0 Se1/0.2 point2point
305 408 1:2:56.1.1.0/24 0 Se1/0.2 point2point
ASBR2的mpls for:
Rack1R4#sh mpls for
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
400 Pop tag 5.5.5.0/24 0 Se1/0.2 point2point
401 Pop tag 34.1.1.3/32 0 Se1/0.1 point2point
402 303 1:1:1.1.1.1/32 0 Se1/0.1 point2point
403 302 1:1:12.1.1.0/24 0 Se1/0.1 point2point
PE1的配置:
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Rack1R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
ip vrf a
rd 1:1
route-target export 1:12
route-target import 1:12
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
mpls label range 200 299
multilink bundle-name authenticated
!
archive
log config
hidekeys
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial1/0.1 point-to-point
ip vrf forwarding a
ip address 12.1.1.2 255.255.255.0
snmp trap link-status
frame-relay interface-dlci 201
!
interface Serial1/0.2 point-to-point
ip address 23.1.1.2 255.255.255.0
snmp trap link-status
mpls ip
frame-relay interface-dlci 203
!
router eigrp 100
network 2.2.2.0 0.0.0.255
network 23.1.1.0 0.0.0.255
no auto-summary
!
router ospf 1 vrf a
router-id 2.2.2.2
log-adjacency-changes
redistribute bgp 100 subnets
network 12.1.1.2 0.0.0.0 area 0
!
router bgp 100
bgp router-id 1.1.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
!
address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community extended
exit-address-family
!
address-family ipv4 vrf a
redistribute ospf 1 vrf a match internal external 1 external 2
no synchronization
exit-address-family
!
ip forward-protocol nd
!
!mpls ldp router-id Loopback0
!
control-plane
[1] [2] [3] [4] 下一页