Vrf Selector Base on Source Address / 基于源的VRF选择

Vrf Selector Base on Source Address / 基于源的VRF选择

 

 

1、底层配置
2、AS 100运行IGP(isis)
3、AS 100运行LDP
4、建立MP-IBGP关系(其中R3作为反射器)
5、R3/R4开VRF连接CE,并运行BGP
6、R2开VRF A & B,不关联任何接口
7、CE R1写默认指向R2
8、R2作基于源VRF选择

ip vrf ABC
rd 1:1
route-target im 5:5
route-target ex 1:1

r2(config)#vrf selection source 1.1.1.0 255.255.255.0 vrf A
r2(config)#intface f0/0.12
r2(config-if)#ip vrf select source

9、写静态路由
ip route vrf A 1.1.1.1 255.255.255.255 f0/0.12 12.1.1.1
ip route vrf B 11.1.1.1 255.255.255.255 f0/0.12 12.1.1.1
在将两条静态在各自的vrf中通告

注:需要7200ios最高版本才能实施。

posted @ 2020-04-27 20:44  cyrusxx  阅读(260)  评论(0编辑  收藏  举报