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

Page 113

Advertising
background image

100

[SwitchD-Vlan-interface3] quit

8.

Configure an MPLS TE tunnel on Switch A:
# Configure the MPLS TE tunnel interface Tunnel 1.

[SwitchA] interface tunnel 1 mode mpls

[SwitchA-Tunnel1] ip address 7.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.9

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

[SwitchA-Tunnel1] mpls te signaling rsvp-te

# Assign 2000 kbps bandwidth to the tunnel.

[SwitchA-Tunnel1] mpls te bandwidth 2000

# Specify the explicit path atod for the tunnel.

[SwitchA-Tunnel1] mpls te path preference 5 explicit-path atod

[SwitchA-Tunnel1] quit

9.

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 1

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 drops

3077 packets output, 197028 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 1

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

Tunnel Attributes :

LSP ID : 23549 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 : -

Advertising