beautypg.com

Configuration procedure, Tunnel selection order configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual

Page 108

background image

97

Configuration procedure

1.

Create tunnel policy preferredte1, and configure tunnel 1 as the preferred tunnel.

system-view

[PE1] tunnel-policy preferredte1

[PE1-tunnel-policy-preferredte1] preferred-path tunnel 1

[PE1-tunnel-policy-preferredte1] quit

2.

Create MPLS VPN instance vpna, and apply tunnel policy preferredte1 to it.

[PE1] ip vpn-instance vpna

[PE1-vpn-instance-vpna] route-distinguisher 100:1

[PE1-vpn-instance-vpna] vpn-target 100:1

[PE1-vpn-instance-vpna] tnl-policy preferredte1

[PE1-vpn-instance-vpna] quit

Tunnel selection order configuration example

Network requirements

PE 1 has multiple tunnels to reach PE 2: one MPLS TE tunnel on the interface Tunnel 1, and one LDP LSP

tunnel.
Only one MPLS VPN, vpna, exists on PE 1. Select only one tunnel in LDP LSP-MPLS TE order for this VPN.

Configuration procedure

1.

Create tunnel policy seq-lsp-te, specify the tunnel selection order, and set the number of tunnels for

load balancing to 1—no load balancing.

system-view

[PE1] tunnel-policy seq-lsp-te

[PE1-tunnel-policy-seq-lsp-te] select-seq lsp cr-lsp load-balance-number 1

[PE1-tunnel-policy-seq-lsp-te] quit

2.

Create MPLS VPN instance vpna, and apply tunnel policy seq-lsp-te to it.

[PE1] ip vpn-instance vpna

[PE1-vpn-instance-vpna] route-distinguisher 100:1

[PE1-vpn-instance-vpna] vpn-target 100:1

[PE1-vpn-instance-vpna] tnl-policy seq-lsp-te

Preferred tunnel and tunnel selection order configuration
example

Network requirements

PE 1 has multiple tunnels to reach PE 2: two MPLS TE tunnels on the interface Tunnel 1 and Tunnel 3, and

one LDP LSP tunnel.
PE 1 has multiple MPLS VPN instances: vpna, vpnb, vpnc, vpnd, and vpne.

Table 1

shows the tunnel

policy that PE 1 uses for each VPN instance.