MPLS VPN配置示范080711.docx
《MPLS VPN配置示范080711.docx》由会员分享,可在线阅读,更多相关《MPLS VPN配置示范080711.docx(18页珍藏版)》请在冰豆网上搜索。
MPLSVPN配置示范080711
hostnameP1
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
noipdomainlookup
!
!
!
!
!
interfaceLoopback0
ipaddress1.1.1.1255.255.255.255
!
interfaceSerial1/0
ipaddress12.1.1.1255.255.255.0
ipmtu1488
mplsip
serialrestart-delay0
!
interfaceSerial1/1
ipaddress13.1.1.1255.255.255.0
ipmtu1488
mplsip
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet2/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/3
noipaddress
shutdown
half-duplex
!
routerospf110
router-id1.1.1.1
log-adjacency-changes
network1.1.1.10.0.0.0area0
network12.1.1.10.0.0.0area0
network13.1.1.10.0.0.0area0
!
iphttpserver
!
!
!
!
!
control-plane
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
End
hostnamePE2
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
ipvrfA
rd4:
4
route-targetexport45:
45
route-targetimport45:
45
!
noipdomainlookup
!
!
!
!
!
interfaceLoopback0
ipaddress2.2.2.2255.255.255.255
!
interfaceSerial1/0
ipaddress12.1.1.2255.255.255.0
ipmtu1488
mplsip
serialrestart-delay0
!
interfaceSerial1/1
ipvrfforwardingA
ipaddress24.1.1.2255.255.255.0
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet2/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/3
noipaddress
shutdown
half-duplex
!
routerospf110
router-id2.2.2.2
log-adjacency-changes
network2.2.2.20.0.0.0area0
network12.1.1.20.0.0.0area0
!
routerbgp123
nosynchronization
bgprouter-id2.2.2.2
bgplog-neighbor-changes
neighbor3.3.3.3remote-as123
neighbor3.3.3.3update-sourceLoopback0
neighbor3.3.3.3next-hop-self
noauto-summary
!
address-familyvpnv4
neighbor3.3.3.3activate
neighbor3.3.3.3send-communityboth
exit-address-family
!
address-familyipv4vrfA
redistributeconnected
redistributestatic
nosynchronization
exit-address-family
!
iphttpserver
iproutevrfA192.168.4.0255.255.255.0Serial1/1
!
!
!
!
!
control-plane
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
End
hostnamePE3
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
ipvrfB
rd5:
5
route-targetexport45:
45
route-targetimport45:
45
!
noipdomainlookup
!
!
!
!
!
interfaceLoopback0
ipaddress3.3.3.3255.255.255.255
!
interfaceSerial1/0
ipvrfforwardingB
ipaddress35.1.1.3255.255.255.0
serialrestart-delay0
!
interfaceSerial1/1
ipaddress13.1.1.3255.255.255.0
ipmtu1488
mplsip
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet2/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/3
noipaddress
shutdown
half-duplex
!
routerospf110
router-id3.3.3.3
log-adjacency-changes
network3.3.3.30.0.0.0area0
network13.1.1.30.0.0.0area0
!
routerbgp123
nosynchronization
bgprouter-id3.3.3.3
bgplog-neighbor-changes
neighbor2.2.2.2remote-as123
neighbor2.2.2.2update-sourceLoopback0
neighbor2.2.2.2next-hop-self
noauto-summary
!
address-familyvpnv4
neighbor2.2.2.2activate
neighbor2.2.2.2send-communityboth
exit-address-family
!
address-familyipv4vrfB
redistributeconnected
redistributestatic
nosynchronization
exit-address-family
!
iphttpserver
iproutevrfB192.168.5.0255.255.255.0Serial1/0
!
!
!
!
!
control-plane
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
End
hostnameCE4
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
noipdomainlookup
!
!
!
!
!
interfaceLoopback0
ipaddress192.168.4.4255.255.255.0
!
interfaceSerial1/0
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/1
ipaddress24.1.1.4255.255.255.0
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet2/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/3
noipaddress
shutdown
half-duplex
!
iphttpserver
iproute0.0.0.00.0.0.0Serial1/1
!
!
control-plane
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
End
hostnameCE5
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
noipdomainlookup
!
!
!
!
!
interfaceLoopback0
ipaddress192.168.5.5255.255.255.0
!
interfaceSerial1/0
ipaddress35.1.1.5255.255.255.0
serialrestart-delay0
!
interfaceSerial1/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet2/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet2/3
noipaddress
shutdown
half-duplex
!
iphttpserver
iproute0.0.0.00.0.0.0Serial1/0
!
!
!
!
!
control-plane
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
end