Example: Configuring Mpls Sr Based On Ospf-Advertised Sids - H3C SR6600 Command Reference Manual

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

Advertisement

1.1.1.1/32
2.2.2.2/32
2.2.2.2/32
3.3.3.3/32
3.3.3.3/32
4.4.4.4/32
4.4.4.4/32
Example: Configuring MPLS SR based on OSPF-advertised
SIDs
Network configuration
As shown in
Configure dynamic SID allocation on loopback interfaces of the routers. Then, establish an SRLSP
from Router A to Router D based on the allocated SIDs and configure an MPLS TE tunnel over the
SRLSP to transmit data.
Figure 9 Network diagram
Loop1
GE2/0/1
Router A
Table 3 Interface and IP address assignment
Device
Router A
Router C
Procedure
1.
Configure IP addresses and masks for interfaces. (Details not shown.)
2.
Configure OSPF on the routers to achieve network level connectivity:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf 1 router-id 1.1.1.1
[RouterA-ospf-1] quit
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ospf 1 area 0
[RouterA-GigabitEthernet2/0/1] quit
[RouterA] interface loopback 1
ISIS
ISIS
ISIS
ISIS
ISIS
ISIS
ISIS
Figure
9, Router A, Router B, Router C and Router D are running OSPF.
Loop1
GE2/0/2
GE2/0/1
Router B
Interface
IP address
Loop1
1.1.1.1/32
GE2/0/1
10.0.0.1/24
Loop1
3.3.3.3/32
GE2/0/1
11.0.0.2/24
GE2/0/2
12.0.0.1/24
16010/-
-
16020/3
GE2/0/1
-/3
GE2/0/1
16030/17030
GE2/0/1
-/17030
GE2/0/1
16040/17040
GE2/0/1
-/17040
GE2/0/1
Loop1
GE2/0/2
GE2/0/1
Router C
Device
Router B
Router D
27
Loop1
GE2/0/2
GE2/0/1
Router D
Interface
IP address
Loop1
2.2.2.2/32
GE2/0/1
10.0.0.2/24
GE2/0/2
11.0.0.1/24
Loop1
4.4.4.4/32
GE2/0/1
12.0.0.2/24
GE2/0/2
100.1.2.1/24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents