ipv6 route distance

Syntax

ipv6 route/[|] distanceno ipv6 route/[|] distance

Description

Configures the administrative distance for the IPv6 static route

Thenoform of this command deletes the static route.

Command context

config

Parameters

在IPv6 fo指定目的地址路由rmat (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

Specifies the number of bits in the address mask in CIDR format (x), wherexis a decimal number from 0 to 128.

Specifies the next hop in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

Specifies the next hop as an outgoing interface.

distance

Specifies the administrative distance to associate with this static route. Range: 1 to 255. Default: 1.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config)#ipv6 route 122::/124 1/1/1 distance 5switch(config)#ipv6 route 123::/124 120::1 distance 6
switch(config)#no ipv6 route 123::/124 120::1 distance 6