MPLS实验

  1. 拓扑图

   

 

2.要求:
  1.如图连接拓扑,合理规划IP地址,R1、R5、R6、R7各种创建一个环回,IP地址分别为192.168.1.0 、192.168.5.0、192.168.6.0、192.168.7.0
  2.AS 100内使用IGP协议为OSPF ,如图运行动态路由协议
  3.要求R1-R5之间启用MPLS VPN ; R6-R7之间启用MPLS VPN;
  4.将两条VPN 进行合并

  5.R6 R7之间运行OSPF协议要求R6-R7之间的私有地址通信优先使用MPLS

 3.实验配置

AR1

#

interface GigabitEthernet0/0/0

 ip address 12.1.1.1 255.255.255.0

#

interface LoopBack0

 ip address 192.168.1.1 255.255.255.0

#

rip 1

 version 2

 network 192.168.1.0

 network 12.0.0.0

AR2

ip vpn-instance a

 ipv4-family

  route-distinguisher 100:100

  vpn-target 100:100 export-extcommunity

  vpn-target 100:100 import-extcommunity

#

ip vpn-instance b

 ipv4-family

  route-distinguisher 200:200

  vpn-target 200:200 100:100 export-extcommunity

  vpn-target 200:200 100:100 import-extcommunity

#

mpls lsr-id 2.2.2.2

mpls

#

mpls ldp

#

#

aaa

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default

 domain default_admin

 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

 local-user admin service-type http

#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值