华为ENSP之MPLS V跨域optionC2

5 篇文章 1 订阅
1 篇文章 0 订阅

实验目的

         MPLS VPN跨域optionC2

实验过程

  1. AS内底层ISIS互联,Asbr之间建立MP-IBGP邻居,27,45建立MP-EBGP邻居
  2. 4.5宣告路由,并导入BGP路由到本地,观察27之间的隧道
  3. 12.78建立EBGP邻居,互相引入路由

  1. AS内底层ISIS互联,Asbr之间建立MP-IBGP邻居,27,45建立MP-EBGP邻居

R2

sy

sy R2

mpls lsr 2.2.2.2

mpls

mpls ldp

isis 1

cost-style wide

network-entity 49.0001.0000.0000.0002.00

is-name R2

is-level level-2

int l0

ip address 2.2.2.2 32

isis enable 1

int g0/0/0

ip ad 192.168.12.2 24

int g0/0/1

ip ad 192.168.23.2 24

isis enable 1

mpls

mpls ldp

bgp 234

rou 2.2.2.2

pe 4.4.4.4 as 234

pe 4.4.4.4 connect-interface l0

pe 7.7.7.7 as 567

pe 7.7.7.7 connect-interface l0

pe 7.7.7.7 ebgp-max-hop

ipv4-family vpnv4

peer 4.4.4.4 enable

peer 7.7.7.7 enable

  1. 4.5宣告路由,并导入BGP路由到本地,观察27之间的隧道

R4

sy

route-policy 4 permit node 10

apply mpls-label

mpls

lsp-trigger bgp-label-route

bgp 234

net 4.4.4.4 32

peer 192.168.45.5 route-policy 4 export

peer 192.168.45.5 label-route-capability

ipv4-family vpnv4

undo policy vpn-target

isis 1

import bgp

3.     12.78建立EBGP邻居,互相引入路由

R1

sy

sy R1

int l0

ip address 1.1.1.1 32

int g0/0/0

ip ad 192.168.12.1 24

bgp 100

pe 192.168.12.2 as 234

net 1.1.1.1 32

R2

sy

ip vpn-instance 2

route-distinguisher 234:2

vpn-target 1:2 export-extcommunity

vpn-target 2:1 import-extcommunity

int g0/0/0

ip binding vpn-instance 2

ip add 192.168.12.2 24

bgp 234

ipv4-family vpn-instance 2

peer 192.168.78.8 as-number 100

验证如下

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值