Netgear XSM4324FS CLI Manual Software Version 12.x - Page 663
ip route default, ip route distance, preference, ip route
View all Netgear XSM4324FS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 663 highlights
M4300 Intelligent Edge Series Fully Managed Stackable Switches no ip route This command deletes a single next hop to a destination static route. If you use the nexthopip argument, the next hop is deleted. If you use the preference keyword, the preference value of the static route is reset to its default. The other keywords and arguments function in a similar way. Format Mode no ip route ipaddr subnetmask [nexthopip | Null0 |interface {unit/slot/port | vlan vlan-id}] [preference] [description description] Global Config ip route default This command configures the default route. The value for nexthopip is a valid IP address of the next hop router. The preference is an integer value from 1 to 255. A route with a preference of 255 cannot be used to forward traffic. Default Format Mode preference-1 ip route default nexthopip [preference] Global Config no ip route default This command deletes all configured default routes. If the optional nexthopip parameter is designated, the specific next hop is deleted from the configured default route and if the optional preference value is designated, the preference of the configured default route is reset to its default. Format Mode no ip route default [nexthopip] [preference] Global Config ip route distance This command sets the default distance (preference) for static routes. The distance can be a number in the range of 1-255. Lower route distance values are preferred when determining the best route. The ip route and ip route default commands allow you to optionally set the distance (preference) of an individual static route. The default distance is used when no distance is specified in these commands. Changing the default distance does not update the distance of existing static routes, even if they were assigned the original default distance. The new default distance will only be applied to static routes created after invoking the ip route distance command. Default Format Mode 1 ip route distance number Global Config Routing Commands 663 CLI Command Reference Manual