| 
 
| 在一台PE上面 show ip route vrf test和show ip bgp vpnv4 vrf test这两条命令显示的结果不一样7 j4 a; V. a+ G2 X0 P 如图:r7#show ip route vrf test
 ; \% L/ G/ i* L. |" Q1 j+ B) M% {  X
 Routing Table: test
 5 N8 W6 q3 \8 Z; K/ iCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 ( e' H; v: a: Q1 z0 F, w       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 ( X- L' @7 q( X* ]       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 ! T7 U. B' M9 X1 U# e2 p       E1 - OSPF external type 1, E2 - OSPF external type 2
 5 J: Q! K% ~5 h- l! X, j       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-27 V! q% q) l4 M" g1 b
 ia - IS-IS inter area, * - candidate default, U - per-user static route! [! v3 _# V- ?8 s* Y2 ~
 o - ODR, P - periodic downloaded static route
 1 y2 c! P# K, k& X4 A: [9 y1 b: M$ }+ H) Y' S
 Gateway of last resort is not set, c' g4 b& t, @, ^! }( Z
 
 9 V) T, B% U- k2 O, d* F! Y. y     172.17.0.0/30 is subnetted, 1 subnets
 $ v8 n. z: W: nC       172.17.1.24 is directly connected, Serial1/17 p/ j/ R% H2 u1 E1 C; M
 S    192.168.2.0/24 [1/0] via 172.17.1.260 y1 I: }3 x, q1 q4 x) y  t: ^0 j
 192.168.3.0/32 is subnetted, 1 subnets8 Q5 u. ~) m  Z. _2 ^* K
 C       192.168.3.1 is directly connected, Loopback100% f" G  S4 V# p* g) Z3 c6 d
 5 w) ^: d5 d% u7 w* `+ c, b; m
 " N! I' Y$ S$ l+ |$ y
 
 % c2 q7 d7 i. o' cr7#show ip bgp vpnv4 vrf test
 6 }3 ?$ m# O1 ~+ N, wBGP table version is 17, local router ID is 7.7.7.7
 6 q  O$ y" Y; Z; X- g* wStatus codes: s suppressed, d damped, h history, * valid, > best, i - internal,
 4 w6 A. P3 f3 p4 u% s# k, B# S              r RIB-failure, S Stale
 ! E- V! T' ~) t( cOrigin codes: i - IGP, e - EGP, ? - incomplete
 9 _8 r; g" u5 s/ T. `0 m3 M  u1 }# l3 I) D$ p3 \
 Network          Next Hop            Metric LocPrf Weight Path
 4 h! ]3 W" M( WRoute Distinguisher: 1:1 (default for vrf test)
 " U3 ?1 z- w+ m7 `# n* i172.17.1.0/30    5.5.5.5                  0    100      0 100 ?: `5 \0 o2 t4 z7 m( Q* s
 *> 172.17.1.24/30   0.0.0.0                  0         32768 ?3 x  c/ L: z2 [* _/ V- u; |% I
 * i192.168.1.0      5.5.5.5                  0    100      0 100 ?
 8 _  ~: D4 r( ^: c" a+ m*> 192.168.2.0      172.17.1.26              0         32768 ?- p* t5 _3 Y  E% K
 *> 192.168.3.1/32   0.0.0.0                  0         32768 ?0 T5 h& ~+ U! u% J# S
 
 ( @4 m( j& d$ G0 [: f  R
 6 m& B' m% {' T% A) i在show ip route vrf test 中只显示本地的路由条目 而远端的站点的路由已经在MBGP中已经学习到了 (show ip bgp vpnv4 vrf test中有显示)% K, _$ u8 A+ e& b* ]+ L; A6 I. ^
 
 3 b: j  k8 V( l; b' E1 L2 w请问这是原因造成的?
 | 
 |