TE Affinity Bits
May 18, 2010 at 10:31 pm | Posted in Blogroll | Leave a commentBy default, Affinity of a TE tunnel is 0×0/0xFFFF. This means, this tunnel can only be placed accross links with affinity attributes 0×0.
If we want a tunnel that can cross any link, we need to set its affinity to 0×0 mask 0×0.
R1#sh mpls traffic-eng tunnels tu0
Name: R1_t0 (Tunnel0) Destination: 2.2.2.2
Status:
Admin: up Oper: down Path: not valid Signalling: Down
path option 5, type explicit R1_R2
path option 10, type dynamic
Config Parameters:
Bandwidth: 55000 kbps (Global) Priority: 6 6 Affinity: 0×0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 55000 bw-based
auto-bw: disabled
R1(config-if)#int tun0
R1(config-if)#tunnel mpls traffic-eng affinity 0×0 mask 0×0
R1(config-if)#end
R1#sh
*May 18 21:25:17.035: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R1#sh mpls t
*May 18 21:25:17.179: %SYS-5-CONFIG_I: Configured from console by console
R1#sh mpls tra
R1#sh mpls traffic-eng tun
R1#sh mpls traffic-eng tunnels
Name: R1_t0 (Tunnel0) Destination: 2.2.2.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type dynamic (Basis for Setup, path weight 2)
path option 5, type explicit R1_R2
Config Parameters:
Bandwidth: 55000 kbps (Global) Priority: 6 6 Affinity: 0×0/0×0
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 55000 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: dynamic path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : FastEthernet0/1, 24
RSVP Signalling Info:
Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 0, Tun_Instance 408
RSVP Path Info:
My Address: 14.0.0.1
Explicit Route: 14.0.0.4 24.0.0.4 24.0.0.2 2.2.2.2
Record Route: NONE
Leave a Comment »
RSS feed for comments on this post. TrackBack URI
Leave a Reply
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.