BGP+VPN静态路由

BGP+VPN静态路由

ID:38173474

大小:110.42 KB

页数:7页

时间:2019-06-06

BGP+VPN静态路由_第1页
BGP+VPN静态路由_第2页
BGP+VPN静态路由_第3页
BGP+VPN静态路由_第4页
BGP+VPN静态路由_第5页
资源描述:

《BGP+VPN静态路由》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、一、拓扑:二.配置:AR1:ipvpn-instancechenipv4-familyroute-distinguisher100:200vpn-target200:100100:200export-extcommunityvpn-target200:100100:200import-extcommunity#mplslsr-id1.1.1.1mplslsp-triggerall#mplsldp#interfaceGigabitEthernet0/0/0ipaddress192.168.1.1255.255.255.0mplsmplsldp##interfaceG

2、igabitEthernet0/0/1.1974dot1qterminationvid1974ipbindingvpn-instancechenipaddress172.168.1.1255.255.255.0arpbroadcastenable#interfaceNULL0#interfaceLoopBack0ipaddress1.1.1.1255.255.255.0#bgp1peer3.3.3.3as-number1peer3.3.3.3connect-interfaceLoopBack0#ipv4-familyunicastundosynchronizati

3、onnetwork1.1.1.0255.255.255.0peer3.3.3.3enable#ipv4-familyvpnv4policyvpn-targetpeer3.3.3.3enable#ipv4-familyvpn-instancechenimport-routedirect#ospf1area0.0.0.0network0.0.0.0255.255.255.255AR2:mplslsr-id2.2.2.2mplslsp-triggerall#mplsldp#interfaceGigabitEthernet0/0/0ipaddress192.168.1.2

4、255.255.255.0mplsmplsldp#interfaceGigabitEthernet0/0/1ipaddress192.168.2.1255.255.255.0mplsmplsldp#interfaceLoopBack0ipaddress2.2.2.2255.255.255.0#ospf1area0.0.0.0network0.0.0.0255.255.255.255AR3:#ipvpn-instancechenipv4-familyroute-distinguisher100:200vpn-target100:200export-extcommun

5、ityvpn-target100:200import-extcommunity#mplslsr-id3.3.3.3mplslsp-triggerall#mplsldp#interfaceGigabitEthernet0/0/0ipaddress192.168.2.2255.255.255.0mplsmplsldp#interfaceGigabitEthernet0/0/1#interfaceGigabitEthernet0/0/1.100dot1qterminationvid100ipbindingvpn-instancechenipaddress172.168.

6、2.1255.255.255.0arpbroadcastenable#interfaceNULL0#interfaceLoopBack0ipaddress3.3.3.3255.255.255.0#bgp1peer1.1.1.1as-number1peer1.1.1.1connect-interfaceLoopBack0#ipv4-familyunicastundosynchronizationpeer1.1.1.1enable#ipv4-familyvpnv4policyvpn-targetpeer1.1.1.1enable#ipv4-familyvpn-inst

7、ancechenimport-routedirectimport-routestatic#ospf1area0.0.0.0network0.0.0.0255.255.255.255#iproute-staticvpn-instancechen192.168.20.0255.255.255.0172.168.2.2SW1:VLAN1974interfaceGigabitEthernet0/0/1portlink-typetrunkporttrunkallow-passvlan2to4094#interfaceGigabitEthernet0/0/2portlink-

8、typea

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。