Displaying and maintaining ipv6 static routes – H3C Technologies H3C SR8800 User Manual
Page 291
275
Step Command
Remarks
2.
Configure an IPv6 static route.
•
Approach 1:
ipv6 route-static ipv6-address prefix-length
{ interface-type interface-number
[ next-hop-address ] | next-hop-address |
vpn-instance d-vpn-instance-name
nexthop-address } [ preference
preference-value ]
•
Approach 2:
ipv6 route-static vpn-instance
s-vpn-instance-name 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 ]
Use either approach.
The default
preference of IPv6
static routes is 60.
NOTE:
Follow these guidelines to configure the output interface and/or the next hop address for a static route:
•
If the output interface is a broadcast interface, such as an Ethernet interface, a VLAN interface, or an
NBMA interface (such as an X.25 interface or frame relay 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.
•
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
Task Command
Remarks
Display IPv6 static route
information.
display ipv6 routing-table protocol
static [ inactive | verbose ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Remove all IPv6 static routes.
delete ipv6 [ vpn-instance
vpn-instance-name ] static-routes
all
Available in system view
NOTE:
•
Using the undo ipv6 route-static command can delete a single IPv6 static route. Using the delete ipv6
static-routes all command deletes all IPv6 static routes including the default route.
•
For more information about the display ipv6 routing-table protocol static
[ inactive | verbose ] [ |
{ begin | exclude | include }
regular-expression ] command, see the chapter “IP routing basics
configuration commands.”
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module