MPLS TE简单配置.docx
《MPLS TE简单配置.docx》由会员分享,可在线阅读,更多相关《MPLS TE简单配置.docx(53页珍藏版)》请在冰豆网上搜索。
![MPLS TE简单配置.docx](https://file1.bdocx.com/fileroot1/2023-2/3/7256761f-8eb5-4d21-9c30-37a399ace161/7256761f-8eb5-4d21-9c30-37a399ace1611.gif)
MPLSTE简单配置
MPLSTE简单配置
TOPOLOGY:
R1#showrun
Buildingconfiguration...
Currentconfiguration:
1919bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR1
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
ipvrfa
rd100:
1
route-targetexport100:
1
route-targetimport100:
1
!
!
mplslabelrange100199
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
ipaddress10.1.1.1255.255.255.255
ipospf100area0
!
interfaceSerial0/0
ipvrfforwardinga
ipaddress192.168.18.1255.255.255.0
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet1/0
ipaddress10.0.12.1255.255.255.0
half-duplex
mplsip
!
interfaceEthernet1/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/3
noipaddress
shutdown
half-duplex
!
routerospf1vrfa
router-id10.1.1.1
log-adjacency-changes
redistributebgp100subnets
network192.168.18.10.0.0.0area0
!
routerospf100
router-id1.1.1.1
log-adjacency-changes
network10.0.0.00.0.255.255area0
!
routerbgp100
bgprouter-id1.1.1.1
nobgpdefaultipv4-unicast
bgplog-neighbor-changes
neighbor10.6.6.6remote-as100
neighbor10.6.6.6update-sourceLoopback0
!
address-familyvpnv4
neighbor10.6.6.6activate
neighbor10.6.6.6send-communityextended
exit-address-family
!
address-familyipv4vrfa
redistributeospf1vrfamatchinternalexternal1external2
nosynchronization
exit-address-family
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
mplsldprouter-idLoopback0force
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
!
end
R1#
R2#showrun
Buildingconfiguration...
Currentconfiguration:
2275bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR2
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
mplslabelrange200299
mplstraffic-engtunnels
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
ipaddress10.2.2.2255.255.255.255
ipospf100area0
!
interfaceTunnel6
ipunnumberedLoopback0
tunneldestination10.6.6.6
tunnelmodemplstraffic-eng
tunnelmplstraffic-engautorouteannounce
tunnelmplstraffic-engpriority77
tunnelmplstraffic-engbandwidth1000
tunnelmplstraffic-engpath-option1dynamic
noroutingdynamic
!
interfaceTunnel7
ipunnumberedLoopback0
tunneldestination10.7.7.7
tunnelmodemplstraffic-eng
tunnelmplstraffic-engpriority77
tunnelmplstraffic-engbandwidth800
tunnelmplstraffic-engpath-option1explicitnameR7
noroutingdynamic
!
interfaceSerial0/0
ipaddress10.0.25.2255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth800
!
interfaceSerial0/1
ipaddress10.0.24.2255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth1200
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet1/0
ipaddress10.0.12.2255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
!
interfaceEthernet1/1
ipaddress10.0.23.2255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth800
!
interfaceEthernet1/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/3
noipaddress
shutdown
half-duplex
!
routerospf100
mplstraffic-engrouter-idLoopback0
mplstraffic-engarea0
router-id2.2.2.2
log-adjacency-changes
network10.0.0.00.0.255.255area0
!
iphttpserver
noiphttpsecure-server
iproute10.7.7.7255.255.255.255Tunnel7
!
!
!
ipexplicit-pathnameR7enable
next-address10.0.24.4
next-address10.0.45.5
next-address10.0.57.7
!
!
!
mplsldprouter-idLoopback0force
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
!
end
R2#
R3#showrun
Buildingconfiguration...
Currentconfiguration:
1456bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR3
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
mplslabelrange300399
mplstraffic-engtunnels
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
ipaddress10.3.3.3255.255.255.255
ipospf100area0
!
interfaceSerial0/0
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet1/0
ipaddress10.0.35.3255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth800
!
interfaceEthernet1/1
ipaddress10.0.23.3255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth800
!
interfaceEthernet1/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/3
noipaddress
shutdown
half-duplex
!
routerospf100
mplstraffic-engrouter-idLoopback0
mplstraffic-engarea0
router-id3.3.3.3
log-adjacency-changes
network10.0.0.00.0.255.255area0
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
mplsldprouter-idLoopback0force
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
!
end
R3#
R4#showrun
Buildingconfiguration...
Currentconfiguration:
1458bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR4
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
mplslabelrange400499
mplstraffic-engtunnels
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
ipaddress10.4.4.4255.255.255.255
ipospf100area0
!
interfaceSerial0/0
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/1
ipaddress10.0.24.4255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth1200
!
interfaceSerial0/2
ipaddress10.0.45.4255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth1200
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet1/0
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/1
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/2
noipaddress
shutdown
half-duplex
!
interfaceEthernet1/3
noipaddress
shutdown
half-duplex
!
routerospf100
mplstraffic-engrouter-idLoopback0
mplstraffic-engarea0
router-id4.4.4.4
log-adjacency-changes
network10.0.0.00.0.255.255area0
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
mplsldprouter-idLoopback0force
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
!
end
R4#
R5#showrun
Buildingconfiguration...
Currentconfiguration:
1666bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR5
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
mplslabelrange500599
mplstraffic-engtunnels
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
ipaddress10.5.5.5255.255.255.255
ipospf100area0
!
interfaceSerial0/0
ipaddress10.0.25.5255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth800
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
ipaddress10.0.45.5255.255.255.0
mplsip
mplstraffic-engtunnels
serialrestart-delay0
iprsvpbandwidth1200
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceEthernet1/0
ipaddress10.0.35.5255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth800
!
interfaceEthernet1/1
ipaddress10.0.56.5255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth1500
!
interfaceEthernet1/2
ipaddress10.0.57.5255.255.255.0
half-duplex
mplsip
mplstraffic-engtunnels
iprsvpbandwidth1200
!
interfaceEthernet1/3
noipaddress
shutdown
half-duplex
!
routerospf100
mplstraffic-engrouter-idLoopback0
mplstraffic-engarea0
router-id5.5.5.5
log-adjacency-changes
network10.0.0.00.0.255.255area0
!
iphttpserver
noiphttpsecure-server
!
!
!
!
!
mplsldprouter-idLoopback0force
!
control-plane
!
!
!
!
!
!
!
!
!
!
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
!
!
end
R5#
R6#showrun
Buildingconfiguration...
Currentconfiguration:
2249bytes
!
vers