13 - MPLS-TE-Affinity-Attribute-Flag-ArashDeljoo

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

===========================================================================

MPLS-TE Affinity-Attribute-Flag
===========================================================================

Fiber Fiber
R1-------->R2--------->R4 BW=1000K Ground
0x00000001 0x00000001

R1-------->R3--------->R4 BW=1000K Satelite


Air Air
0x00000010 0x00000010

R1-Tu0 -> BW=500K -> tunnel mpls traffic-eng bandwidth 500


-> tunnel mpls traffic-eng affinity <0x0-0XFFFFFFFF> mask <0x0-
0XFFFFFFFF>
-> tunnel mpls traffic-eng affinity 0x00000001 mask 0x0000000F

MPLS TE Router------------ATTRIBUTE-FLAG---------
0X00000000->

MASK 1 0
--------------------------------------
ATTRIBUTE Important Not-Important

0x00000001 -> 0000 0000 0000 0000 0000 0000 0000 0001
0x0000000F -> 0000 0000 0000 0000 0000 0000 0000 1111

0x00000010 -> 0000 0000 0000 0000 0000 0000 0001 0000
--------------------------------------------------------
Links -> 0x0->0x00000000

R1
--
en
conf t
hostname R1
ip cef
mpls label range 100 199
mpls traffic-eng tunnels

interface fa0/0
ip address 10.1.2.1 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface fa1/0
ip address 10.1.3.1 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels
interface fa2/0
ip address 10.1.5.1 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface fa3/0
ip address 10.1.6.1 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface loopback 0
ip address 192.168.254.1 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.1
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0

R2
--
en
conf t
hostname R2
ip cef
mpls label range 200 299
mpls traffic-eng tunnels

interface fa0/0
ip address 10.1.2.2 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface fa1/0
ip address 10.2.4.2 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface loopback 0
ip address 192.168.254.2 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.2
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0
R3
--
en
conf t
hostname R3
ip cef
mpls label range 300 399
mpls traffic-eng tunnels

interface fa0/0
ip address 10.1.3.3 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface fa1/0
ip address 10.3.4.3 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface loopback 0
ip address 192.168.254.3 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.3
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0

R4
--
en
conf t
hostname R4
ip cef
mpls label range 400 499
mpls traffic-eng tunnels

interface fa0/0
ip address 10.2.4.4 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface fa1/0
ip address 10.3.4.4 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface loopback 0
ip address 192.168.254.4 255.255.255.255
ip ospf 1 area 0

interface loopback 1
ip address 4.4.4.4 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.4
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0

R5
--
en
conf t
hostname R5
ip cef
mpls label range 500 599
mpls traffic-eng tunnels

interface fa0/0
ip address 10.1.5.5 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels

interface loopback 0
ip address 192.168.254.5 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.5
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0

R6
--
en
conf t
hostname R6
ip cef
mpls label range 600 699
mpls traffic-eng tunnels

interface fa0/0
ip address 10.1.6.6 255.255.255.0
no sh
ip ospf 1 area 0
ip ospf network point-to-point
ip rsvp bandwidth
mpls traffic-eng tunnels
interface loopback 0
ip address 192.168.254.6 255.255.255.255
ip ospf 1 area 0

router ospf 1
router-id 192.168.254.6
mpls traffic-eng router-id loopback 0
mpls traffic-eng area 0

Affinity: 0x0/0xFFFF -> 0x00000000/0x0000FFFF

0x00000000 -> 0000 0000 0000 0000 0000 0000 0000 0000
0x0000FFFF -> 0000 0000 0000 0000 1111 1111 1111 1111
------------------------------------------------------
Attribute-Flag 0x00000000

Tu1 R5->R1->R3->R4 BW=1000K


Tu2 R6->R1->R3->R4 BW=1000K
-------------------------------------------------------
0X1 -> 0000 0000 0000 0000 0000 0000 0000 0001
0XF -> 0000 0000 0000 0000 0000 0000 0000 1111

You might also like