Netgear NETGEAR Manual Do Utilizador

Página de 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software 
Routing Commands
10-9
202-10088-01, March 2005
Format  
ip route default <nextHopRtr> [<preference>]
Mode  
Global Config
no ip route default
This command deletes all configured default routes. If the optional <nextHopRtr> 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  
no ip route default [{<nextHopRtr> | <preference>}]
Mode  
Global Config
ip route distance 
This command sets the default distance for static routes. Lower route preference values are 
preferred when determining the best route. The "ip route" and "ip route default" commands allow 
you to optionally set the distance 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  
1
Format  
ip route distance <1-255>
Mode  
Global Config
no ip route distance 
This command sets the default static route preference value in the router. Lower route preference 
values are preferred when determining the best route.
Format  
no ip route distance
Mode  
Global Config
  
ip forwarding
This command enables forwarding of IP frames. 
Default  
enabled