Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx

上传人:b****6 文档编号:21383541 上传时间:2023-01-30 格式:DOCX 页数:13 大小:64.42KB
下载 相关 举报
Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx_第1页
第1页 / 共13页
Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx_第2页
第2页 / 共13页
Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx_第3页
第3页 / 共13页
Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx_第4页
第4页 / 共13页
Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx

《Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx(13页珍藏版)》请在冰豆网上搜索。

Mpls vpn跨域optionB有两种方式Word文档下载推荐.docx

via192.168.0.5,0dependencies,recursive

nexthop192.168.2.9,FastEthernet0/0via192.168.0.5/32(Default)

validcachedadjacency

tagrewritewithFa0/0,192.168.2.9,tagsimposed{840427}

R11#traceroute12.12.12.12

Typeescapesequencetoabort.

Tracingtherouteto12.12.12.12

110.0.0.160msec140msec168msec

2192.168.1.2[MPLS:

Labels232/643Exp0]1008msec1028msec936msec

3192.168.1.6[MPLS:

Labels332/643Exp0]840msec1004msec816msec

4192.168.1.10[MPLS:

Labels426/643Exp0]888msec836msec768msec

5192.168.0.6[MPLS:

Label643Exp0]768msec812msec1176msec//只有单层标签

6192.168.2.2[MPLS:

Labels717/939Exp0]888msec932msec936msec

7192.168.2.6[MPLS:

Labels813/939Exp0]792msec740msec816msec

810.0.0.5[AS20][MPLS:

Label939Exp0]796msec688msec984msec

910.0.0.6[AS20]1032msec884msec984msec

R11#

R4和R6上只保存本AS内的VPNv4的路由。

R4#showmplsforwarding-table

LocalOutgoingPrefixBytestagOutgoingNextHop

tagtagorVCorTunnelIdswitchedinterface

416Untagged6.6.6.6/320Fa0/0192.168.0.2

4171101:

1:

10.0.0.0/30610Fa1/1192.168.1.9

418Poptag192.168.1.16/300Fa1/1192.168.1.9

419Poptag192.168.1.4/300Fa1/1192.168.1.9

420303192.168.1.12/300Fa1/1192.168.1.9

421300192.168.1.0/300Fa1/1192.168.1.9

4223011.1.1.1/3215844Fa1/1192.168.1.9

4233022.2.2.2/320Fa1/1192.168.1.9

424Poptag3.3.3.3/320Fa1/1192.168.1.9

4253285.5.5.5/323573Fa1/1192.168.1.9

426Poptag192.168.0.6/32640Tu0point2point

4271381:

11.11.11.11/32\

5068Fa1/1192.168.1.9

4281371:

192.168.10.0/24\

0Fa1/1192.168.1.9

R6#showmplsforwarding-table

608Untagged4.4.4.4/320Fa0/0192.168.0.1

609Poptag192.168.0.1/320Fa0/0192.168.0.1

610Poptag192.168.2.12/300Fa1/0192.168.2.2

611Poptag192.168.2.4/300Fa1/0192.168.2.2

612714192.168.2.16/300Fa1/0192.168.2.2

613716192.168.2.8/300Fa1/0192.168.2.2

614Poptag7.7.7.7/320Fa1/0192.168.2.2

6157158.8.8.8/320Fa1/0192.168.2.2

6407179.9.9.9/320Fa1/0192.168.2.2

64171310.10.10.10/321216Fa1/0192.168.2.2

642Poptag192.168.0.5/32640Tu0point2point

6439391:

12.12.12.12/32\

610Fa1/0192.168.2.2

6449381:

192.168.20.0/24\

0Fa1/0192.168.2.2

R4的配置:

hostnameR4

!

boot-start-marker

boot-end-marker

ipsubnet-zero

ipcef

noipdomain-lookup

mplslabelrange400499

mplslabelprotocolldp

interfaceLoopback0

ipaddress4.4.4.4255.255.255.255

noipdirected-broadcast

interfaceTunnel0

ipaddress192.168.0.5255.255.255.252

mplsbgpforwarding

tunnelsourceLoopback0

tunneldestination6.6.6.6

interfaceFastEthernet0/0

ipaddress192.168.0.1255.255.255.252

interfaceFastEthernet1/0

noipaddress

shutdown

duplexhalf

speedauto

interfaceFastEthernet1/1

ipaddress192.168.1.10255.255.255.252

tag-switchingip

routerospf1

log-adjacency-changes

redistributeconnectedsubnets

network4.4.4.40.0.0.0area0

network192.168.1.80.0.0.3area0

routerbgp1

nobgpdefaultroute-targetfilter

bgplog-neighbor-changes

neighbor5.5.5.5remote-as1

neighbor5.5.5.5update-sourceLoopback0

neighbor192.168.0.6remote-as2

!

address-familyipv4

neighbor5.5.5.5activate

noneighbor192.168.0.6activate

noauto-summary

nosynchronization

exit-address-family

address-familyvpnv4

neighbor5.5.5.5send-communityboth

neighbor192.168.0.6activate

neighbor192.168.0.6send-communityboth

ipclassless

iproute6.6.6.6255.255.255.255192.168.0.2

control-plane

linecon0

exec-timeout00

stopbits1

lineaux0

linevty04

login

nocnsaaaenable

R6的配置:

hostnameR6

mplslabelrange600699

ipaddress6.6.6.6255.255.255.255

ipaddress192.168.0.6255.255.255.252

tunneldestination4.4.4.4

ipaddress192.168.0.2255.255.255.252

ipaddress192.168.2.1255.255.255.252

routerodr

network6.6.6.60.0.0.0area0

network192.168.2.00.0.0.3area0

routerbgp2

neighbor10.10.10.10remote-as2

neighbor10.10.10.10update-sourceLoopback0

neighbor192.168.0.5remote-as1

neighbor10.10.10.10activate

neighbor10.10.10.10send-communityboth

neighbor192.168.0.5activate

neighbor192.168.0.5send-communityboth

iproute4.4.4.4255.255.255.255192.168.0.1

tag-switchingtdprouter-idLoopback0

end

第二种方法:

采用next-host-self

这时ASBR上同时保存另一个AS的VPN路由,标签也由ASBR分配

11.11.11.11/32,version37,epoch0,cachedadjacency192.168.2.9

fasttagrewritewithFa0/0,192.168.2.9,tagsimposed{810645}

via6.6.6.6,0dependencies,recursive

nexthop192.168.2.9,FastEthernet0/0via6.6.6.6/32(Default)

tagrewritewithFa0/0,192.168.2.9,tagsimposed{810645}

64171310.10.10.10/320Fa1/0192.168.2.2

642Poptag192.168.0.5/325068Tu0point2point

2956Fa1/0192.168.2.2

6454271:

0Tu0point2point

6464281:

6474171:

10.0.0.0/300Tu0point2point

10.0.0.0/304894Fa1/1192.168.1.9

426Poptag192.168.0.6/322680Tu0point2point

4296441:

4486431:

4496091:

10.0.0.4/300Tu0point2point

110.0.0.1112msec88msec100msec

Labels205/448Exp0]912msec884msec936msec

Labels329/448Exp0]984msec1008msec884msec

Label448Exp0]936msec812msec888msec

Label643Exp0]840msec764msec860msec//标签由448变成643

Labels717/939Exp0]912msec764msec1080msec

Labels813/939Exp0]1008msec884msec864msec

Label939Exp0]744msec764msec792msec

910.0.0.6[AS20]864msec812msec888msec

R4的配置

exit-address-f

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

当前位置:首页 > 高中教育 > 其它课程

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

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