HP MSR2000/3000/4000 Router Series MPLS Configuration Guide
63
Ste
p
Command
Remarks
6. Apply the PBR policy.
• To apply the policy to the local device:
ip local policy-based-route policy-name
• To apply the policy to an interface:
a. interface interface-type interface-number
b. ip policy-based-route policy-name
Use either method.
By default, no policy is
applied.
Configuring a bidirectional MPLS TE tunnel
Before you create a bidirectional MPLS TE tunnel, complete the following tasks:
• Disable the PHP function on both ends of the tunnel to assign a non-null label to the penultimate
hop.
• To set up a bidirectional MPLS TE tunnel in co-routed mode, you must specify the signaling protocol
as RSVP-TE, and use the mpls te resv-style command to configure the resources reservation style as
FF for the tunnel.
• To set up a bidirectional MPLS TE tunnel in associated mode and use RSVP-TE to set up one CRLSP
of the tunnel, you must use the mpls te resv-style command to configure the resources reservation
style as FF for the CR-LSP.
To create a bidirectional MPLS TE tunnel, create an MPLS TE tunnel interface on both ends of the tunnel
and enable the bidirectional tunnel function on the tunnel interfaces:
• For a co-routed bidirectional tunnel, configure one end of the tunnel as the active end and the other
end as the passive end, and specify the reverse CR-LSP at the passive end.
• For an associated bidirectional tunnel, specify a reverse CR-LSP at both ends of the tunnel.
To configure the active end of a co-routed bidirectional MPLS TE tunnel:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS TE tunnel interface
view.
interface tunnel tunnel-number
[ mode mpls-te ]
N/A
3. Configure a co-routed
bidirectional MPLS TE tunnel
and specify the local end as
the active end of the tunnel.
mpls te bidirectional co-routed
active
By default, no bidirectional tunnel
is configured, and tunnels
established on the tunnel interface
are unidirectional MPLS TE tunnels.
To configure the passive end of a co-routed bidirectional MPLS TE tunnel:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS TE tunnel interface
view.
interface tunnel tunnel-number
[ mode mpls-te ]
N/A
3. Configure a co-routed
bidirectional MPLS TE tunnel
and specify the local end as
the passive end of the tunnel.
mpls te bidirectional co-routed
passive reverse-lsp lsr-id
ingress-lsr-id tunnel-id tunnel-id
By default, no bidirectional tunnel
is configured, and tunnels
established on the tunnel interface
are unidirectional MPLS TE tunnels.