前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ENSP 6VPE 实验

ENSP 6VPE 实验

作者头像
残浔
发布2023-08-09 17:56:43
2150
发布2023-08-09 17:56:43
举报
文章被收录于专栏:UQUQUQUQ

如有错误请指出 不胜感激

关键配置

代码语言:javascript
复制
NE1
ip vpn-instance A
 ipv4-family
 ipv6-family
  route-distinguisher 200:1
  vpn-target 1:1 export-extcommunity
  vpn-target 1:1 import-extcommunity

interface Ethernet1/0/1
 undo shutdown
 ip binding vpn-instance A

bgp 100
 router-id 1.1.1.1
 peer 3.3.3.3 as-number 100
 peer 3.3.3.3 connect-interface LoopBack0
 #
 ipv4-family unicast
  undo synchronization
  undo peer 3.3.3.3 enable
 #
 ipv6-family vpnv6
  policy vpn-target
  peer 3.3.3.3 enable
 #
 ipv6-family vpn-instance A
  peer 2222::1 as-number 200
代码语言:javascript
复制
NE3
[HUAWEI-vpn-instance-A]dis this
#
ip vpn-instance A
 ipv4-family
 ipv6-family
  route-distinguisher 200:1
  vpn-target 1:1 export-extcommunity
  vpn-target 1:1 import-extcommunity

interface Ethernet1/0/1
 undo shutdown
 ip binding vpn-instance A

bgp 100
 router-id 3.3.3.3
 peer 1.1.1.1 as-number 100
 peer 1.1.1.1 connect-interface LoopBack0
 #
 ipv4-family unicast
  undo synchronization
  peer 1.1.1.1 enable
 #
 ipv6-family vpnv6
  policy vpn-target
  peer 1.1.1.1 enable
 #
 ipv6-family vpn-instance A
  peer 3333::1 as-number 300
代码语言:javascript
复制
AR1 
bgp 200
 router-id 10.10.10.10
 peer 2222::254 as-number 100 
 #
 ipv6-family unicast
  undo synchronizatio
  network 8888:: 64 
  peer 2222::254 enable
代码语言:javascript
复制
AR2 
bgp 300
 router-id 11.11.11.11
 peer 3333::254 as-number 100 
 #
 ipv6-family unicast
  undo synchronizatio
  network 7777:: 64 
  peer 3333::254 enable
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 关键配置
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档