890CHAPTER 69: IPV6 UNICAST POLICY ROUTING CONFIGURATION COMMANDS

Description Use the apply destination-based-forwarding command to enable destination based forwarding.

Use the undo apply destination-based-forwarding command to disable destination based forwarding.

By default, destination based forwarding is disabled.

With destination based forwarding enabled, IPv6 packets not matching the policy node can be routed through the routing table; otherwise, such packets will be discarded.

Example # Enable destination based forwarding.

<Sysname> system-view

[Sysname] ipv6 policy-based-route aa permit node 11

[Sysname-pbr6-aa-11] apply destination-based-forwarding

apply ipv6-address default next-hop

Syntax apply ipv6-address default next-hop ipv6-address

undo apply ipv6-address default next-hop [ ipv6-address]

View IPv6 policy-based-route view

Parameter ipv6-address: Default next hop.

Description Use the apply ipv6-address default next-hopcommand to set a default next hop for matched IPv6 packets.

Use the undo apply ipv6-address default next-hop command to remove the default next hop.

This command only applies to packets not finding a match in the routing table. You can specify up to five default next hops, implementing load balancing based on data streams. The interface to reach the next hop must be a P2P interface rather than a broadcast interface.

Related command: apply ipv6-precedence,apply output-interface,apply default output-interfaceand apply ipv6-addressnext-hop.

Example # Set a default next hop of 1::1 for matched IPv6 packets.

<Sysname> system-view

[Sysname] ipv6 policy-based-route aa permit node 11

[Sysname-pbr6-aa-11] apply ipv6-address default next-hop 1::1

Page 890
Image 890
3Com MSR 30, MSR 50 manual Apply ipv6-address default next-hop