MPLS +BGP
  4i8hCvzXKbg6 2023年11月22日 29 0
ide

MPLS +BGP_ide

配置流程

1)基础配置

int g0/0/0

ip address 14.1.1.4 24

int l0

ip address 4.4.4.4 32 //LDP也会建立邻居关系(默认使用环回口建立邻居。因此必须要环回口路由可达)

2)创建ibgp的tcp路由

isis 100//100为进程号

network-entity 49.0001.0010.0100.1001.00

cost-style wide

is-level level-2

3)ibgp中接口启用isis

int g0/0/0

isis enable 100 //100为进程号

4)启用mpls

mpls lsr-id 1.1.1.1

mpls

mpls ldp

5)配置bgp

bgp 100

route-id 1.1.1.1

undo default ipv4-unicast

peer 1.1.1.1 as-number 100

peer 1.1.1.1 connect-interface loopback 0

6)vpnv4配置

ipv4-family vpnv4

peer 3.3.3.3 enable

7)创建vrf(虚拟路由转发)

ip vpn-instance ABC

ipv4-family

 route-distinguisher 14:14

 vpn-target 14:14 export-extcommunity

 vpn-target 14:14 35:35 import-extcommunity

8)绑定接口

interface GigabitEthernet0/0/0

ip binding vpn-instance ABC

ip address 14.1.1.1 255.255.255.0

9)ABC案例应用

ipv4-family vpn-instance ABC  

 peer 14.1.1.4 as-number 100

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月22日 0

暂无评论

推荐阅读
  4i8hCvzXKbg6   2023年11月05日   40   0   0 ide
  4i8hCvzXKbg6   2023年11月13日   60   0   0 Standardciide
  4i8hCvzXKbg6   2023年11月24日   43   0   0 IPideTCP
  4i8hCvzXKbg6   2023年11月22日   30   0   0 ide
  4i8hCvzXKbg6   2023年11月19日   22   0   0 Standardciide
  syRljlCB1Ygs   2023年11月26日   38   0   0 sedciide
  4i8hCvzXKbg6   2023年11月19日   25   0   0 ide