Configuring Pbr To Direct Traffic To An Mpls Te Tunnel - HP FlexNetwork HSR6600 Configuration Manual

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

Step
2.
Configure a static route to
direct traffic to an MPLS TE
tunnel.

Configuring PBR to direct traffic to an MPLS TE tunnel

For more information about the commands in this task, see Layer 3—IP Routing Command
Reference.
To configure PBR to direct traffic to an MPLS TE tunnel:
Step
1.
Enter system view.
2.
Create a PBR policy node
and enter policy node view.
3.
Configure an ACL match
criterion.
4.
Specify a tunnel interface
as the packet output
interface.
5.
Return to system view.
6.
Apply the PBR policy.
Configuring automatic route advertisement to direct traffic to
an MPLS TE tunnel
You can use either IGP shortcut or forwarding adjacency to implement automatic route
advertisement. When you use IGP shortcut, you can specify a metric for the TE tunnel. If you assign
an absolute metric, the metric is directly used as the MPLS TE tunnel's metric. If you assign a relative
metric, the MPLS TE tunnel's metric is the assigned metric plus the IGP link metric.
Before configuring automatic route advertisement, perform the following tasks:
Enable OSPF or IS-IS on the tunnel interface to advertise the tunnel interface address to OSPF
or IS-IS.
Enable MPLS TE for an OSPF area or an IS-IS process by executing the mpls te enable
command in OSPF area view or IS-IS view.
Follow these restrictions and guidelines when you configure automatic route advertisement:
The destination address of the MPLS TE tunnel can be the LSR ID of the egress node or the
primary IP address of an interface on the egress node. As a best practice, configure the
destination address of the MPLS TE tunnel as the LSR ID of the egress node.
Command
See Layer 3—IP Routing
Command Reference.
Command
system-view
policy-based-route policy-name [ deny |
permit ] node node-number
if-match acl { acl-number | name
acl-name }
apply output-interface { tunnel
tunnel-number [ track
track-entry-number ] }&<1-2>
quit
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
98
Remarks
By default, no static routes exist.
The interface specified in this
command must be an MPLS TE
tunnel interface.
Remarks
N/A
By default, no PBR policies
node exist.
By default, no ACL match
criterion is configured.
N/A
N/A
By default, no policy is
applied.

Advertisement

Table of Contents
loading

Table of Contents