H3C SR6600 Command Reference Manual page 23

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

Advertisement

[RouterD] mpls te
[RouterD-te] quit
[RouterD] interface gigabitethernet 2/0/2
[RouterD-GigabitEthernet2/0/2] mpls enable
[RouterD-GigabitEthernet2/0/2] quit
# Configure Router E.
<RouterE> system-view
[RouterE] mpls lsr-id 5.5.5.9
[RouterE] mpls te
[RouterE-te] quit
[RouterE] interface gigabitethernet 2/0/2
[RouterE-GigabitEthernet2/0/2] mpls enable
[RouterE-GigabitEthernet2/0/2] quit
5.
Configure adjacency and prefix segments on the nodes:
# On Router A, create adjacency segment adjacency-1, and bind incoming label 16 to next hop
address 10.1.1.2.
[RouterA] static-sr-mpls adjacency adjacency-1 in-label 16 nexthop 10.1.1.2
# On Router B, create adjacency segment adjacency-2, and bind incoming label 21 to next hop
address 20.1.1.2.
[RouterB] static-sr-mpls adjacency adjacency-2 in-label 21 nexthop 20.1.1.2
# On Router B, create prefix segments prefix-1 to destination IP address 5.5.5.9. Bind
incoming label 16000 to next hop addresses 20.1.1.2 and 60.1.1.2, and specify outgoing label
16001. Load balancing will occur between Router B and Router C.
[RouterB] static-sr-mpls prefix prefix-1 destination 5.5.5.9 32 in-label 16000
nexthop 20.1.1.2 out-label 16001
[RouterB] static-sr-mpls prefix prefix-1 destination 5.5.5.9 32 in-label 16000
nexthop 60.1.1.2 out-label 16001
# On Router C, create adjacency segment adjacency-1, and bind incoming label 30 to next hop
address 30.1.1.2. Create adjacency segment adjacency-2, and bind incoming label 31 to next
hop address 50.1.1.2.
[RouterC] static-sr-mpls adjacency adjacency-1 in-label 30 nexthop 30.1.1.2
[RouterC] static-sr-mpls adjacency adjacency-2 in-label 31 nexthop 50.1.1.2
# On Router C, create prefix segment prefix-1 to destination IP address 5.5.5.9, and specify
incoming label 16001.
[RouterC] static-sr-mpls prefix prefix-1 destination 5.5.5.9 32 in-label 16001
6.
On Router A, establish static SRLSP static-sr-lsp-1 to Router D and static SRLSP
static-sr-lsp-2 to Router E:
# Configure Router A as the ingress node of static SRLSP static-sr-lsp-1 and configure a label
stack of [16, 21, 30].
[RouterA] static-sr-mpls lsp static-sr-lsp-1 out-label 16 21 30
# Configure Router A as the ingress node of static SRLSP static-sr-lsp-2 and configure a label
stack of [16, 16000, 31].
[RouterA] static-sr-mpls lsp static-sr-lsp-2 out-label 16 16000 31
7.
Configure MPLS TE tunnels over static SRLSPs on Router A:
# 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.9
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents