成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

CCIE ISP-Inter-AS MPLS solutions - Back-to-Back vrf’s

企業(yè)動(dòng)態(tài)
This post is about option A. I will show how to configure inter-as vpn’s using back-to-back vrf’s. Below you can see the diagram used for the purpose of this post.

When configuring inter-as mpls vpn’s you’ve got 3 options to choose from.

A - Back-to-Back VRF’s

B - MP-eBGP for VPNv4

C - Multi-hop EBGP VPNv4

This post is about option A. I will show how to configure inter-as vpn’s using back-to-back vrf’s. Below you can see the diagram used for the purpose of this post.

 

With back-to-back vrf’s what you’ll do is basically make the connected PE’s think of each other as CE’s. You can run any supported PE-CE routing protocol over the per VPN logical interface between the directly connected ASBR’s. This option is seen as the easiest one to configure, a drawback is that this option doesn’t scale very well as the numbers of VPN’s start to grow.

Below the working configurations for this inter-as solution, I left out the configurations for router R1, R5, R7 and R8 because there is nothing special configured on these routers (they’re just simple P-routers and CE routers running RIPv2).

R2 :

hostname R2
!
ip cef
!
ip vrf VPN_A
 rd 2.2.2.2:1
 route-target export 2.2.2.2:1
 route-target import 3.3.3.3:1
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface Loopback1
 ip vrf forwarding VPN_A
 ip address 22.22.22.22 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 24.24.24.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 12.12.12.2 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
router ospf 100 vrf VPN_A
 log-adjacency-changes
 redistribute bgp 123 subnets
 network 22.22.22.22 0.0.0.0 area 0
 network 24.24.24.2 0.0.0.0 area 0
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 12.12.12.2 0.0.0.0 area 0
!
router bgp 123
 bgp router-id 2.2.2.2
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 123
 neighbor 3.3.3.3 update-source Loopback0
 !
 address-family vpnv4
 neighbor 3.3.3.3 activate
 neighbor 3.3.3.3 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 100 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family

R4 :

hostname R4
!
ip cef
!
ip vrf VPN_A
 rd 4.4.4.4:1
 route-target export 4.4.4.4:1
 route-target import 6.6.6.6:1
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
!
interface Loopback1
 ip vrf forwarding VPN_A
 ip address 44.44.44.44 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 24.24.24.4 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 45.45.45.4 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
router ospf 100 vrf VPN_A
 log-adjacency-changes
 redistribute bgp 456 subnets
 network 24.24.24.4 0.0.0.0 area 0
 network 44.44.44.44 0.0.0.0 area 0
!
router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 45.45.45.4 0.0.0.0 area 0
!
router bgp 456
 bgp router-id 4.4.4.4
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 456
 neighbor 6.6.6.6 update-source Loopback0
 !
 address-family vpnv4
 neighbor 6.6.6.6 activate
 neighbor 6.6.6.6 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 100 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family

#p3

R3 :

hostname R3
!
ip cef
!
ip vrf VPN_A
 rd 3.3.3.3:1
 route-target export 3.3.3.3:1
 route-target import 2.2.2.2:1
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 13.13.13.3 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
interface FastEthernet2/0
 ip vrf forwarding VPN_A
 ip address 37.37.37.3 255.255.255.0
 duplex auto
 speed auto
!
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 13.13.13.3 0.0.0.0 area 0
!
router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 123 metric transparent
 network 37.0.0.0
 no auto-summary
 exit-address-family
!
router bgp 123
 bgp router-id 3.3.3.3
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 123
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family vpnv4
 neighbor 2.2.2.2 activate
 neighbor 2.2.2.2 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family

R6 :

hostname R6
!
ip cef
!
ip vrf VPN_A
 rd 6.6.6.6:1
 route-target export 6.6.6.6:1
 route-target import 4.4.4.4:1
!
interface Loopback0
 ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 61.61.61.6 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 56.56.56.6 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
interface FastEthernet2/0
 ip vrf forwarding VPN_A
 ip address 68.68.68.6 255.255.255.0
 duplex auto
 speed auto
!
router ospf 1
 router-id 6.6.6.6
 log-adjacency-changes
 network 6.6.6.6 0.0.0.0 area 0
 network 56.56.56.6 0.0.0.0 area 0
!
router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 456 metric transparent
 network 68.0.0.0
 no auto-summary
 exit-address-family
!
router bgp 456
 bgp router-id 6.6.6.6
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 456
 neighbor 4.4.4.4 update-source Loopback0
 !
 address-family vpnv4
 neighbor 4.4.4.4 activate
 neighbor 4.4.4.4 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family

As you can see we run a separate instance of the OSPF process between router R2 and R4, under this process we redistribute BGP.

Now let’s do a “show ip route” on router R7 :

R7 :

R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     68.0.0.0/24 is subnetted, 1 subnets
R       68.68.68.0 [120/2] via 37.37.37.3, 00:00:07, FastEthernet1/3
     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     22.0.0.0/32 is subnetted, 1 subnets
R       22.22.22.22 [120/1] via 37.37.37.3, 00:00:07, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     8.0.0.0/32 is subnetted, 1 subnets
R       8.8.8.8 [120/2] via 37.37.37.3, 00:00:07, FastEthernet1/3
     24.0.0.0/24 is subnetted, 1 subnets
R       24.24.24.0 [120/1] via 37.37.37.3, 00:00:07, FastEthernet1/3
     44.0.0.0/32 is subnetted, 1 subnets
R       44.44.44.44 [120/3] via 37.37.37.3, 00:00:09, FastEthernet1/3

As you can see router R7 can see router R8

【編輯推薦】

  1. CCIE Lab考試可以放心使用"show run"命令
  2. CCIE找工作指南
  3. 思科今年各CCIE考試形勢(shì)分析讀后感
責(zé)任編輯:張攀 來(lái)源: 56cto
相關(guān)推薦

2025-05-08 08:05:00

C++代碼編程

2022-03-11 07:59:09

容器代碼元素

2010-02-22 11:00:05

CCIE

2010-08-10 15:42:31

DB2 back 存檔

2019-07-23 07:11:54

MPLS VPN路由協(xié)議

2009-05-07 10:54:36

CCIE思科認(rèn)證考試資訊

2011-03-23 09:40:34

lampsolutions

2009-12-01 11:31:59

不間斷電源

2009-12-01 11:27:18

不間斷電源

2009-11-02 10:24:24

CCIE R&S排錯(cuò)實(shí)例

2021-01-04 20:40:21

微軟Windows 10Windows

2025-02-07 09:58:43

C++11Lvalue對(duì)象

2009-10-13 14:48:00

CCIE簡(jiǎn)介

2010-02-22 10:37:31

CCIE R&S La

2010-06-29 09:58:42

CCIE K4

2009-11-10 10:08:37

2012-01-04 10:32:09

2009-12-28 13:24:24

BGPMPLS VPN

2024-07-26 09:33:22

2009-09-25 15:54:33

CCIE工資
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)

主站蜘蛛池模板: 国产精品不卡一区 | 国产成人精品一区二 | 午夜影视免费片在线观看 | 国产成人午夜精品影院游乐网 | 二区av | 日韩中文av在线 | 国产91av视频 | 日韩电影一区二区三区 | 麻豆亚洲 | 免费黄色片在线观看 | 午夜精品久久久久久久久久久久 | 欧洲亚洲一区 | 特级做a爱片免费69 精品国产鲁一鲁一区二区张丽 | 精品久久香蕉国产线看观看亚洲 | 日本精品一区二区三区视频 | 久久国产精品色av免费观看 | 亚洲日韩欧美一区二区在线 | 欧美在线视频观看 | 日韩二区 | 国产精品一区在线 | 欧美日韩不卡合集视频 | 黄色网址av | 国产精品久久欧美久久一区 | 国产精品一区二区三区免费观看 | 亚洲一区二区在线免费观看 | 福利视频网站 | 成人二区| 91视频精选 | 亚洲精品视频久久 | 亚洲国产精品美女 | 亚洲午夜av久久乱码 | 欧美久 | 久久精品亚洲一区二区三区浴池 | 中文在线视频 | 免费观看一级特黄欧美大片 | 国产激情91久久精品导航 | 国产精品亚洲综合 | 成人精品久久久 | 狠狠操狠狠干 | 久久久.com| 精品一二三 |