3Com Switch 8800 Advanced Software V5 Configuration Guide

266 CHAPTER 27: IPV6 STATIC ROUTING CONFIGURATION
Configuring an IPv6
Static Route
n
While configuring a static route, you can configure either the output interface or
the next-hop address depending on the situations:
If the output interface is a broadcast interface, or an NBMA interface, the next
hop address must be specified.
If the output interface is a point-to-point interface, you can specify either the
output interface or the next hop address, but not both.
Displaying and
Maintaining IPv6
Static Routes
n
Using the undo ipv6 route-static command can delete a single IPv6 static route,
while using the delete ipv6 static-routes all command deletes all IPv6 static
routes including the default route.
IPv6 Static Routing
Configuration
Example
Network requirements
With IPv6 static routes configured, all hosts and switches can interact with each
other.
To do... Use the commands... Remarks
Enter system view System-view -
Configure an IPv6 static route
with the output interface
being a broadcast or NBMA
interface
ipv6 route-static
ipv6-address prefix-length [
interface-type
interface-number ]
nexthop-address [ preference
preference-value ]
Required
Not configured by default
The default preference of IPv6
static routes is 60.
Configure an IPv6 static route
with the output interface
being a point-to-point
interface
ipv6 route-static
ipv6-address prefix-length {
interface-type
interface-number |
nexthop-address } [
preference preference-value
]
To do... Use the command... Remarks
Display IPv6 static route
information
display ipv6 routing-table
protocol static [ inactive |
verbose ]
Available in any view
Remove all IPv6 static routes delete ipv6 static-routes all Available in system view