R2511-HP MSR Router Series MPLS Configuration Guide(V5)
348
Ste
p
Command
Remarks
2. Create a static route for
forwarding traffic along an
MPLS TE tunnel.
ip route-static dest-address { mask |
mask-length } interface-type
interface-number [ gateway-address ] |
vpn-instance d-vpn-instance-name
gateway-address } [ preference
preference-value ] [ tag tag-value ]
[ description description-text ]
The interface-type argument
must be tunnel.
For more information about
static routing, see Layer
3—IP Routing
Configuration Guide.
Forwarding traffic along MPLS TE tunnels using policy routing
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create and enter the view
of an advanced IPv4 ACL.
acl number acl-number [ match-order { auto |
config } ]
The default ACL rule
match order is config.
3. Define an ACL rule.
rule [ rule-id ] { deny | permit } protocol
[ destination { dest-addr dest-wildcard | any } |
destination-port operator port1 [ port2 ] | dscp
dscp | established | fragment | icmp-type
{ icmp-type icmp-code | icmp-message } |
logging | precedence precedence | reflective |
source { sour-addr sour-wildcard | any } |
source-port operator port1 [ port2 ] |
time-range time-name | tos tos | vpn-instance
vpn-instance-name ] *
N/A
4. Return to system view.
quit N/A
5. Create a policy node and
enter policy-based-route
view.
policy-based-route policy-name { permit |
deny } node node-number
You might create
multiple policy nodes in
one policy.
6. Reference the ACL that
target traffic should match.
if-match acl acl-number N/A
7. Specify the output interface
to be the tunnel interface.
apply output-interface tunnel number1 [ tunnel
number2 ]
N/A
8. Return to system view.
quit N/A
9. Enable policy based
routing.
• Enable local policy based routing:
ip local policy-based-route policy-name
• Enable policy based routing for an interface:
a. interface interface-type
interface-number
b. ip policy-based-route policy-name
Use one of the methods.
For more information about configuring policy routing, see ACL and QoS Command Reference and the
Layer 3—IP Routing Command Reference.










