Specifications
ipv6 route distance
SecureStack C3 Configuration Guide 18-5
Defaults
Defaultpreferenceoradministrativedistanceis1.
Mode
Routerglobalconfiguration:C3(su)‐>router(Config)#
Usage
Usethenoformofthiscommandtoremoveastaticroute.Ifyoudonotspecifyanexthopaddress
withthenoform,allstaticroutestothespecified destinationwillberemoved.
Example
ThiscommandcreatesastaticIPv6routetonetwork2001:0DB8:2222:4455::/64bywayofinterface
VLAN6andgivesitapreferenceof5.
C3(su)->router(Config)# ipv6 route 2001:0DB8:2222:4455::/64 interface vlan 6
fe80::1234:5678:2dd:1 5
ipv6 route distance
Thiscommandconfiguresthedefaultdistance,orpreference,forstaticIPv6routes.
Syntax
ipv6 route distance pref
no ipv6 route distance
Parameters
Defaults
Defaultpreferenceoradministrativedistanceis1.
next‐hop‐globaladdr TheIPv6globaladdressofthenexthopthatcanbeusedtoreachthe
specifiednetwork.Thisaddresscannotbealink‐localaddress.
interfaceslot/port Usedtoidentifydirectstaticroutesfrompoint‐to‐pointandbroadcast
interfaces,andmustbe
specifiedwhenusingalink‐localaddressas
thenexthop.
next‐hop‐lladdr Link‐localaddressoftheinterface.
pref (Optional)Specifies thepreferencevaluetherouterusestocompare
thisroutewithroutesfromotherroutesourcesthathavethesame
destination.
Thevalueofprefcanrangefrom1to
255.Thedefaultvalueis1,which
givesstaticroutesprecedenceoveranyothertypeofrouteexcept
connectedroutes.
Aroutewithapreferenceof255cannotbeusedtoforwardtraffic.
pref Adistancevalueusedwhennodistanceisspecifiedwhenastatic
routeisconfigured.
Thevaluecanrangefrom1to255.Lowerroutedistancevaluesare
preferredwhendeterminingthebestroute.