SRLG ID は、各インターフェイスに対して構成できます。プレフィックスに対して 2 つの修復パスがある場合、修復パスに設定された SRLG ID は、プライマリ パス SRLG ID のものと比較されます。セカンダリ パスの SRLG ID
がプライマリのものと異なる場合、そのパスが修復パスとして選択されます。
R2#show ip ospf fast-reroute
OSPF Router with ID (2.2.2.200) (Process ID 10)
Microloop avoidance is enabled for protected prefixes, delay 5000 msec
Loop-free Fast Reroute protected prefixes:
Area Topology name Priority Remote LFA Enabled TI-LFA Enabled
0 Base Low No Yes
AS external Base Low No Yes
Repair path selection policy tiebreaks (built-in default policy):
0 post-convergence
10 primary-path
20 interface-disjoint
30 lowest-metric
40 linecard-disjoint
50 broadcast-interface-disjoint
256 load-sharing
OSPF/RIB notifications:
Topology Base: Notification Enabled, Callback Registered
Last SPF calculation started 17:25:51 ago and was running for 3 ms.
R3#show ip ospf fast-reroute
OSPF Router with ID (3.3.3.33) (Process ID 10)
Loop-free Fast Reroute protected prefixes:
Area Topology name Priority Remote LFA Enabled TI-LFA Enabled
0 Base Low No No
1 Base Low No No
1000 Base Low No No
AS external Base Low No No
Repair path selection policy tiebreaks:
0 post-convergence
60 node-protecting
70 srlg
256 load-sharing
OSPF/RIB notifications:
Topology Base: Notification Disabled, Callback Not Registered
Last SPF calculation started 00:00:06 ago and was running for 2 ms.
router ospf 10
fast-reroute per-prefix enable prefix-priority low
fast-reroute per-prefix ti-lfa
segment-routing mpls
segment-routing area 0 mpls
fast-reroute per-prefix enable prefix-priority low
fast-reroute per-prefix ti-lfa
fast-reroute per-prefix ti-lfa area 0
fast-reroute per-prefix tie-break node-protecting index 60
fast-reroute per-prefix tie-break srlg index 70
mpls traffic-eng router-id Loopback1
mpls traffic-eng area 0
interface GigabitEthernet4 //interface connecting to the router 4
ip address 100.101.4.4 255.255.255.0
ip ospf 10 area 0
ip ospf network point-to-point
srlg gid 10
negotiation auto
interface GigabitEthernet3 //interface connecting to the router 3
ip address 100.101.3.3 255.255.255.0
ip ospf 10 area 0
ip ospf network point-to-point
srlg gid 10
negotiation auto
interface GigabitEthernet5 //interface connecting to the router 2
ip address 100.101.5.5 255.255.255.0
ip ospf 10 area 0
ip ospf network point-to-point
srlg gid 20
negotiation auto
interface loopback2
ip address 2.2.2.2/32
ip ospf 10 area 0
Device#show ip ospf rib 6.6.6.6
OSPF Router with ID (2.2.2.200) (Process ID 10)
Base Topology (MTID 0)
OSPF local RIB
Codes: * - Best, > - Installed in global RIB
LSA: type/LSID/originator
*> 6.6.6.6/32, Intra, cost 31, area 0
SPF Instance 19, age 02:12:11
contributing LSA: 10/7.0.0.0/6.6.6.6 (area 0)
SID: 6
CSTR Local label: 0
Properties: Sid, LblRegd, SidIndex, N-Flag, TeAnn
Flags: RIB, HiPrio
via 2.7.0.7, Ethernet1/1 label 16006
Flags: RIB
LSA: 1/6.6.6.6/6.6.6.6
PostConvrg repair path via 3.3.3.3, MPLS-SR-Tunnel6 label 16006, cost 81, Lbl cnt 1
Flags: RIB, Repair, PostConvrg, IntfDj, LC Dj
LSA: 1/6.6.6.6/6.6.6.6
次のコマンドを使用して、IP ルーティング テーブルにルートを表示できます。
Device#show ip route 6.6.6.6
Routing entry for 6.6.6.6/32
Known via "ospf 10", distance 110, metric 31, type intra area
Last update from 2.7.0.7 on Ethernet1/1, 00:25:14 ago
SR Incoming Label: 16006
Routing Descriptor Blocks:
* 2.7.0.7, from 6.6.6.6, 00:25:14 ago, via Ethernet1/1, merge-labels
Route metric is 31, traffic share count is 1
MPLS label: 16006
MPLS Flags: NSF
Repair Path: 3.3.3.3, via MPLS-SR-Tunnel6
トポロジに依存しないループ フリー代替高速再ルーティングのデバッグ
次のコマンドを使用して、TI-LFA FRR をデバッグすることができます。
debug ip ospf fast-reroute spf
debug ip ospf fast-reroute spf detail
debug ip ospf fast-reroute rib
debug ip ospf fast-reroute rib [<access-list>]
例:OSPFv2 リンク保護のトポロジに依存しないループ フリー代替高速再ルーティング
OSPFv2 リンク保護 TI-LFA FRR の例を次に示します。
例:トポロジに依存しないループ フリー代替高速再ルーティングの設定
この例では、単一またはディスジョイントの PQ ノードを使用してセグメント ルーティング TE トンネルに TI-LFA を設定する方法を示します。次に、使用される 2 つのトポロジを示します。