科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道MPLS VPN Over TE Tunnels

MPLS VPN Over TE Tunnels

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

MPLS VPN Over TE Tunnels

作者:中国IT实验室 2007年9月17日

关键字: VPN 虚拟专用网 SSL VPN IPSecVPN

  • 评论
  • 分享微博
  • 分享邮件

  无Te Tunnel 的 初始化VPN

  PE1:

  hostname PE1

  ip cef

  !

  ip vrf aqua

  rd 100:1

  route-target export 1:1

  route-target import 1:1

  !

  mpls traffic-eng tunnels

  !

  interface Loopback0

  ip address 10.2.2.2 255.255.255.255

  no ip directed-broadcast

  !

  interface Ethernet2/0/1

  ip vrf forwarding aqua

  ip address 172.16.1.2 255.255.255.0

  !

  interface Ethernet2/0/2

  ip address 10.7.7.2 255.255.255.0

  ip router isis

  mpls traffic-eng tunnels

  tag-switching ip

  !

  router isis

  passive-interface Loopback0

  net 47.1234.2222.2222.2222.00

  is-type level-1

  metric-style wide

  mpls traffic-eng router-id Loopback0

  mpls traffic-eng level-1

  !

  router bgp 1

  bgp log-neighbor-changes

  neighbor 10.11.11.11 remote-as 1

  neighbor 10.11.11.11 update-source Loopback0

  !

  address-family vpnv4

  neighbor 10.11.11.11 activate

  neighbor 10.11.11.11 send-community extended

  exit-address-family

  !

  address-family ipv4

  neighbor 10.11.11.11 activate

  no auto-summary

  no synchronization

  exit-address-family

  !

  address-family ipv4 vrf aqua

  redistribute connected

  no auto-summary

  no synchronization

  exit-address-family

  

  

  PE2:

  hostname PE2

  !

  ip vrf aqua

  rd 100:1

  route-target export 1:1

  route-target import 1:1

  !

  mpls traffic-eng tunnels

  !

  interface Loopback0

  ip address 10.11.11.11 255.255.255.255

  !

  interface POS0/1

  ip address 10.12.12.10 255.255.255.0

  ip router isis

  mpls traffic-eng tunnels

  tag-switching ip

  crc 16

  clock source internal

  !

  interface POS5/1

  ip vrf forwarding aqua

  ip address 172.16.13.11 255.255.255.0

  crc 32

  clock source internal

  !

  router isis

  passive-interface Loopback0

  mpls traffic-eng router-id Loopback0

  mpls traffic-eng level-1

  net 47.1234.1010.1010.1010.00

  is-type level-1

  metric-style wide

  !

  router bgp 1

  bgp log-neighbor-changes

  neighbor 10.2.2.2 remote-as 1

  neighbor 10.2.2.2 update-source Loopback0

  no auto-summary

  !

  address-family vpnv4

  neighbor 10.2.2.2 activate

  neighbor 10.2.2.2 send-community extended

  exit-address-family

  !

  address-family ipv4 vrf aqua

  redistribute connected

  no auto-summary

  no synchronization

  exit-address-family

  !

  

  PE1 到 PE2 做TE Tunnel

  

  PE1

  

  PE1#show run interface tunnel 0

  !

  interface Tunnel0

  ip unnumbered Loopback0

  no ip directed-broadcast

  no ip route-cache distributed

  tunnel destination 10.11.11.11

  tunnel mode mpls traffic-eng

  tunnel mpls traffic-eng autoroute announce

  tunnel mpls traffic-eng path-option 10 dynamic

  end

  

  PE1 到 P2 做TE Tunnel

  PE1#show run interface tunnel0

  !

  interface Tunnel0

  ip unnumbered Loopback0

  no ip directed-broadcast

  no ip route-cache distributed

  tunnel destination 10.5.5.5

  tunnel mode mpls traffic-eng

  tunnel mpls traffic-eng autoroute announce

  tunnel mpls traffic-eng path-option 10 dynamic

  end

  !

  

  

  

  

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章