beautypg.com

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

Page 164

background image

151

[SwitchC-Vlan-interface3] quit

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] mpls enable

[SwitchC-Vlan-interface2] mpls te enable

[SwitchC-Vlan-interface2] rsvp enable

[SwitchC-Vlan-interface2] quit

# Configure Switch D.

[SwitchD] mpls lsr-id 4.4.4.9

[SwitchD] mpls te

[SwitchD-te] quit

[SwitchD] rsvp

[SwitchD-rsvp] quit

[SwitchD] interface vlan-interface 3

[SwitchD-Vlan-interface3] mpls enable

[SwitchD-Vlan-interface3] mpls te enable

[SwitchD-Vlan-interface3] rsvp enable

[SwitchD-Vlan-interface3] quit

4.

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

[SwitchA] interface tunnel 1 mode mpls-te

[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

[SwitchA-Tunnel1] quit

5.

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

MPLS TE tunnel 1 for forwarding.

[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 state: UP

Description: Tunnel1 Interface

Bandwidth: 64kbps

Maximum Transmit Unit: 1496

Internet Address is 7.1.1.1/24 Primary

Tunnel source unknown, destination 4.4.4.9

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