HP VPN Firewall Appliances Network Management Configuration Guide

749
Configuring IPv6 static routing
The term "router" in this document refers to both routers and routing-capable firewalls and firewall
modules.
IPv6 static routing can be configured only at the CLI.
Overview
Static routes are manually configured. If a network's topology is simple, you only need to configure static
routes for the network to work correctly.
Static routes cannot adapt to network topology changes. If a fault or a topological change occurs in the
network, the network administrator has to modify the static routes manually.
Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 network environments.
Configuring IPv6 static routing
Before you configure an IPv6 static route, complete the following tasks:
Configure parameters for the related interfaces.
Configure link layer attributes for the related interfaces.
Enable IPv6 packet forwarding.
Make sure that the neighboring nodes can reach each other.
To configure an IPv6 static route:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure an IPv6
static route.
Method 1:
ipv6 route-static ipv6-address prefix-length
{ interface-type interface-number
[ next-hop-address ] | next-hop-address |
vpn-instance d-vpn-instance-name
next-hop-address } [ preference preference-value ]
Method 2:
ipv6 route-static vpn-instance
s-vpn-instance-name&<1-6> ipv6-address
prefix-length { interface-type interface-number
[ next-hop-address ] | next-hop-address [ public ] |
vpn-instance d-vpn-instance-name
next-hop-address } [ preference preference-value ]
Use either method.
By default, no IPv6 static
route is configured.
3. Delete all IPv6
static routes,
including the
default route.
delete ipv6 [ vpn-instance vpn-instance-name ]
static-routes all
Optional.
The undo ipv6 route-static
command deletes one
IPv6 static route.