25.1.3 Relay routing of static routes
For the forwarding route (gateway), you can specify a directly connected neighboring gateway or a remote gateway that is not directly connected to the switch With a neighboring gateway, the status of the connected interface governs path generation and deletion. With a remote gateway, the presence or absence of a route to that gateway controls path generation and deletion. The Switch uses remote gateways as the default gateway type. When you set up a neighboring gateway using the ipv6 route configuration command, specify the noresolve parameter.
Two additional parameters can be specified for the path to a neighboring or remote gateway specified in the command. Both parameters stop packets from being sent via that gateway. Packet transmission will also be disabled if you have specified a null interface for the gateway.
-
noinstall parameter
If you specify the noinstall parameter for a static route, that route will not be used for packet transfer. If there is a default route or other next-best route, packets will be forwarded via that route. Use the noinstall parameter when you want to set a static advertising route but have packets forwarded through a different route.
-
reject parameter
If you specify the reject parameter for a static route, that route becomes a reject route. Any packets that match the route are discarded. An ICMP Unreachable message notifies the source device that the packet has been discarded. Use the reject parameter when you want to set a static advertising route but want to discard packets for which a route with a higher priority has not been set in the Switch. You can also use this parameter to prevent packets destined for a particular address or destination from being forwarded via this route.
-
Null interface
If you specify only a null interface for a static route without specifying a gateway, all packets on that static route will be discarded. Unlike packets discarded by the reject parameter, no ICMP message is sent to the source device. Specify a null interface when you want to set the same behavior as the reject parameter but do not want ICMP packets to be returned. For more information on Null interfaces, see 20 Null Interfaces (IPv6).