beautypg.com

Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual

Page 142

background image

129

# Configure MPLS TE to use RSVP-TE to establish the tunnel.

[SwitchA-Tunnel1] mpls te signaling rsvp-te

# Assign 4000 kbps bandwidth to CT 2 for the tunnel.

[SwitchA-Tunnel1] mpls te bandwidth ct2 4000

# Set the tunnel setup priority and holding priority both to 0.

[SwitchA-Tunnel1] mpls te priority 0

[SwitchA-Tunnel1] quit

7.

Configure a static route on Switch A to direct the traffic destined for subnet 30.1.1.0/24 to MPLS

TE tunnel 1.

[SwitchA] ip route-static 30.1.1.2 24 tunnel 1 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

Tunnel1 current state: UP

Line protocol current state: UP

Description: Tunnel1 Interface

The Maximum Transmit Unit is 64000

Internet Address is 7.1.1.1/24 Primary

Tunnel source unknown, destination 4.4.4.9

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

0 packets input, 0 bytes 0 drop 0 packets output, 0 bytes 0 drop

# 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 1

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

Tunnel Attributes :

LSP ID : 36882 Tunnel ID : 1

Admin State : Normal

Ingress LSR ID : 1.1.1.9 Egress LSR ID : 4.4.4.9

Signaling : RSVP-TE Static CRLSP Name : -

Resv Style : SE

Tunnel mode : -

Reverse-LSP name : -

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

Class Type : CT2 Tunnel Bandwidth : 4000 kbps

Reserved Bandwidth : 4000 kbps

Setup Priority : 0 Holding Priority : 0

Affinity Attr/Mask : 0/0

Explicit Path : -