F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
778
Related commands
display ipv6 routing-table
ipv6 route-static
ipv6 route-static
Use ipv6 route-static to configure an IPv6 static route.
Use undo ipv6 route-static to remove an IPv6 static route.
Syntax
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 ]
undo 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 ]
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 ]
undo 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 ]
Default
No IPv6 static route is configured.
Views
System view
Default command level
2: System level
Parameters
ipv6-address prefix-length: IPv6 address and prefix length.
interface-type interface-number: Specifies the output interface by its type and number. If the output
interface is not a point-to-point (P2P) interface, (such as an Ethernet interface, a virtual template interface,
or a VLAN interface), the next hop address must be specified.
next-hop-address: Next hop IPv6 address.
vpn-instance d-vpn-instance-name: Specifies a destination VPN by its name, a case-sensitive string of 1
to 31 characters. If a destination VPN is specified, the device will search for the output interface in the
destination VPN based on the specified next hop (IPv6 address) for the IPv6 static route.
preference preference-value: Specifies the route preference value in the range of 1 to 255. The default is
60.
vpn-instance s-vpn-instance-name&<1-6>: Specifies a source VPN by its name, a case-sensitive string of
1 to 31 characters. &<1-6> indicates that the argument before it can be entered up to 6 times. Each VPN
has its own routing table, and the configured IPv6 static route is installed in the routing tables of the
specified VPNs.
public: Specifies a next hop in the public network.