Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Fix lỗi cấu hình MPLS-TE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fix lỗi cấu hình MPLS-TE

    Click image for larger version

Name:	1.JPG
Views:	1
Size:	23.6 KB
ID:	207539

    Mô hình mạng như trên.

    Cấu hình tunnel giữa router R1 và R4, R4 với R2

    Router R1

    interface Loopback0

    ip address 10.10.10.1 255.255.255.255

    !

    interface Tunnel1

    ip unnumbered Loopback0

    tunnel destination 10.10.10.4

    tunnel mode mpls traffic-eng

    tunnel mpls traffic-eng autoroute announce

    tunnel mpls traffic-eng priority 3 3

    tunnel mpls traffic-eng bandwidth 512

    tunnel mpls traffic-eng path-option 2 dynamic

    no routing dynamic

    interface Serial0/1

    ip address 10.1.1.14 255.255.255.252


    mpls ip


    mpls traffic-eng tunnels


    serial restart-delay 0


    ip rsvp bandwidth 512 512

    router ospf 9

    mpls traffic-eng router-id Loopback0


    mpls traffic-eng area 9


    log-adjacency-changes


    network 10.0.0.0 0.255.255.255 area 9

    router R4


    interface Loopback0
    ip address 10.10.10.4 255.255.255.255
    !
    interface Tunnel158
    ip unnumbered Loopback0
    tunnel destination 10.10.10.2
    tunnel mode mpls traffic-eng
    tunnel mpls traffic-eng autoroute announce
    tunnel mpls traffic-eng priority 2 2
    tunnel mpls traffic-eng bandwidth 512
    tunnel mpls traffic-eng path-option 1 explicit name straight
    no routing dynamic
    !
    interface Serial0/0
    ip address 10.1.1.22 255.255.255.252
    mpls ip
    mpls traffic-eng tunnels
    serial restart-delay 0
    ip rsvp bandwidth 512 512
    !
    interface Serial0/1
    ip address 10.1.1.13 255.255.255.252
    mpls ip
    mpls traffic-eng tunnels
    serial restart-delay 0
    ip rsvp bandwidth 512 512
    !
    router ospf 9
    mpls traffic-eng router-id Loopback0
    mpls traffic-eng area 9
    log-adjacency-changes
    network 10.0.0.0 0.255.255.255 area 9
    !
    ip explicit-path name straight enable
    next-address 10.1.1.21
    next-address 10.1.1.5
    !

    Cấu hình xong mình show mpls interface thấy tunnel vẫn no,ko biết lỗi chỗ nào. Bro nào fix giùm mình với :-S

  • #2
    Post : show mpls traffic-eng topology & show mpls traffic-eng tu tren R1 & R4
    CCIE#24929 (SP)
    Networking Forum: http://netspace.vn/forum

    Comment


    • #3
      Originally posted by rintrum View Post
      Post : show mpls traffic-eng topology & show mpls traffic-eng tu tren R1 & R4
      Đây nè bro, mình dùng IOS 3600 :D

      :DR1#show mpls traffic-eng topology
      My_System_id: 10.10.10.1, Globl Link Generation 10
      Signalling error holddown: 10 sec
      IGP Id: 10.10.10.1, MPLS TE Id:10.10.10.1 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.4, gen:10
      frag_id 0, Intf Address:10.1.1.14, Nbr Intf Address:10.1.1.13
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      IGP Id: 10.10.10.2, MPLS TE Id:10.10.10.2 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.3, gen:3
      frag_id 0, Intf Address:10.1.1.5, Nbr Intf Address:10.1.1.6
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      IGP Id: 10.10.10.3, MPLS TE Id:10.10.10.3 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.4, gen:4
      frag_id 1, Intf Address:10.1.1.21, Nbr Intf Address:10.1.1.22
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      link[1 ]:Nbr IGP Id: 10.10.10.2, gen:9
      frag_id 0, Intf Address:10.1.1.6, Nbr Intf Address:10.1.1.5
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 512 488 0
      bw[3]: 0 488 0
      bw[4]: 0 488 0
      bw[5]: 0 488 0
      bw[6]: 0 488 0
      bw[7]: 0 488 0
      IGP Id: 10.10.10.4, MPLS TE Id:10.10.10.4 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.3, gen:8
      frag_id 0, Intf Address:10.1.1.22, Nbr Intf Address:10.1.1.21
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 512 488 0
      bw[3]: 0 488 0
      bw[4]: 0 488 0
      bw[5]: 0 488 0
      bw[6]: 0 488 0
      bw[7]: 0 488 0
      link[1 ]:Nbr IGP Id: 10.10.10.1, gen:6
      frag_id 1, Intf Address:10.1.1.13, Nbr Intf Address:10.1.1.14
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      R1# show mpls traffic-eng tunnels
      Name: R1_t1 (Tunnel1) Destination: 10.10.10.4
      Status:
      Admin: up Oper: up Path: valid Signalling: connected
      path option 1, type dynamic (Basis for Setup, path weight 100)
      Config Parameters:
      Bandwidth: 1000 kbps (Global) Priority: 3 3 Affinity: 0x0/0xFFFF
      Metric Type: TE (default)
      AutoRoute: enabled LockDown: disabled Loadshare: 1000 bw-based
      auto-bw: disabled
      InLabel : -
      OutLabel : Serial0/1, implicit-null
      RSVP Signalling Info:
      Src 10.10.10.1, Dst 10.10.10.4, Tun_Id 1, Tun_Instance 9
      RSVP Path Info:
      My Address: 10.10.10.1
      Explicit Route: 10.1.1.13 10.10.10.4
      Record Route: NONE
      Tspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=1000 kbits
      RSVP Resv Info:
      Record Route: NONE
      Fspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=1000 kbits
      History:
      Tunnel:
      Time since created: 4 minutes, 9 seconds
      Time since path change: 3 minutes, 50 seconds
      Current LSP:
      Uptime: 1 minutes, 30 seconds
      Selection: reoptimation
      Prior LSP:
      ID: path option 1 [7]
      Removal Trigger: configuration changed
      R1# show mpls interfaces
      Interface IP Tunnel Operational
      Serial0/1 Yes (ldp) Yes Yes
      Tunnel1 No No Yes



      R4#show mpls traffic-eng topology
      My_System_id: 10.10.10.4, Globl Link Generation 11
      Signalling error holddown: 10 sec
      IGP Id: 10.10.10.1, MPLS TE Id:10.10.10.1 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.4, gen:11
      frag_id 0, Intf Address:10.1.1.14, Nbr Intf Address:10.1.1.13
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 1000 0 0
      bw[4]: 0 0 0
      bw[5]: 0 0 0
      bw[6]: 0 0 0
      bw[7]: 0 0 0
      IGP Id: 10.10.10.2, MPLS TE Id:10.10.10.2 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.3, gen:3
      frag_id 0, Intf Address:10.1.1.5, Nbr Intf Address:10.1.1.6
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      IGP Id: 10.10.10.3, MPLS TE Id:10.10.10.3 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.4, gen:4
      frag_id 1, Intf Address:10.1.1.21, Nbr Intf Address:10.1.1.22
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0
      link[1 ]:Nbr IGP Id: 10.10.10.2, gen:8
      frag_id 0, Intf Address:10.1.1.6, Nbr Intf Address:10.1.1.5
      TE metric:100, IGP metric:100, attribute_flags:0x0
      physical_bw: 1000 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 512 488 0
      bw[3]: 0 488 0
      bw[4]: 0 488 0
      bw[5]: 0 488 0
      bw[6]: 0 488 0
      bw[7]: 0 488 0
      IGP Id: 10.10.10.4, MPLS TE Id:10.10.10.4 Router Node
      link[0 ]:Nbr IGP Id: 10.10.10.3, gen:7
      frag_id 0, Intf Address:10.1.1.22, Nbr Intf Address:10.1.1.21
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 512 488 0
      bw[3]: 0 488 0
      bw[4]: 0 488 0
      bw[5]: 0 488 0
      bw[6]: 0 488 0
      bw[7]: 0 488 0
      link[1 ]:Nbr IGP Id: 10.10.10.1, gen:6
      frag_id 1, Intf Address:10.1.1.13, Nbr Intf Address:10.1.1.14
      TE metric:64, IGP metric:64, attribute_flags:0x0
      physical_bw: 1544 (kbps), max_reservable_bw_global: 1000 (kbps)
      max_reservable_bw_sub: 0 (kbps)
      Global Pool Sub Pool
      Total Allocated Reservable Reservable
      BW (kbps) BW (kbps) BW (kbps)
      --------------- ----------- ----------
      bw[0]: 0 1000 0
      bw[1]: 0 1000 0
      bw[2]: 0 1000 0
      bw[3]: 0 1000 0
      bw[4]: 0 1000 0
      bw[5]: 0 1000 0
      bw[6]: 0 1000 0
      bw[7]: 0 1000 0

      R4# show mpls traffic-eng tunnels
      Name: R4_t158 (Tunnel158) Destination: 10.10.10.2
      Status:
      Admin: up Oper: up Path: valid Signalling: connected
      path option 1, type explicit straight (Basis for Setup, path weight 164)
      Config Parameters:
      Bandwidth: 512 kbps (Global) Priority: 2 2 Affinity: 0x0/0xFFFF
      Metric Type: TE (default)
      AutoRoute: enabled LockDown: disabled Loadshare: 512 bw-based
      auto-bw: disabled
      InLabel : -
      OutLabel : Serial0/0, 16
      RSVP Signalling Info:
      Src 10.10.10.4, Dst 10.10.10.2, Tun_Id 158, Tun_Instance 6
      RSVP Path Info:
      My Address: 10.10.10.4
      Explicit Route: 10.1.1.21 10.1.1.5 10.10.10.2
      Record Route: NONE
      Tspec: ave rate=512 kbits, burst=1000 bytes, peak rate=512 kbits
      RSVP Resv Info:
      Record Route: NONE
      Fspec: ave rate=512 kbits, burst=1000 bytes, peak rate=512 kbits
      History:
      Tunnel:
      Time since created: 3 minutes, 13 seconds
      Time since path change: 3 minutes, 8 seconds
      Current LSP:
      Uptime: 3 minutes, 8 seconds
      LSP Tunnel R1_t1 is signalled, connection is up
      InLabel : Serial0/1, implicit-null
      OutLabel : -
      RSVP Signalling Info:
      Src 10.10.10.1, Dst 10.10.10.4, Tun_Id 1, Tun_Instance 9
      RSVP Path Info:
      My Address: 10.10.10.4
      Explicit Route: NONE
      Record Route: NONE
      Tspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=1000 kbits
      RSVP Resv Info:
      Record Route: NONE
      Fspec: ave rate=1000 kbits, burst=1000 bytes, peak rate=1000 kbits
      R4#

      Comment


      • #4
        Ủa thấy tunnel up bình thường mà bạn.
        CCIE#24929 (SP)
        Networking Forum: http://netspace.vn/forum

        Comment

        Working...
        X