R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

703
undo ipv6 route-static vpn-instance s-vpn-instance-name&<1-6> ipv6-address prefix-length
[ interface-type interface-number [ next-hop-address ] | nexthop-address [ public ] | vpn-instance
d-vpn-instance-name nexthop-address ] [ preference preference-value ]
View
System view
Default level
2: System level
Parameters
ipv6-address prefix-length: IPv6 address and prefix length.
interface-type interface-number: Interface type and interface number of the outgoing interface. If the
outgoing interface is a non-P2P interface, such as an Ethernet interface, a virtual template interface, or
a VLAN interface, the next hop address must be specified.
nexthop-address: Next hop IPv6 address.
vpn-instance d-vpn-instance-name: Specifies the name of the destination VPN, a case-sensitive string. If
it is specified, packets will search for the outgoing interface based on the specified next hop (IPv6
address) for the 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 the name of the source VPN, a case-sensitive string
of 1 to 31 characters. &<1-6> means the parameter can be input up to six times. If a VPN is specified,
the configured static route is added to the routing table of the VPN.
public: Specifies a next hop in the public network.
Description
Use ipv6 route-static to configure an IPv6 static route.
Use undo ipv6 route-static to remove an IPv6 static route.
An IPv6 static route that has the destination address configured as ::/0 (a prefix length of 0) is the default
IPv6 route. If the destination address of an IPv6 packet does not match any entry in the routing table, this
default route will be used to forward the packet.
Follow these guidelines to configure the outgoing interface and/or the next hop address for a static
route:
If the outgoing interface is a broadcast interface, such as an Ethernet interface or a VLAN interface,
the next hop address must be specified. If both the outgoing interface and the next hop must be
specified, the next hop address must be a link-local address.
If the outgoing interface is a point-to-point interface, you can specify either the outgoing interface
or the next hop address, but not both.
Related commands: delete ipv6 static-routes all and display ipv6 routing-table.
Examples
# Configure a static IPv6 route, with the destination address being 1:1:2::/24 and next hop being
1:1:3 : :1.
<Sysname> system-view
[Sysname] ipv6 route-static 1:1:2:: 24 1:1:3::1