华为ENSP之MPLS V 跨域optionB

实验目的

         MPLS VPN跨域optionB

实验过程

  1. AS内ISIS互通,24.57建立IBGP邻居,MP-IBGP邻居,使能MPLS
  2. 12.45.78之间建立邻居
  3. 互相导入路由

1.AS内ISIS互通,24.57建立IBGP邻居,MP-IBGP邻居,使能MPLS

R4配置举例

sy

sy R4

isis 1

cost-style wide

network-entity 49.0001.0000.0000.0004.00

is-name R4

is-level level-2

mpls lsr-id 4.4.4.4

mpls

mpls ldp

int g0/0/1

ip ad 192.168.45.4 24

mpls

int g0/0/0

ip ad 192.168.34.4 24

isis enable 1

mpls

mpls ldp

int l0

ip ad 4.4.4.4 32

isis enable 1

bgp 234

rou 4.4.4.4

pe 2.2.2.2 as 234

pe 2.2.2.2 connect-interface l0

ipv4-family vpnv4

peer 2.2.2.2 enable

验证结果

2.12.45.78之间建立邻居

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 ad 192.168.12.2 24

isis enable 2

isis 2 vpn-instance 2

cost-style wide

network-entity 49.0001.0000.0000.0002.00

is-name R2

is-level level-2

R1

sy

sy R1

isis 1

cost-style wide

network-entity 49.0001.0000.0000.0001.00

is-name R1

is-level level-2

int g0/0/0

ip ad 192.168.12.1 24

isis enable 1

int l0

ip ad 1.1.1.1 32

isis enable 1

R4

bgp 234

peer 192.168.45.5 as 567

ipv4-family vpnv4

peer 192.168.45.5 enable

undo policy vpn-target

3.互相导入路由

R2

sy

isis 2 vpn-instance 2

import-route bgp

bgp 234

ipv4-family vpn-instance 2

import-route isis 2

R7

sy

isis 2 vpn-instance 7

import-route bgp

bgp 567

ipv4-family vpn-instance 7

import-route isis 2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值