beautypg.com

H3C Technologies H3C S6800 Series Switches User Manual

Page 133

background image

120

# Configure an MPLS TE tunnel.

[SwitchA] interface tunnel 1 mode mpls-te

[SwitchA-Tunnel1] ip address 10.1.1.1 255.255.255.0

# Specify the tunnel destination address as the LSR ID of Switch D.

[SwitchA-Tunnel1] destination 4.4.4.4

# Specify the tunnel signaling protocol as RSVP-TE.

[SwitchA-Tunnel1] mpls te signaling rsvp-te

# Specify the explicit path as pri-path.

[SwitchA-Tunnel1] mpls te path preference 1 explicit-path pri-path

# Enable FRR for the MPLS TE tunnel.

[SwitchA-Tunnel1] mpls te fast-reroute

[SwitchA-Tunnel1] quit

# Execute the display interface tunnel command on Switch A. The output shows that the MPLS TE

interface Tunnel1 is up.

[SwitchA] display interface tunnel

Tunnel1 current state: UP

Line protocol current state: UP

Description: Tunnel1 Interface

The Maximum Transmit Unit is 64000

Internet Address is 10.1.1.1/24 Primary

Tunnel source unknown, destination 4.4.4.4

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: 1911 bytes/sec, 15288 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 drops

1526 packets output, 22356852 bytes, 0 drops

# Execute the display mpls te tunnel-interface command on Switch A to display detailed

information about the MPLS TE tunnel interface.

[SwitchA] display mpls te tunnel-interface

Tunnel Name : Tunnel 1

Tunnel State : Up (Main CRLSP up, Shared-resource CRLSP down)

Tunnel Attributes :

LSP ID : 16802 Tunnel ID : 1

Admin State : Normal

Ingress LSR ID : 2.2.2.2 Egress LSR ID : 4.4.4.4

Signaling : RSVP-TE Static CRLSP Name : -

Resv Style : SE

Tunnel mode : -

Reverse-LSP name : -

Reverse-LSP LSR ID : - Reverse-LSP Tunnel ID: -

Class Type : CT0 Tunnel Bandwidth : 0 kbps

Reserved Bandwidth : 0 kbps

Setup Priority : 7 Holding Priority : 7

Affinity Attr/Mask : 0/0