Подскажите как сделать экспорт из таблицы роутинга определенного VRF в глобальную таблицу маршрутизации.
>Подскажите как сделать экспорт из таблицы роутинга определенного VRF в глобальную таблицу
>маршрутизации.статикой
BGP
>BGP
bgp redistribute-internal
так что ли ?
>>BGP
>
>
>bgp redistribute-internal
>так что ли ?
а в ответ тишина...
так как динамически перераспределить то ?
>>>BGP
>>
>>
>>bgp redistribute-internal
>>так что ли ?
>
>
>а в ответ тишина...
>так как динамически перераспределить то ?
cisco search -> route leaking vrf
>>>>BGP
>>>
>>>
>>>bgp redistribute-internal
>>>так что ли ?
>>
>>
>>а в ответ тишина...
>>так как динамически перераспределить то ?
>
>
>cisco search -> route leaking vrf
нахожу только статику, если не сложно можно еще ключи для поиска или примую ссылку.
Заранее благодарю!
пример:ip vrf VRF_GLOBAL
rd 64512:55
route-target export 64512:55
route-target import 64512:55
route-target import 64512:100
!
ip vrf VRF_INTERNAL
rd 64512:52
route-target export 64512:52
route-target import 64512:52
route-target import 64512:100
!
ip vrf VRF_OUTSIDE
rd 64512:100
route-target export 64512:100
route-target import 64512:100
route-target import 64512:52
route-target import 64512:55router ospf 52 vrf VRF_INTERNAL
log-adjacency-changes
redistribute bgp 64512 subnets
passive-interface default
no passive-interface GigabitEthernet0/1.760
network 192.168.60.0 0.0.0.255 area 0
!
router ospf 55 vrf VRF_GLOBAL
log-adjacency-changes
redistribute static subnets route-map CCM
redistribute bgp 64512 subnets
passive-interface default
no passive-interface GigabitEthernet0/1.99
no passive-interface GigabitEthernet0/1.869
network 192.168.38.0 0.0.0.255 area 0
!
router ospf 100 vrf VRF_OUTSIDE
router-id 10.254.4.2
log-adjacency-changes
summary-address 192.168.32.0 255.255.224.0
redistribute bgp 64512
network 10.254.4.0 0.0.0.255 area 0
!
router ospf 58
log-adjacency-changes
passive-interface default
no passive-interface GigabitEthernet0/1.41
network 192.168.39.0 0.0.0.63 area 0
router bgp 64512
bgp router-id 10.254.1.5
bgp log-neighbor-changes
!
address-family ipv4
redistribute ospf 58
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf VRF_OUTSIDE
redistribute ospf 100 vrf VRF_OUTSIDE match internal external 1 external 2
neighbor 10.254.1.6 remote-as 20485
neighbor 10.254.1.6 activate
neighbor 10.254.1.6 prefix-list MPLS out
no synchronization
network 10.254.2.0 mask 255.255.255.0
exit-address-family
!
address-family ipv4 vrf VRF_INTERNAL
redistribute connected
redistribute ospf 52 vrf VRF_INTERNAL
no synchronization
exit-address-family
!
address-family ipv4 vrf VRF_GLOBAL
redistribute connected
redistribute ospf 55 vrf VRF_GLOBAL
no synchronization
exit-address-family
Здеся подробнее:
http://www.cisl.ucar.edu/nets/devices/routers/cisco/vrf/test...
>пример:
>
>ip vrf VRF_GLOBAL
> rd 64512:55
> route-target export 64512:55
> route-target import 64512:55
> route-target import 64512:100
>!
>ip vrf VRF_INTERNAL
> rd 64512:52
> route-target export 64512:52
> route-target import 64512:52
> route-target import 64512:100
>!
>ip vrf VRF_OUTSIDE
> rd 64512:100
> route-target export 64512:100
> route-target import 64512:100
> route-target import 64512:52
> route-target import 64512:55
>
>router ospf 52 vrf VRF_INTERNAL
> log-adjacency-changes
> redistribute bgp 64512 subnets
> passive-interface default
> no passive-interface GigabitEthernet0/1.760
> network 192.168.60.0 0.0.0.255 area 0
>!
>router ospf 55 vrf VRF_GLOBAL
> log-adjacency-changes
> redistribute static subnets route-map CCM
> redistribute bgp 64512 subnets
> passive-interface default
> no passive-interface GigabitEthernet0/1.99
> no passive-interface GigabitEthernet0/1.869
> network 192.168.38.0 0.0.0.255 area 0
>!
>router ospf 100 vrf VRF_OUTSIDE
> router-id 10.254.4.2
> log-adjacency-changes
> summary-address 192.168.32.0 255.255.224.0
> redistribute bgp 64512
> network 10.254.4.0 0.0.0.255 area 0
>!
>router ospf 58
> log-adjacency-changes
> passive-interface default
> no passive-interface GigabitEthernet0/1.41
> network 192.168.39.0 0.0.0.63 area 0
>router bgp 64512
> bgp router-id 10.254.1.5
> bgp log-neighbor-changes
> !
> address-family ipv4
> redistribute ospf 58
> no auto-summary
> no synchronization
> exit-address-family
> !
> address-family ipv4 vrf VRF_OUTSIDE
> redistribute ospf 100 vrf VRF_OUTSIDE match internal external 1 external 2
>
> neighbor 10.254.1.6 remote-as 20485
> neighbor 10.254.1.6 activate
> neighbor 10.254.1.6 prefix-list MPLS out
> no synchronization
> network 10.254.2.0 mask 255.255.255.0
> exit-address-family
> !
> address-family ipv4 vrf VRF_INTERNAL
> redistribute connected
> redistribute ospf 52 vrf VRF_INTERNAL
> no synchronization
> exit-address-family
> !
> address-family ipv4 vrf VRF_GLOBAL
> redistribute connected
> redistribute ospf 55 vrf VRF_GLOBAL
> no synchronization
> exit-address-family
И где тут экспорт в глобальную таблицу то ?
что говорит:
sh ip route ?