User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 663
Default None
Mode Global Config
6.2.2.8. ip route default
This command configures the default route. Use the optional vrf parameter to configure the static route in the
specified virtual router instance.
Format ip route [vrf <vrf-name>] default <nexthopip> [1-255]
no ip route [vrf <vrf-name>] default [{<nexthopip> | <1-255>}]
Default None
Mode Global Config
6.2.2.9. ip route distance
This command sets the default distance (preference) for static routes. Use the optional vrf parameter to
configure the default distance (preference) for static routes in the specified virtual router instance.
<subnetmask>
A valid subnet mask.
<nexthopip>
IP address of the next hop router.
<vlan-id>
The VLAN ID used for this interface. The range of the VLAN ID is from 1 to 4093.
<1-255>
The preference value of this route. The range is 1 to 255.
<description>
The description for the route.
Null0
Null interface.
no
Delete all next hops to a destination static route. If the optional <nextHopRtr>
parameter is designated, the next hop is deleted and if the optional preference
value is designated, the preference value of the static route is reset to its
default value, 1.
Fields
Definition
vrf-name
Specify the name of the VRF in which this static route is installed.
<nexthopip>
IP address of the next hop router.
<1-255>
Precedence value of this route.