MPLS+VPN单区域实验.docx

上传人:b****5 文档编号:12535571 上传时间:2023-04-20 格式:DOCX 页数:54 大小:20KB
下载 相关 举报
MPLS+VPN单区域实验.docx_第1页
第1页 / 共54页
MPLS+VPN单区域实验.docx_第2页
第2页 / 共54页
MPLS+VPN单区域实验.docx_第3页
第3页 / 共54页
MPLS+VPN单区域实验.docx_第4页
第4页 / 共54页
MPLS+VPN单区域实验.docx_第5页
第5页 / 共54页
点击查看更多>>
下载资源
资源描述

MPLS+VPN单区域实验.docx

《MPLS+VPN单区域实验.docx》由会员分享,可在线阅读,更多相关《MPLS+VPN单区域实验.docx(54页珍藏版)》请在冰豆网上搜索。

MPLS+VPN单区域实验.docx

MPLS+VPN单区域实验

2008-4-26最完美的实验MPLSVPN

一,拓朴如下:

#Simplelab

[localhost]

[[7200]]

image=d:

\Dynamips\C7200-K3.BIN

#OnLinux/Unixuseforwardslashes:

#image=/opt/7200-images/c7200-jk9o3s-mz.124-7a.image

npe=npe-400

ram=56

[[ROUTERR1]]

console=2001

idlepc=0x60604000

slot2=PA-4E

e2/0=R3e2/0

s1/0=R2s1/0

[[ROUTERR2]]

console=2002

idlepc=0x60604000

slot2=PA-4E

e2/1=R3e2/1

s1/1=R3s1/1

[[ROUTERR3]]

console=2003

idlepc=0x60604000

slot2=PA-4E

s1/2=R4s1/2

e2/2=R9e2/2

 

[[ROUTERR4]]

console=2004

s1/3=R5s1/3

idlepc=0x60604000

[[ROUTERR5]]

console=2005

idlepc=0x60604000

slot2=PA-4E

e2/0=R6e2/0

e2/1=R7e2/1

e2/2=R8e2/2

e2/3=R10e2/3

[[ROUTERR6]]

console=2006

idlepc=0x60604000

slot2=PA-4E

[[ROUTERR7]]

console=2007

idlepc=0x60604000

slot2=PA-4E

[[ROUTERR8]]

console=2008

idlepc=0x60604000

slot2=PA-4E

[[ROUTERR9]]

console=2009

idlepc=0x60604000

slot2=PA-4E

[[ROUTERR10]]

console=2010

idlepc=0x60604000

slot2=PA-4E

 

二,路由器的配置如下:

R1#a

Buildingconfiguration...

Currentconfiguration:

2514bytes

!

version12.0

servicetimestampsdebuguptime

servicetimestampsloguptime

servicepassword-encryption

!

hostnameR1

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$COj5$UPq2dpVjtvFkRHTRAj5SB0

!

ipsubnet-zero

!

noipdomain-lookup

ipsshtime-out120

ipsshauthentication-retries3

!

interfaceLoopback0

ipaddress1.1.1.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceLoopback1

ipaddress100.1.1.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceLoopback2

ipaddress100.1.2.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceLoopback3

ipaddress100.1.3.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceFastEthernet0/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/2

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet2/0

ipaddress192.168.13.1255.255.255.0

noipdirected-broadcast

half-duplex

!

interfaceEthernet2/1

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

interfaceEthernet2/2

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

interfaceEthernet2/3

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

routerbgp200

nosynchronization

bgplog-neighbor-changes

network1.1.1.0mask255.255.255.0

network100.1.1.0mask255.255.255.0

network100.1.2.0mask255.255.255.0

network100.1.3.0mask255.255.255.0

network192.168.13.0

neighbor192.168.13.3remote-as100

noauto-summary

!

ipclassless

!

aliasexecashowrun

aliasexecbshowipinterfacebrief

aliasexecabshowiproute

aliasexecacshowipospfneighbor

aliasexeccshowipospfdatabase

aliasexecdshowcdpnei

!

linecon0

exec-timeout00

password711081D081E1C

loggingsynchronous

login

stopbits1

lineaux0

stopbits1

linevty04

exec-timeout00

020*********

loggingsynchronous

login

!

nocnsaaaenable

end

R1#showiproute

Gatewayoflastresortisnotset

1.0.0.0/24issubnetted,1subnets

C1.1.1.0isdirectlyconnected,Loopback0

C192.168.13.0/24isdirectlyconnected,Ethernet2/0

100.0.0.0/24issubnetted,3subnets

C100.1.1.0isdirectlyconnected,Loopback1

C100.1.3.0isdirectlyconnected,Loopback3

C100.1.2.0isdirectlyconnected,Loopback2

6.0.0.0/24issubnetted,3subnets

B6.6.6.0[20/0]via192.168.13.3,01:

28:

05

B6.6.7.0[20/0]via192.168.13.3,01:

22:

33

B6.6.8.0[20/0]via192.168.13.3,01:

21:

31

B192.168.56.0/24[20/0]via192.168.13.3,01:

29:

05

++++++++++++++++++++++++++++++++++++++++++++++++++++

 

R2#a

Buildingconfiguration...

Currentconfiguration:

2185bytes

!

version12.0

servicetimestampsdebuguptime

servicetimestampsloguptime

servicepassword-encryption

!

hostnameR2

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$aTWJ$TAMGVh5Xn0rWeiiACNcE1.

!

ipsubnet-zero

!

noipdomain-lookup

ipsshtime-out120

ipsshauthentication-retries3

!

interfaceLoopback0

ipaddress2.2.2.2255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceLoopback1

ipaddress2.2.3.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceLoopback2

ipaddress2.2.4.1255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceFastEthernet0/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/2

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet2/0

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

interfaceEthernet2/1

ipaddress192.168.23.2255.255.255.0

noipdirected-broadcast

half-duplex

!

interfaceEthernet2/2

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

interfaceEthernet2/3

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

routerrip

version2

network2.0.0.0

network192.168.23.0

noauto-summary

!

ipclassless

!

aliasexecashowrun

aliasexecbshowipinterfacebrief

aliasexecabshowiproute

aliasexecacshowipospfneighbor

aliasexeccshowipospfdatabase

aliasexecdshowcdpnei

!

linecon0

exec-timeout00

password71218011A1B05

loggingsynchronous

login

stopbits1

lineaux0

stopbits1

linevty04

exec-timeout00

password7082048430017

loggingsynchronous

login

!

nocnsaaaenable

end

R2#showiproute

Gatewayoflastresortisnotset

2.0.0.0/24issubnetted,3subnets

C2.2.2.0isdirectlyconnected,Loopback0

C2.2.3.0isdirectlyconnected,Loopback1

C2.2.4.0isdirectlyconnected,Loopback2

R192.168.57.0/24[120/1]via192.168.23.3,00:

00:

11,Ethernet2/1

7.0.0.0/24issubnetted,3subnets

R7.7.7.0[120/1]via192.168.23.3,00:

00:

11,Ethernet2/1

R7.7.8.0[120/1]via192.168.23.3,00:

00:

11,Ethernet2/1

R7.7.9.0[120/1]via192.168.23.3,00:

00:

11,Ethernet2/1

C192.168.23.0/24isdirectlyconnected,Ethernet2/1

+++++++++++++++++++++++++++++++++++++++++++++++++++

R3#a

Buildingconfiguration...

Currentconfiguration:

3366bytes

!

version12.0

servicetimestampsdebuguptime

servicetimestampsloguptime

servicepassword-encryption

!

hostnameR3

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$9/W1$/.Vi5RtdEay6OmJiSapGY/

!

ipsubnet-zero

!

ipcef

noipdomain-lookup

ipvrfVPNA

rd100:

1

route-targetexport100:

1

route-targetimport100:

1

!

ipvrfVPNB

rd100:

2

route-targetexport100:

2

route-targetimport100:

2

!

ipvrfVPNC

rd100:

3

route-targetexport100:

3

route-targetimport100:

3

!

ipsshtime-out120

ipsshauthentication-retries3

!

interfaceLoopback0

ipaddress3.3.3.3255.255.255.0

noipdirected-broadcast

ipospfnetworkpoint-to-point

!

interfaceFastEthernet0/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/0

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceSerial1/2

ipaddress192.168.34.3255.255.255.0

noipdirected-broadcast

tag-switchingip

!

interfaceSerial1/3

noipaddress

noipdirected-broadcast

shutdown

interfaceEthernet2/0

ipvrfforwardingVPNA

ipaddress192.168.13.3255.255.255.0

noipdirected-broadcast

half-duplex

!

interfaceEthernet2/1

ipvrfforwardingVPNB

ipaddress192.168.23.3255.255.255.0

noipdirected-broadcast

half-duplex

!

interfaceEthernet2/2

ipvrfforwardingVPNC

ipaddress192.168.39.3255.255.255.0

noipdirected-broadcast

half-duplex

!

interfaceEthernet2/3

noipaddress

noipdirected-broadcast

shutdown

half-duplex

!

routerospf1vrfVPNC

log-adjacency-changes

redistributebgp100subnets

network192.168.39.00.0.0.255area0

!

routerospf100

router-id3.3.3.3

log-adjacency-changes

network3.3.3.00.0.0.255area0

network192.168.34.00.0.0.255area0

!

routerrip

version2

noauto-summary

!

address-familyipv4vrfVPNB

version2

redistributebgp100metric1

network192.168.23.0

noauto-summary

exit-address-family

!

routerbgp100

nosynchronization

bgplog-neighbor-changes

neighbor5.5.5.5remote-as100

neighbor5.5.5.5update-sourceLoopback0

noauto-summary

!

address-familyvpnv4

neighbor5.5.5.5activate

neighbor5.5.5.5send-communityextended

exit-address-family

!

address-familyipv4vrfVPNC

redistributeospf1vrfVPNC

noauto-summary

nosynchronization

exit-address-family

!

address-familyipv4vrfVPNB

redistributeripmetric1

noauto-summary

nosynchronization

exit-address-family

!

address-familyipv4vrfVPNA

neighbor192.168.13.1remote-as200

neighbor192.168.13.1activate

noauto-summary

nosynchronization

network192.168.13.0

exit-address-family

!

ipclassless

!

aliasexecashowrun

aliasexecbshowipinterfacebrief

aliasexecabshowiproute

aliasexecacshowipospfneighbor

aliasexeccshowipospfdatabase

aliasexecdshowcdpnei

!

linecon0

exec-timeout00

password7070E25414707

loggingsynchronous

login

stopbits1

lineaux0

stopbits1

linevty04

exec-timeout00

password71218011A1B05

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 军事

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1