H3C SR6600 Command Reference Manual page 36

Segment routing command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

[RouterD-ospf-1] quit
5.
Configure OSPF prefix SIDs by specifying relative values on the routers:
# Configure Router A.
[RouterA] interface loopback 1
[RouterA-LoopBack1] ospf 1 prefix-sid index 10
[RouterA-LoopBack1] quit
# Configure Router B.
[RouterB] interface loopback 1
[RouterB-LoopBack1] ospf 1 prefix-sid index 20
# Configure Router C.
[RouterC] interface loopback 1
[RouterC-LoopBack1] ospf 1 prefix-sid index 30
# Configure Router D.
[RouterD] interface loopback 1
[RouterD-LoopBack1] ospf 1 prefix-sid index 40
6.
On Router A, establish static SRLSP static-sr-lsp-1 to Router D and configure an MPLS TE
tunnel over the static SRLSP:
# Configure Router A as the ingress node of static SRLSP static-sr-lsp-1 and specify the prefix
label that Router A allocated for Router D (16040) as the outgoing label.
[RouterA] static-sr-mpls lsp static-sr-lsp-1 out-label 16040
# Establish static MPLS TE tunnel 1 to Router D and specify the LSR ID of Router D as the
tunnel destination address. Bind static SRLSP static-sr-lsp-1 to MPLS TE tunnel interface 1.
[RouterA] interface tunnel 1 mode mpls-te
[RouterA-Tunnel1] ip address 6.1.1.1 255.255.255.0
[RouterA-Tunnel1] destination 4.4.4.4
[RouterA-Tunnel1] mpls te signaling static
[RouterA-Tunnel1] mpls te static-sr-mpls static-sr-lsp-1
[RouterA-Tunnel1] quit
7.
On Router A, configure a static route to direct traffic destined for 100.1.2.0/24 to MPLS TE
tunnel 1.
[RouterA] ip route-static 100.1.2.0 24 tunnel 1 preference 1
Verifying the configuration
# Display OSPF process information on Router A to view SID information for the loopback interface.
[RouterA] display ospf
OSPF Process 1 with Router ID 1.1.1.1
RouterID: 1.1.1.1
Route tag: 0
Multi-VPN-Instance is not enabled
Ext-community type: Domain ID 0x5, Route Type 0x306, Router ID 0x107
Domain ID: 0.0.0.0
Opaque capable
ISPF is enabled
SPF-schedule-interval: 5 50 200
LSA generation interval: 5 50 200
LSA arrival interval: 1000 500 500
OSPF Protocol Information
Router type:
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents