欢迎来到天天文库
浏览记录
ID:57153531
大小:621.00 KB
页数:35页
时间:2020-08-02
《bgp mpls vpn实验操作部分.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、BGP/MPLSVPN实验操作配置MPLS配置MP-BGP配置调试命令TroubleshootingMPLS的配置全局模式下:Lsr的ID,可以配置成与routerid相同。mplslsr-id10.5.80.250!在全局模式启动LDP协议mplsldp!在接口上启动LDPSessioninterfaceEthernet4/1/0ipaddress10.5.3.93255.255.255.252mplsldpenable查看MPLS的邻居状态[NE16E_01]dismplsldpsessionShowinginfor
2、mationaboutallsessions:PeerLDPID:10.0.0.41:0;LocalLDPID:10.0.0.1:1Tcpconnection:10.0.0.41-10.0.1.198SessionState:OperationalSessionRole:ActiveSessionexistedtime:11days5hours47minutes32secondsKeepAlivepacketsent/received:40467/38849NegotiatedValueofKeepaliveTimer:
3、60PeerPVLimit:0LDPdiscoveryInterface:Pos3/1/0查看MPLS的标签分配情况[NE16E_01]dismplslspbriefTotal:60Record(s)MatchedIDI/O-LabelIn-InterfacePrefix/MaskNext-Hop1---/3----------10.0.0.2/3210.0.1.2216/---Pos3/1/010.0.0.2/3210.0.1.2317/---Pos4/1/010.0.0.2/3210.0.1.24---/24----
4、------10.0.0.26/3210.0.1.2522/24Pos3/1/010.0.0.26/3210.0.1.2623/24Pos4/1/010.0.0.26/3210.0.1.27---/27----------10.0.0.27/3210.0.1.2825/27Pos3/1/010.0.0.27/3210.0.1.2926/27Pos4/1/010.0.0.27/3210.0.1.210---/1036----------10.0.0.31/3210.0.1.1571128/1036Pos3/1/010.0.
5、0.31/3210.0.1.1571229/1036Pos5/1/010.0.0.31/3210.0.1.15713---/33----------10.0.0.28/3210.0.1.21431/33Pos3/1/010.0.0.28/3210.0.1.21532/33Pos4/1/010.0.0.28/3210.0.1.2配置MPLS配置MP-BGP配置配置vpn-intstance配置RD配置RT配置PE到CE之间的连接将vpn-intstance与接口关连PE与CE之间的路由协议配置MP-BGP调试命令Troub
6、leshootingPE上的配置Vpnintstance配置:ipvpn-instanceVPN-HW创建一个VRF并命名。同时进入vrf配置模式RD配置:在VRF模式下,每个VRF配置一个RD,建议相同的VPN配置相同的RD。router-distinguisher100:1RT配置:在VRF模式下,每个VRF配置不同的RT列表,如果只要一个RT,建议与RD配成相同。vpn-target100:1import-extcommunityvpn-target100:1export-extcommunityPE上的配置PEC
7、EVPN-HWVPN-HWCEVPN-3COMVRFVPN-HWVRFVPN-3COMCE北京上海纽约ipvpn-intstanceVPN-HWrouter-dis100:1vpn-target100:1exportvpn-target100:1importipvpn-intstanceVPN-3COMrouter-dis100:2route-targetexport100:2route-targetimport100:2VRFforVPN-HW(RT100:1)北京routes上海routesVRFforVPN-B
8、(RT100:2)纽约routes将vpn-instance与接口关连在与某个VPN相连的接口下配置如下命令:ipbindingvpn-instanceVPN-HWinterfaceEthernet3/2/0ipbindingvpn-instanceVPN-HWipaddress10.2.80.254255.255
此文档下载收益归作者所有