Thursday, March 12, 2015

MPLS TE priority


    1. Priority
    Some tunnels are more inportance than others. For example, you might have tunnels carrying VoIP traffic and tunnels carrying data traffic that a competing for the sme resource. You might simple have spme data tunnels that are more importance than others.
    Each tunnel has a priority, and more-importance tunnels take precedence over less-important tunnels. Less-important tunnels are pushed out of the way and are made to recalculate a path, and their resource are given to the more important tunnel


    EX: tun0 and tun 1 cung di tren 1 duong R1-R2-R4

    " show mpls traffic-eng topology "

    Truong hop1: bandwidth tun0 = tun1 = 0

    Priority
    Bandwith
    config
    Total Allocated
    Global Pool Reservable
    Tun0 (priority 5 5)
    5
    0
    0
    50

    6
    0
    0
    50
    Tun1 (priority 7 7)
    7
    0
    0
    50

    Truong hop2: bandwidth tun1=30, bandwith tun0 = 0

    Priority
    Bandwith
    config
    Total Allocated
    Global Pool Reservable
    Tun0 (priority 5 5)
    5
    0
    0
    50

    6
    0
    0
    50
    Tun1 (priority 7 7)
    7
    30
    30
    20


    Truong hop3: bandwidth tun1=30 va bandwidth tun0 = 10
    Vi tun 0 pri 5, nen no se preemt bandwith pri 6 and 7.
    Truong hop 2: pri 7 co bandwidth con lai = 20, nhung pri 5 chiem 10 -> con lai 10
                               pri 6 co bandwidth con lai = 50 (chua dung), nhung pri5 chiem 10 -> con lai 40


    Priority
    Bandwith
    config
    Total Allocated
    Global Pool Reservable
    Tun0 (priority 5 5)
    5
    10
    10
    40

    6
    0
    0
    40
    Tun1 (priority 7 7)
    7
    30
    30
    10

    Truong hop4: bandwidth tun 1=30 , bandwidth tun0 = 40.
        pri 7 bandwidth = 30 con lai bandwidth 20  nhung bi Pri5 bandwith = 40,
        -> pri7 k du bandwidth ->  duong tun1 down de giai phong bang thong cung cap tun0


    Priority
    Bandwith
    config
    Total Allocated
    Global Pool Reservable
    Tun0 (priority 5 5)
    5
    40
    40
    10

    6
    0
    0
    10
    Tun1 (priority 7 7)
    7
    30
    0
    10

    Ketluan: 50k bandwith duoc su dung cho tat ca gia tri priority 0 -7
    Priority thap la tot nhat, co kha nang chiem giu bang thong cua prority cao hon. Priority =0 khong bi chiem giu


    1. Priority :  setup and holding priority

    Bw[5]
    40
    10

    Bw[6]
    0
    10

    Bw[7]
    0
    10





    Tunnel 0
    40
    priority
    7       6
    Tunnel 1
    30
    priority
    7       5

    Cho 2 tunnel:
    Tunnel 1: priority  7 6
    Tunnel 2: priority   6 5
    Gia su tunnel 1 up truoc. Khi tunnel 2 up, no se so sanh gia tri setup priority cua no voi gia tri hold priority cua tunnle 1 neu nho hon thi tunnel 2 len va tunnel 1 down.

No comments:

Post a Comment