欢迎来到天天文库
浏览记录
ID:27716649
大小:272.82 KB
页数:11页
时间:2018-12-05
《bgp mpls vpn配置实例》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、BGPMPLSVPN配置实验网络拓扑配置文件PE1:ospf1area0.0.0.0network10.0.0.00.0.0.3network1.1.1.10.0.0.0(igp)interfaceLoopBack0ipaddress1.1.1.1255.255.255.255ospfenable1area0.0.0.0(端口使能ospf)interfaceEthernet0/0/0ipaddress10.0.0.1255.255.255.252ospfenable1area0.0.0.0(端口使能ospf)bgp65115router-id1.1.1.1peer3.3.3.3as-numb
2、er65115peer3.3.3.3connect-interfaceLoopBack0(配置bgp)ipv4-familyunicastundosynchronizationnetwork1.1.1.1255.255.255.255network10.0.0.0255.255.255.252peer2.2.2.2enablepeer3.3.3.3enable(宣告网络)mplslsr-id1.1.1.1mplslsp-triggerallmplsldp(使能mpls)interfaceEthernet0/0/0mplsmplsldp(端口使能mpls)ipvpn-instanceVPN1i
3、pv4-familyroute-distinguisher100:1vpn-target111:1export-extcommunityvpn-target111:1import-extcommunity(配置VPN1)ipvpn-instanceVPN2ipv4-familyroute-distinguisher200:1vpn-target222:1export-extcommunityvpn-target222:1import-extcommunity(配置VPN2)interfaceEthernet0/0/1ipbindingvpn-instanceVPN1ipaddress10.0
4、.0.13255.255.255.252(端口绑定VPN)interfaceGigabitEthernet0/0/0ipbindingvpn-instanceVPN2ipaddress10.0.0.9255.255.255.252(端口绑定VPN)bgp65115ipv4-familyvpnv4policyvpn-targetpeer2.2.2.2enablepeer3.3.3.3enable(建立邻居关系)ipv4-familyvpn-instanceVPN1import-routedirectimport-routestatic(配置vpn路由)ipv4-familyvpn-instan
5、ceVPN2import-routedirectimport-routestatic(配置vpn路由)iproute-staticvpn-instanceVPN10.0.0.00.0.0.010.0.0.14iproute-staticvpn-instanceVPN20.0.0.00.0.0.010.0.0.10(配置vpn静态路由)P:ospf1area0.0.0.0network10.0.0.00.0.0.3network10.0.0.40.0.0.3network2.2.2.20.0.0.0(igp)interfaceEthernet0/0/0ipaddress10.0.0.2255.
6、255.255.252ospfenable1area0.0.0.0interfaceEthernet0/0/1ipaddress10.0.0.5255.255.255.252ospfenable1area0.0.0.0(端口使能ospf)bgp65115router-id2.2.2.2peer1.1.1.1as-number65115peer1.1.1.1connect-interfaceLoopBack0peer3.3.3.3as-number65115peer3.3.3.3connect-interfaceLoopBack0(配置bgp)ipv4-familyunicastundosyn
7、chronizationnetwork2.2.2.2255.255.255.255network10.0.0.0255.255.255.252network10.0.0.4255.255.255.252peer1.1.1.1enablepeer3.3.3.3enable(宣告网络)mplslsr-id2.2.2.2mplslsp-triggerallmplsldp(使能mpls)interfaceEthern
此文档下载收益归作者所有