Crlsp backup configuration example – H3C Technologies H3C S12500-X Series Switches User Manual

Page 101

Advertising
background image

90

[SwitchB-Vlan-interface1] mpls te enable

[SwitchB-Vlan-interface1] rsvp enable

[SwitchB-Vlan-interface1] quit

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] mpls enable

[SwitchB-Vlan-interface2] mpls te enable

[SwitchB-Vlan-interface2] rsvp enable

[SwitchB-Vlan-interface2] quit

# Configure Switch C.

[SwitchC] mpls lsr-id 3.3.3.9

[SwitchC] mpls te

[SwitchC-te] quit

[SwitchC] rsvp

[SwitchC-rsvp] quit

[SwitchC] interface vlan-interface 3

[SwitchC-Vlan-interface3] mpls enable

[SwitchC-Vlan-interface3] mpls te enable

[SwitchC-Vlan-interface3] rsvp enable

[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.

On Switch A, configure MPLS TE tunnel interface Tunnel 1, specify the tunnel destination address
as the LSR ID of Switch D, and configure MPLS TE to use RSVP-TE to establish the tunnel.

[SwitchA] interface tunnel 1 mode mpls-te

[SwitchA-Tunnel1] ip address 7.1.1.1 255.255.255.0

[SwitchA-Tunnel1] destination 4.4.4.9

[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

Advertising