ipv6 route distance
Syntax
ipv6 route <DEST-IPV6-ADDR>/<PREFIX> [<NEXT-HOP-IP-ADDR>|<INTERFACE>] distance <VALUE>
no ipv6 route <DEST-IPV6-ADDR>/<PREFIX> [<NEXT-HOP-IP-ADDR>|<INTERFACE>] distance <VALUE>
Description
Configures the administrative distance for the IPv6 static route
The
no
form of this command deletes the static route.
Command context
config
Parameters
<DEST-IPV6-ADDR>/<PREFIX>
Specifies the IPv6 route destination. For example, X:X::X:X/M as
120::/124
.<NEXT-HOP-IP-ADDR>
Specifies the next hop IPv6 address for reaching the destination. Format: X:X::X:X
<INTERFACE>
Specifies the next hop as an outgoing interface.
distance <VALUE>
Specifies the administrative distance to associate with this static route. Default: 1. Range: 1-255.
Authority
Administrators
Examples
switch(config)# ipv6 route 122::/124 1/1/1 distance 5 switch(config)# ipv6 route 123::/124 120::1 distance 6
switch# configure terminal switch(config)# no ipv6 route 123::/124 120::1 distance 6