Configuring Te Tunnel With Weights - Cisco NCS 5500 Series Configuration Manuals

Routing configuration ios xr release 6.3.x
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Configuring TE Tunnel With Weights

Verification
Step 1: Verify CEF entry:
Via 1.0.0.2: set extcommunity bandwidth (2906:45750000) – Weight = 45750000/125=366000 (125 ratio
because baud)
Via 2.0.0.2: set extcommunity bandwidth (2906:47250000) – Weight = 47250000/125=378000
GCD is 6, so norm_weight = 61 and 63. Though 61 + 63 > 64.
Step 2: GCD of weights 61 and 63 is 1. Therefore, Normalised Weight = (Path weight/Total weight) *
Maximum bucket size. The maximum bucket size value is 64. Total weight = 61+63 = 124.
norm_weight1 = (61/124) * 64 = 31, norm_weight2 = (63/124) * 64 = 32
You can verify the weight distribution in BGP, using the following command:
Router # show cef vrf default ipv4 97.0.0.0 detail
97.0.0.0/24, version 1965, internal 0x5000001 0x0 (ptr 0x71bcb620) [1], 0x0 (0x0), 0x0 (0x0)
Updated Oct 16 08:15:02.958
Prefix Len 24, traffic index 0, precedence n/a, priority 4
gateway array (0x72a5e2f8) reference count 10, flags 0x2010, source rib (7), 0 backups
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 1 Oct 16 08:15:02.958
LDI Update time Oct 16 08:15:02.959
Level 1 - Load distribution: 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0 1 1
[0] via 1.0.0.2/32, recursive
[1] via 2.0.0.2/32, recursive
Configuring TE Tunnel With Weights
Use the load-share command on tunnel-te config to set weight.
RP/0/RSP0/CPU0:router(config)# interface tunnel-te1
RP/0/RSP0/CPU0:router(config-if)# load-share 8
Verification
In the following example, the weight is distributed among the five TE tunnels.
Router# show cef ipv4 97.0.0.0 detail
(...)
via 200.0.0.1/32, tunnel-te1, 3 dependencies, weight 8, class 0 [flags 0x0]
via 200.0.0.1/32, tunnel-te2, 3 dependencies, weight 4, class 0 [flags 0x0]
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
234
[1 type 3 flags 0x48441 (0x71b02cd0) ext 0x0 (0x0)]
Weight distribution:
slot 0, weight 366000, normalized_weight 31
slot 1, weight 378000, normalized_weight 32
path-idx 0 NHID 0x0 [0x7244d2f8 0x0]
next hop 200.0.0.1/32
local adjacency
path-idx 1 NHID 0x0 [0x7244e948 0x0]
Implementing UCMP

Advertisement

Table of Contents
loading

Table of Contents