beautypg.com

Configuring ipv6 local pbr, Configuring ipv6 interface pbr – H3C Technologies H3C SR8800 User Manual

Page 403

background image

387

Step Command

Remarks

3.

Define an IPv6 ACL match
criterion.

if-match acl6 acl6-number Optional.

4.

Set a preference type or value

for permitted IPv6 packets.

apply ipv6-precedence { type |
value }

Optional.

5.

Set a next hop for permitted
IPv6 packets.

apply ipv6-address next-hop
ipv6-address

Optional.
You can define two next hops at
most. Only one next hop can be

active at a time, the other one is
for backup.

NOTE:

If an ACL match criterion is defined, packets are matched against the ACL rules, whereas the permit or
deny action of the specified ACL is ignored. If the specified ACL does not exist, no packet is matched.

The rule you add to an ACL that has been used by a policy cannot take effect if hardware resources are
insufficient or the policy does not support the rule. Such rules are marked as uncompleted in the output
of the display acl {

acl-number | all | name acl-name } slot slot-number command. To successfully

apply the rule, you must delete the rule and reconfigure it when hardware resources are sufficient. For

more information about the display acl command, see

ACL and QoS Command Reference.

Configuring IPv6 local PBR

Only one policy can be referenced for IPv6 local PBR.
To configure IPv6 local PBR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure IPv6 local PBR.

ipv6 local policy-based-route
policy-name

Not configured by default

NOTE:

If the specified policy does not exist, the IPv6 local PBR configuration succeeds, but it takes effect only when
the policy is created.

Configuring IPv6 interface PBR

Only one policy can be referenced by an interface for IPv6 interface PBR.
To configure IPv6 interface PBR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure IPv6 interface PBR.

ipv6 policy-based-route
policy-name

Not configured by default