1.VRF Lite基础
VRF Lite可以实现一台PE转发多个实例,为多个不同的客户或业务服务。
![图片[1]-9.3 VRF Lite-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片1-6.png)
1)R1配置
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip address 192.168.11.253 24
2)R2配置
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.2.254 24
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ip address 192.168.21.253 24
3)SW1配置
[SW1]ip vpn-instance dsrw.com_A
[SW1-vpn-instance-dsrw.com_A]route-distinguisher 10:1
[SW1]vlan 10
[SW1]interface Vlanif 10
[SW1-Vlanif10]ip address 192.168.10.254 24
[SW1]vlan 11
[SW1]interface Vlanif 11
[SW1-Vlanif11]ip address 192.168.11.254 24
[SW1]vlan 20
[SW1]interface Vlanif 20
[SW1-Vlanif20]ip address 192.168.20.254 24
[SW1]vlan 21
[SW1]interface Vlanif 21
[SW1-Vlanif21]ip address 192.168.21.254 24
[SW1]ip route-static 192.168.1.0 24 192.168.11.253
[SW1]ip route-static vpn-instance dsrw.com_A 192.168.2.0 24 192.168.21.253
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容