Cisco ASR1001 Tungsten Fabric

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску

При неправильной настройке rt import/export маршруты не видны

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.80.3.55      4        65000      48      36       17    0    0 00:14:15        3
10.80.3.56      4        65000      48      37       17    0    0 00:14:15        3
10.80.3.57      4        65000      31      36       17    0    0 00:14:15        0
10.80.3.58      4        65000      31      35       17    0    0 00:14:15        0

тут 3 это только те три маршрута что имеют route-target 65000:10001

vrf definition tf-public
 rd 65000:10001
 route-target export 65000:10001
 route-target import 65000:10001
 !
 address-family ipv4
 exit-address-family
l3vpn encapsulation ip MGRE 
  transport ipv4 source <Loopback_interface> 
interface Loopback10 
  ip address 192.0.2.1 255.255.255.255
!
interface Loopback11 
  ip address 192.0.2.2 255.255.255.255 !

interface Tunnel10 
  ip address 192.0.2.129 255.255.255.252 
  tunnel source Loopback10 
  tunnel destination 192.0.2.2 
!

interface Tunnel11 vrf forwarding Contrail ip address 192.0.2.130 255.255.255.252 tunnel source Loopback11 tunnel destination 192.0.2.1
vrf definition Contrailrd 64512:10000route-target export 64512:10000route-target import 64512:10000!address-family ipv4exit-address-family