EasyManua.ls Logo

H3C S5120-EI Series - Page 28

H3C S5120-EI Series
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
22
preference-value: Route preference value, in the range of 1 to 255. The default is 60.
Description
Use the ipv6 route-static command to configure an IPv6 static route.
Use the undo ipv6 route-static command 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.
If the output interface is a broadcast interface, such as a VLAN interface, the next hop address must be
specified. If both the output interface and the next hop must be specified, the next hop address must be
a link-local address.
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

Other manuals for H3C S5120-EI Series

Related product manuals