MPLS VPN和Internetr互联配置Word格式文档下载.docx
《MPLS VPN和Internetr互联配置Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《MPLS VPN和Internetr互联配置Word格式文档下载.docx(10页珍藏版)》请在冰豆网上搜索。
interfaceSerial8/0
ipaddress192.168.10.1255.255.255.252
!
---TheinterfaceisconnectedtoPE1.
ipclassless
iproute0.0.0.00.0.0.0192.168.10.2
---ThisisthedefaultroutetorouteallpacketstoPE1.
PE1
hostnamePE-1
ipvrfcustomer1
---ThisconfiguredVRFcustomer1.
rd100:
1
---ThisconfiguredtheroutedistiguisherforVRF.
route-targetexport1:
route-targetimport1:
---ThisconfiguredtheexportandimportpoliciesintoVRF.
ipcef
---ThisenabledCiscoExpressForwarding(CEF)switching.
ipaddress10.1.1.2255.255.255.255
interfaceEthernet0/0
---ItisconnectedtoProuter.
ipaddress10.10.23.2255.255.255.0
tag-switchingip
---MPLSswitchingisenabled.
ConnectedtoCE-1
ipvrfforwardingcustomer1
---Routeforwardingbasedoncustomer1VRFisenabled.
ipaddress192.168.10.2255.255.255.252
routerospf1
log-adjacency-changes
redistributestaticsubnets
network0.0.0.0255.255.255.255area0
routerbgp100
nosynchronization
bgplog-neighbor-changes
neighbor10.1.1.4remote-as100
---NeighborrelationshipwithPE2isestablished.
neighbor10.1.1.4update-sourceLoopback0
neighbor10.1.1.4next-hop-self
noauto-summary
address-familyipv4vrfcustomer1
---Theaddress-familyconfigurationmodespecifiesIPv4unicast
---addressprefixesforcustomer1VRF.
network11.11.11.0mask255.255.255.0
---CE1network11.11.11.0/24toPE2isannounced.
network192.168.10.0mask255.255.255.252
exit-address-family
address-familyvpnv4
---Thisistheaddress-familyVPNV4configurationmodefor
---configuringBGPsessions.
neighbor10.1.1.4activate
neighbor10.1.1.4send-communityextended
iproute11.11.11.0255.255.255.0Serial8/0192.168.10.1
---Thestaticrouteintheglobalroutingtableispointingto
---theinterfaceconnectedtoCE1.
iproutevrfcustomer10.0.0.00.0.0.0192.168.67.1global
---Thestaticdefaultrouteundercustomer1VRF,routingpackets
---outsideof
VPNtotheInternetgateway.
routes
iproutevrfcustomer111.11.11.0255.255.255.0192.168.10.1
---Thestaticroutefornetwork11.11.11.0/24(CE-1Network)under
---customer1VRFensuresthereachabilityofCE1networkfromthe
---otherVPNsites.
P
hostnameP
---CEFswitchingisenabled.
ipaddress10.1.1.3255.255.255.255
---ThisisconnectedtoPE1.
ipaddress10.10.23.3255.255.255.0
interfaceEthernet1/0
---ThisisconnectedtoPE2.
ipaddress10.10.34.3255.255.255.0
interfaceEthernet2/0
---ThisisconnectedtotheInternetgateway.
ipaddress10.10.36.3255.255.255.0
routerospf1
log-adjacency-changes
network0.0.0.0255.255.255.255area0
IGW
hostnameIGW
---ThisenabledCEFswitching.
ipaddress10.1.1.6255.255.255.255
---ThisisconnectedtoProuter.
ipaddress10.10.36.6255.255.255.0
tag-switchingip
---ThisisconnectedtoInternetR7.
ipaddress192.168.67.1255.255.255.252
routerbgp100
network22.22.22.0mask255.255.255.0
neighbor192.168.67.2remote-as200
PE2
hostnamePE-2
---Customer1VRFisconfigured.
1
---RouteDistinguisherforVRFisconfigured.
---Thisconfiguredtheimportandexportpoliciesforcustomer1
---VRF.
ipcef
interfaceLoopback0
ipaddress10.1.1.4255.255.255.255
---ConnectedtoProuter.
ipaddress10.10.34.4255.255.255.0
interfaceSerial9/0
---ConnectedtoCE2router.
---ThisenablesVRFforwardingontheinterface.
ipaddress192.168.20.1255.255.255.252
neighbor10.1.1.2remote-as100
neighbor10.1.1.2update-sourceLoopback0
neighbor10.1.1.2next-hop-self
noauto-summary
---Thisistheaddress-familyIPv4configurationofcustomer1VRF.
---ThisannouncestheCE2networktoPE1.
address-familyvpnv4
---Thisistheaddress-familyVPNV4configurationforBGPSessions
---withPE1.
neighbor10.1.1.2activate
neighbor10.1.1.2send-communityextended
iproute22.22.22.0255.255.255.0Serial9/0192.168.20.2
---Thisisthestaticroutefor
network
22.22.22.0/24intheglobal
---routingtablepointingtotheinterfaceconnectedtoCE2.
---Thisisthestaticdefaultroute
forcustomerVRF
---fordestinationsoutsidetheVPN.
iproutevrfcustomer122.22.22.0255.255.255.0192.168.20.2
---Thisisthestaticroutewithincustomer1VRFforCE2
---networkforVPNconnectivity.
CE2
hostnameCE-2
ipaddress22.22.22.22255.255.255.0
ipaddress192.168.20.2255.255.255.252
iproute0.0.0.00.0.0.0192.168.20.1
---ThisisthedefaultroutepointingtoPE2.