From: Scott Morris (smorris@internetworkexpert.com)
Date: Tue Sep 30 2008 - 10:03:30 ART
The affinity bits are arbitrarily assigned to links so that you can use them
in a masking format. While it's a very interesting and very powerful way to
look at things, it's also a very complicated way!
Whichever bits you flag on a link, if your tunnel has a mask that allows
those, then you're good.
An example, your mask says (and I think it's hex, but I'll just give a quick
binary example) that you permit 00000111 bits.
If you have an interface with 00000001, it's permitted. If you have a
10000001, it is not (first bit not allowed but is set). On the other hand,
00000101 is, because it falls in the range.
While I'm not usually one to get into vendor wars or anything, I think the
Juniper method of this (link coloring) is MUCH more straightforward. But
they all accomplish the same thing in the end.
It's an arbitrary value that you set based on what you want to accomplish.
HTH,
Scott Morris, CCIE4 #4713, JNCIE-M #153, JNCIS-ER, CISSP, et al.
CCSI/JNCI-M/JNCI-ER
Senior CCIE Instructor
smorris@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Outside US: 775-826-4344
Online Community: http://tinyurl.com/6dmnsu
CCIE Blog: http://tinyurl.com/2nxxaq
Knowledge is power.
Power corrupts.
Study hard and be Eeeeviiiil......
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
DENNIS UBOM
Sent: Tuesday, September 30, 2008 8:19 AM
To: Cisco certification
Subject: tunnel mpls traffic-eng affinity
Hi experts,
can somebody explain to me the Affinity value bit and mask
and how to calculate one?
i understand affinity is use for link coloring but havent been able
understand or find infor how the configured bit/mask determined.
tryin to test on dynamips and no luck
interface Tunnel88
ip unnumbered Loopback0
tunnel destination 10.10.10.11
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng
priority 0 0 tunnel mpls traffic-eng bandwidth 1500 tunnel mpls
traffic-eng affinity 0x81 mask 0xFFFF tunnel mpls traffic-eng path-option 1
dynamic end R8#sh run int f0/0.88 Building configuration...
Current configuration : 260 bytes
!
interface FastEthernet0/0.88
ip address 10.10.88.8 255.255.255.0
ip router isis
ip mpls traffic-eng tunnels
mpls traffic-eng attribute-flags 0x81
mpls ip
isis circuit-type level-1
ip rsvp bandwidth 20000
end
i added command " mpls traffic-eng attribute-flags 0x81" on the link to
tailend but but tunnel is still down
my question is
what are this affinity bit/mask and how does it work? or calculate one. pls
check bold config t R8(config)#INT TUN88 R8(config-if)#tunnel mpls
traffic-eng affinity ?
<0x0-0xFFFFFFFF> *affinity value*
R8(config-if)#tunnel mpls traffic-eng affinity 0x81 ?
* mask mask on desired link attributes*
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Oct 04 2008 - 09:26:20 ART