3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1326 CHAPTER 86: IPV6 STATIC ROUTING CONFIGURATION COMMANDS
undo ipv6 route-static ipv6-address prefix-length [ interface-type interface-number |
nexthop-address ] [ preference preference-value ]
View System view
Parameters ipv6-address prefix-length: IPv6 address and prefix length.
interface-type interface-number: Interface type and interface number of the
output interface.
nexthop-address: Next hop IPv6 address.
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.
While configuring static routes, you can configure either the output interface or
the next-hop address depending on the situations:
If the output interface is a broadcast interface, such as an Ethernet interface, a
VLAN interface, or an NBMA interface (such as an interface with X25 or frame
relay encapsulated), then the next hop address must be specified;
If the output interface is a point-to-point interface, such as a serial port, you
can specify either the output interface or the next hop address, but not both.
Related commands: display ipv6 routing-table on page 942 and delete ipv6 static-routes all.
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