cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2573
Views
25
Helpful
10
Replies

MPLS VPN command help

praveen rai
Level 1
Level 1

Hi Expert,

 

I was doing MPLS VPN LAB in which I have 1 customer having 2 sites connected through MPLS VPN. now on both end PE router I use different RD value instead of same like on PE1 RD is 1:1 and on PE2 RD is 2:2 and I am running BGP routing protocol between PE to CE. Every thing working fine

except few output differences like when I run command on PE1 router becoz of 2 different RD it list prefixes in both RD.

PE3#sh ip bgp vpnv4 all | b Network
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 1:1
 *>i 11.1.1.1/32      1.1.1.1                 11    100      0 200 ?
 *>i 11.11.11.11/32   1.1.1.1                  0    100      0 200 ?
 *>i 192.168.10.0     1.1.1.1                  0    100      0 200 ?
Route Distinguisher: 2:2 (default for vrf site2)
 *>i 11.1.1.1/32      1.1.1.1                 11    100      0 200 ?
 *>i 11.11.11.11/32   1.1.1.1                  0    100      0 200 ?
 *>  33.3.3.3/32      10.0.3.2                11             0 200 ?
 *>  33.33.33.33/32   10.0.3.2                 0             0 200 ?
 *>i 192.168.10.0     1.1.1.1                  0    100      0 200 ?
 *>  192.168.20.0     10.0.3.2                 0             0 200 ?

so now here I want to know why PE3 has RD 1:1 column when PE3 doesn't have RD value 1:1.on PE3 I config 2:2 as RD and prefixes listed under it understood able. so please explain it to me.

 

my second question is when I run command ,Show ip bgp vpnv4 vrf site2 11.1.1.1/32  output list as below

 

PE3#show ip bgp vpnv4 vrf site2  11.1.1.1/32
BGP routing table entry for 2:2:11.1.1.1/32, version 95
Paths: (1 available, best #1, table site2)
  Advertised to update-groups:
     10
  Refresh Epoch 1
  200, imported path from 1:1:11.1.1.1/32 (global)
    1.1.1.1 (metric 21) (via default) from 1.1.1.1 (1.1.1.1)
      Origin incomplete, metric 11, localpref 100, valid, internal, best
      Extended Community: RT:100:1
      mpls labels in/out nolabel/110
      rx pathid: 0, tx pathid: 0x0

here what (global) means as it is MPLS VPN environment then why it list prefix global. Does global means global routing table if it does mean then i also checked global routing table and prefixes not listed there I don't know why it mention global in output. 

 

yes I notice one thing we we use same RD value it will might not mention (global) after prefix but if we use different RD value for 1 customer sites then it mention. have a look  this output

PE3#show ip bgp vpnv4 all 11.1.1.1/32
BGP routing table entry for 1:1:11.1.1.1/32, version 92
Paths: (1 available, best #1, no table)
  Not advertised to any peer
  Refresh Epoch 1
  200
    1.1.1.1 (metric 21) (via default) from 1.1.1.1 (1.1.1.1)
      Origin incomplete, metric 11, localpref 100, valid, internal, best
      Extended Community: RT:100:1
      mpls labels in/out nolabel/110
      rx pathid: 0, tx pathid: 0x0
BGP routing table entry for 2:2:11.1.1.1/32, version 95
Paths: (1 available, best #1, table site2)
  Advertised to update-groups:
     10
  Refresh Epoch 1
  200, imported path from 1:1:11.1.1.1/32 (global)
    1.1.1.1 (metric 21) (via default) from 1.1.1.1 (1.1.1.1)
      Origin incomplete, metric 11, localpref 100, valid, internal, best
      Extended Community: RT:100:1
      mpls labels in/out nolabel/110
      rx pathid: 0, tx pathid: 0x0