BGP MPLS VPN配置与排错——H3C.ppt
《BGP MPLS VPN配置与排错——H3C.ppt》由会员分享,可在线阅读,更多相关《BGP MPLS VPN配置与排错——H3C.ppt(28页珍藏版)》请在三一办公上搜索。
1、BGP/MPLS VPN配置与排错,BGP/MPLS VPN实现原理回顾BGP/MPLS VPN配置步骤与排错方法总结与提要,目标,1.巩固BGP/MPLS VPN的原理,3.熟悉MPLS VPN网络的排错方法,2.掌握MPLS VPN的配置方法,PC(CE4),SR88(PE1),S75E(PE2),AS37937,Lo=59.0.0.1,S36(CE1),Lo=59.0.0.2,Gig3/1/1,Vlan10 Gig2/0/1,Gig3/1/20,Gig3/1/19,Vlan20 Gig2/0/24,Vlan 30 Gig2/0/23,192.168.10.1/30,172.32.10.1
2、/24,Lo=192.168.254.10,192.168.12.1/30,172.32.12.1/24,Lo=192.168.255.10,VPN1,一个简单的MPLS VPN组网,172.32.10.2/24,S36(CE3),172.32.12.2/24,192.168.12.2/30,PC(CE2),192.168.10.2/30,VLan20 eth1/0/1,vlan20eth1/0/1,59.0.10.1/30,59.0.10.2/30,VPN2,PC(CE8),SR88(PE3),S75E(PE4),AS37937,Lo=59.0.0.3,S36(CE5),Lo=59.0.0.
3、4,Gig3/1/1,Vlan10 Gig2/0/1,Gig3/1/20,Gig3/1/19,Vlan20 Gig2/0/24,Vlan 30 Gig2/0/23,192.168.1.1/30,172.32.1.1/24,Lo=192.168.254.1,192.168.2.1/30,172.32.2.1/24,Lo=192.168.255.1,VPN1,一个简单的MPLS VPN组网,172.32.1.2/24,S36(CE7),172.32.2.2/24,192.168.2.2/30,PC(CE6),192.168.1.2/30,VLan20 eth1/0/1,vlan20eth1/0/1
4、,59.0.1.1/30,59.0.1.2/30,VPN2,BGP/MPLS VPN实现原理回顾BGP/MPLS VPN配置步骤与排错方法总结与提要,1.配置IGP公网路由协议,2.配置MPLS,3.配置BGP,4.配置VPN,配置PE和CE之间的路由,目标:所有PE和P设备可以互相学到32位loopback地址,目标:所有相邻PE和P设备之间建立LDPsession,并为其32位loopback地址分配MPLS标签,目标:所有PE设备之间普通BGP邻居和BGP vpnv4邻居,目标:PE设备可以学习到直连CE侧的私网路由(以OSPF为例),5.将本端学到的私网路由引入到对应的BGP的VPN实
5、例,将BGP学过来的远端私网路由引入给本端的CE侧。,目标:PE设备可以学习到远端CE侧的私网路由 CE设备可以学习到远端CE侧的私网路由,MPLS VPN的配置步骤与逐步排错方法,1.配置IGP公网路由协议,目标:所有PE和P设备可以互相学到32位loop地址,SR88(PE1),S75(PE2),router id 59.0.0.1 ospf 1 area 0.0.0.0 network 59.0.0.1 0.0.0.0 network 59.0.10.0 0.0.0.3,router id 59.0.0.2 ospf 1 area 0.0.0.0 network 59.0.0.2 0.0
6、.0.0 network 59.0.10.2 0.0.0.3,1.配置IGP公网路由协议,目标:所有PE和P设备可以互相学到32位loop地址,SR88(PE1),PE1dis ip routing-table Routing Tables:Public Destinations:6 Routes:6Destination/Mask Proto Pre Cost NextHop Interface59.0.0.1/32 Direct 0 0 127.0.0.1 InLoop059.0.0.2/32 OSPF 10 1 59.0.10.2 GE3/1/1,1.配置IGP公网路由协议,目标:所有P
7、E和P设备可以互相学到32位loop地址,S75(PE2),PE2dis ip routing-table Routing Tables:Public Destinations:8 Routes:8Destination/Mask Proto Pre Cost NextHop Interface59.0.0.1/32 OSPF 10 1 59.0.10.1 Vlan1059.0.0.2/32 Direct 0 0 127.0.0.1 InLoop0,2.配置MPLS,目标:所有PE和P设备之间建立LDPsession,并为其32位loopback地址分配MPLS标签,SR88(PE1),S75
8、(PE2),mpls lsr-id 59.0.0.1 mpls mpls ldp,mpls lsr-id 59.0.0.2mplsmpls ldp,interface Gig3/1/1ip address 59.0.10.1 255.255.255.252 mpls mpls ldp,interface VLAN 10 ip address 59.0.10.2 255.255.255.252 mpls mpls ldp,2.配置MPLS,目标:所有相邻PE和P设备之间建立LDPsession,并为其32位loopback地址分配MPLS标签,SR88(PE1),dis mpls ldp ses
9、sion LDP Session(s)in Public Network Total number of sessions:1-Peer-ID Status LAM SsnRole FT MD5 KA-Sent/Rcv-59.0.0.2:0 Operational DU Passive Off Off 10/10-LAM:Label Advertisement Mode FT:Fault Tolerancedis mpls ldp lsp LDP LSP Information-SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface-
10、1 59.0.0.1/32 3/NULL 127.0.0.1-/InLoop0 2 59.0.0.2/32 NULL/3 59.0.10.2-/GE3/1/1-A*before an LSP means the LSP is not established A*before a Label means the USCB or DSCB is stale,2.配置MPLS,目标:所有PE和P设备之间建立LDPsession,并为其32位loopback地址分配MPLS标签,S75(PE2),PE2dis mpls ldp session LDP Session(s)in Public Netwo
11、rk Total number of sessions:1-Peer-ID Status LAM SsnRole FT MD5 KA-Sent/Rcv-59.0.0.1:0 Operational DU Active Off Off 4/4-LAM:Label Advertisement Mode FT:Fault TolerancePE2dis mpls ldp lsp LDP LSP Information-SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface-1 59.0.0.1/32 NULL/3 59.0.10.1-/Vl
12、an10 2 59.0.0.2/32 3/NULL 127.0.0.1 Vlan10/InLoop0-A*before an LSP means the LSP is not established A*before a Label means the USCB or DSCB is stale,3.配置BGP,目标:所有PE设备之间普通BGP邻居和BGP vpnv4邻居,SR88(PE1),S75(PE2),bgp 37937 peer 59.0.0.2 as-number 37937 peer 59.0.0.2 connect-interface LoopBack0#ipv4-family
13、 vpnv4 peer 59.0.0.2 enable,bgp 37937 peer 59.0.0.1 as-number 37937 peer 59.0.0.1 connect-interface LoopBack0#ipv4-family vpnv4 peer 59.0.0.1 enable,3.配置BGP,目标:所有PE设备之间普通BGP邻居和BGP vpnv4邻居,SR88(PE1),PE1dis bgp peer BGP local router ID:59.0.0.1 Local AS number:37937 Total number of peers:1 Peers in es
14、tablished state:1 Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State 59.0.0.2 4 37937 3 3 0 0 00:01:45 EstablishedPE1dis bgp vpnPE1dis bgp vpnv4 allPE1dis bgp vpnv4 all peer BGP local router ID:59.0.0.1 Local AS number:37937 Total number of peers:1 Peers in established state:1 Peer V AS MsgRcvd Ms
15、gSent OutQ PrefRcv Up/Down State 59.0.0.2 4 37937 4 3 0 0 00:02:03 Established,3.配置BGP,目标:所有PE设备之间普通BGP邻居和BGP vpnv4邻居,S75(PE2),PE2-bgpdis bgp peer BGP local router ID:59.0.0.2 Local AS number:37937 Total number of peers:1 Peers in established state:1 Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up/Down St
16、ate 59.0.0.1 4 37937 2 2 0 0 00:00:16 EstablishedPE2-bgpdis bgp vpnv4 all peer BGP local router ID:59.0.0.2 Local AS number:37937 Total number of peers:1 Peers in established state:1 Peer V AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State 59.0.0.1 4 37937 2 2 0 0 00:00:33 Established,4.配置VPN,配置PE和CE之间的
17、路由,目标:PE设备可以学习到直连CE侧的私网路由(以OSPF为例),SR88(PE1),ip vpn-instance vpn1 route-distinguisher 37937:1 vpn-target 37937:1 export-extcommunity vpn-target 37937:1 import-extcommunity#ip vpn-instance vpn2 route-distinguisher 37937:2 vpn-target 37937:2 export-extcommunity vpn-target 37937:2 import-extcommunity#i
18、nterface GigabitEthernet3/1/19 port link-mode route description TO_CE2 ip binding vpn-instance vpn2 ip address 172.32.10.1 255.255.255.0#interface GigabitEthernet3/1/20 port link-mode route description TO_CE1 ip binding vpn-instance vpn1 ip address 192.168.10.1 255.255.255.252#,ospf 11 vpn-instance
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BGP MPLS VPN配置与排错H3C VPN 配置 H3C
链接地址:https://www.31ppt.com/p-2205609.html