久久久精品一区ed2k-女人被男人叉到高潮的视频-中文字幕乱码一区久久麻豆樱花-俄罗斯熟妇真实视频

MPLS---OSPF試驗(yàn)

MPLS---OSPF試驗(yàn)

成都創(chuàng)新互聯(lián)公司主營八宿網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營網(wǎng)站建設(shè)方案,重慶APP開發(fā)公司,八宿h5微信小程序定制開發(fā)搭建,八宿網(wǎng)站營銷推廣歡迎八宿等地區(qū)企業(yè)咨詢

Ip地址如上圖,Loopback 0分別為 x.x.x.x/32  R1/R5是CE。R2/R3/R4是ISP:R2/R4是PE,R3是P。

步驟一、ISP內(nèi)部運(yùn)行IGP(ISIS)協(xié)議

R2:

router isis

 net 24.0234.0000.0000.0002.00

interface Serial1/1

ip router isis

interface Loopback0

ip router isis

R3:

router isis

 net 24.0234.0000.0000.0003.00

 

interface Serial1/1

ip router isis

nterface Serial1/0

ip router isis

interface Loopback0

ip router isis

 

R4:

router isis

 net 24.0234.0000.0000.0004.00

interface Serial1/0

ip router isis

interface Loopback0

ip router isis

 

 

配置完檢查鄰居關(guān)系的建立:

R3# sh clns neighbors

 

System Id      Interface   SNPA                State  Holdtime  Type Protocol

R4             Se1/1       *HDLC*              Up     29        L1L2 IS-IS

R2             Se1/0       *HDLC*              Up     27        L1L2 IS-IS

R2/R4上show ip route查看路由是否學(xué)到

R2#sh ip route

 

     34.0.0.0/24 is subnetted, 1 subnets

i L1    34.0.0.0 [115/20] via 23.0.0.3, Serial1/1

     2.0.0.0/32 is subnetted, 1 subnets

C       2.2.2.2 is directly connected, Loopback0

     3.0.0.0/32 is subnetted, 1 subnets

i L1    3.3.3.3 [115/20] via 23.0.0.3, Serial1/1

     4.0.0.0/32 is subnetted, 1 subnets

i L1    4.4.4.4 [115/30] via 23.0.0.3, Serial1/1

     23.0.0.0/24 is subnetted, 1 subnets

C       23.0.0.0 is directly connected, Serial1/1

步驟二、ISP內(nèi)部實(shí)現(xiàn)MPLS

R2:

mpls label range 200 300

mpls ldp route-id    lo 0

int s 1/1

mpls ip

R3:

mpls label range 300 400

mpls ldp route-id    lo 0

int s 1/1

mpls ip

int s 1/0

mpls ip

R4:

mpls label range 400 500

mpls ldp route-id    lo 0

int s 1/0

mpls ip

 

然后在R3上查看LDP鄰居的建立:

 

R3#sh mpls ldp neighbor

    Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 3.3.3.3:0

        TCP connection: 2.2.2.2.646 - 3.3.3.3.33300

        State: Oper; Msgs sent/rcvd: 34/37; Downstream

        Up time: 00:23:03

        LDP discovery sources:

          Serial1/0, Src IP addr: 23.0.0.2

        Addresses bound to peer LDP Ident:

          23.0.0.2        2.2.2.2        

    Peer LDP Ident: 4.4.4.4:0; Local LDP Ident 3.3.3.3:0

        TCP connection: 4.4.4.4.32962 - 3.3.3.3.646

        State: Oper; Msgs sent/rcvd: 25/28; Downstream

        Up time: 00:14:27

        LDP discovery sources:

          Serial1/1, Src IP addr: 34.0.0.4

        Addresses bound to peer LDP Ident:

          34.0.0.4        4.4.4.4        

 

LDP鄰居建立完成即可。

 

步驟三、ISP中R2與R4(PE之間)建立MBPG-×××關(guān)系

R2:

router bgp 1

no au                                                         默認(rèn)關(guān)閉的

no syn                                                        默認(rèn)關(guān)閉的

 no bgp default ipv4-unicast

 bgp log-neighbor-changes

 neighbor 4.4.4.4 remote-as 1

 neighbor 4.4.4.4 update-source Loopback0

 !

 address-family ***v4

  neighbor 4.4.4.4 activate

  neighbor 4.4.4.4 send-community extended

 exit-address-family

R4:

router bgp 1

 no au

 no syn

 no bgp default ipv4-unicast

 bgp log-neighbor-changes

 neighbor 2.2.2.2 remote-as 1

 neighbor 2.2.2.2 update-source Loopback0

 !

 address-family ***v4

  neighbor 2.2.2.2 activate

  neighbor 2.2.2.2 send-community extended

 exit-address-family

 

檢查鄰居是否建立成功:

 

R4#   sh ip bg *** all summary

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

2.2.2.2         4     1      35      33        9    0    0 00:25:47        2

 

R2# sh ip bg *** all su

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

4.4.4.4         4     1      34      36        9    0    0 00:26:14        2

 

步驟四、VRF的導(dǎo)入導(dǎo)出

R2/R4

創(chuàng)建VRF

ip vrf OSPF

 rd 1:100  

 route-target export 1:100

 route-target import 1:100

接口下啟用VRF

R2  interface Serial1/0

 I    p vrf forwarding OSPF

R4  interface Serial1/1

 ip vrf forwarding OSPF

 

PE-CE間使用ospf路由協(xié)議

R1:

router ospf 1

 router-id 1.1.1.1

 log-adjacency-changes

 network 1.1.1.1 0.0.0.0 area 0

 network 12.0.0.1 0.0.0.0 area 0

R2:

router ospf 1 vrf OSPF

 log-adjacency-changes

network 12.0.0.2 0.0.0.0 area 0

R5:

router ospf 1

 router-id 5.5.5.5

 log-adjacency-changes

 network 5.5.5.5 0.0.0.0 area 0

 network 45.0.0.5 0.0.0.0 area 0

R4

router ospf 1 vrf OSPF

 log-adjacency-changes

network 45.0.0.4 0.0.0.0 area 0

 

R2/R4 VRF和BGP路由相互重分布

R2/R4

router ospf 1 vrf OSPF

 redistribute bgp 1 subnets

 

router bgp 1

address-family ipv4 vrf OSPF

  redistribute ospf 1 vrf OSPF match internal external 1 external 2

  no synchronization

 exit-address-family

 

 

R2/R4上檢查VRF路由是否學(xué)到

R2#sh ip bg *** all

   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 1:1 (default for vrf RIP)

*> 1.1.1.1/32       12.0.0.1                 1         32768 ?

*>i5.5.5.5/32       4.4.4.4                  1    100      0 ?

*> 12.0.0.0/24      0.0.0.0                  0         32768 ?

*>i45.0.0.0/24      4.4.4.4                  0    100      0 ?

 

 

查看R1/R5路由是否學(xué)到:

R1#        sh ip route

 

 

     1.0.0.0/32 is subnetted, 1 subnets

C       1.1.1.1 is directly connected, Loopback0

     5.0.0.0/32 is subnetted, 1 subnets

O IA    5.5.5.5 [110/129] via 12.0.0.2, 00:11:14, Serial1/1

     12.0.0.0/24 is subnetted, 1 subnets

C       12.0.0.0 is directly connected, Serial1/1

     45.0.0.0/24 is subnetted, 1 subnets

O IA    45.0.0.0 [110/65] via 12.0.0.2, 00:11:14, Serial1/1

 

 步驟五、測試MPLS,查看轉(zhuǎn)發(fā)過程標(biāo)簽轉(zhuǎn)換情況

 

單方向從R1-R5觀察:

 

R1#traceroute 5.5.5.5

 

Type escape sequence to abort.

Tracing the route to 5.5.5.5

 

  1 12.0.0.2 48 msec 48 msec 32 msec

  2 23.0.0.3 [MPLS: Labels 301/403 Exp 0] 112 msec 120 msec 160 msec

  3 45.0.0.4 [MPLS: Label 403 Exp 0] 108 msec 120 msec 108 msec

  4 45.0.0.5 128 msec *  104 msec

 

R2#sh ip cef vrf OSPF detail

 

5.5.5.5/32, version 9, epoch 0, cached adjacency to Serial1/1

0 packets, 0 bytes

  tag information set

    local tag: ×××-route-head

    fast tag rewrite with Se1/1, point2point, tags imposed: {301 403}

  via 4.4.4.4, 0 dependencies, recursive

    next hop 23.0.0.3, Serial1/1 via 4.4.4.4/32

    valid cached adjacency

tag rewrite with Se1/1, point2point, tags imposed: {301 403}

 

 

 

R3#sh mpls forwarding-table

Local  Outgoing    Prefix            Bytes tag  Outgoing   Next Hop   

tag    tag or VC   or Tunnel Id      switched   interface             

301    Pop tag     4.4.4.4/32        4760       Se1/1      point2point 

 

R4#sh ip cef vrf OSPF detail

5.5.5.5/32, version 10, epoch 0, cached adjacency to Serial1/1

0 packets, 0 bytes

  tag information set

    local tag: 403

  via 45.0.0.5, Serial1/1, 0 dependencies

    next hop 45.0.0.5, Serial1/1

    valid cached adjacency

    tag rewrite with Se1/1, point2point, tags imposed: {}

當(dāng)前名稱:MPLS---OSPF試驗(yàn)
瀏覽路徑:http://sd-ha.com/article18/gpsodp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站制作網(wǎng)頁設(shè)計(jì)公司、企業(yè)建站、網(wǎng)站改版、網(wǎng)站維護(hù)、手機(jī)網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)