HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 218
ipv6-address prefix-length, interface-type interface-number, nexthop-address, preference-value
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 218 highlights
Parameters ipv6-address prefix-length: Specifies the IPv6 address and prefix length. interface-type interface-number: Specifies an output interface by its type and number. If the output interface is a non-P2P interface, such as an NBMA interface or broadcast interface (for example, a VLAN interface), the next hop address must be specified. nexthop-address: Specifies the next hop IPv6 address. preference preference-value: Specifies the route preference value, in the range of 1 to 255. The default is 60. 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. If you specify a broadcast interface, such as a VLAN interface, as the output interface for a static route, you must specify the next hop 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. system-view [Sysname] ipv6 route-static 1:1:2:: 24 1:1:3::1 207