Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 88
77
5.
Create a static CRLSP:
# Configure Switch A as the ingress node of the static CRLSP, and specify the next hop address as
2.1.1.2 and outgoing label as 20.
[SwitchA] static-cr-lsp ingress static-cr-lsp-1 nexthop 2.1.1.2 out-label 20
# On Switch A, configure tunnel 0 to reference the static CRLSP static-cr-lsp-1.
[SwitchA] interface Tunnel0
[SwitchA-Tunnel0] mpls te static-cr-lsp static-cr-lsp-1
[SwitchA-Tunnel0] quit
# Configure Switch B as the transit node of the static CRLSP, and specify the incoming label as 20,
the next hop address as 3.2.1.2, and outgoing label as 30.
[SwitchB] static-cr-lsp transit static-cr-lsp-1 in-label 20 nexthop 3.2.1.2 out-label
30
# Configure Switch C as the egress node of the static CRLSP, and specify the incoming label as 30.
[SwitchC] static-cr-lsp egress static-cr-lsp-1 in-label 30
6.
Configure a static route on Switch A to direct traffic destined for subnet 3.2.1.0/24 to MPLS TE
tunnel 0:
[SwitchA] ip route-static 3.2.1.2 24 tunnel 0 preference 1
Verifying the configuration
# Execute the display interface tunnel command on Switch A. The output shows that the tunnel interface
is up.
[SwitchA] display interface tunnel
Tunnel0
Current state: UP
Line protocol state: UP
Description: Tunnel0 Interface
Maximum Transmit Unit: 64000
Internet Address is 6.1.1.1/24 Primary
Tunnel source unknown, destination 3.3.3.3
Tunnel bandwidth 64 (kbps)
Tunnel TTL 255
Tunnel protocol/transport CR_LSP
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
# Execute the display mpls te tunnel-interface command on Switch A to display detailed information
about the MPLS TE tunnel.
[SwitchA] display mpls te tunnel-interface
Tunnel Name : Tunnel 0
Tunnel State : Up (Main CRLSP up)
Tunnel Attributes :
LSP ID : 1 Tunnel ID : 0
Admin State : Normal
Ingress LSR ID : 1.1.1.1 Egress LSR ID : 3.3.3.3
Signaling : Static Static CRLSP Name : static-cr-lsp-1