Ip route, No ip route, Ip route default – NETGEAR 7300 Series User Manual

Page 213: No ip route default, Ip route distance, Ip route -31, No ip route -31, Ip route default -31, No ip route default -31, Ip route distance -31

Advertising
background image

User Manual for the NETGEAR 7300 Series Layer 3 Managed Switch Software

Routing Commands

9-31

202-10009-01_060204

ip route

This command configures a static route. The <networkaddr> and <nexthopip> are valid ip
addresses. The <subnetmask> is a valid subnet mask. The [metric] parameter is an integer value
from 0 to 255. The default value is 1.

Format

ip route <networkaddr> <subnetmask> <nexthopip> [met-

ric]

Mode

Global Config

no ip route

This command causes a static route to be deleted. The <networkaddr> and <nexthopip> are valid
IP address. The <subnetmask> is a 4-digit dotted-decimal number representing a valid Subnet
Mask.

Format

no ip route <networkaddr> <subnetmask> <nexthopip>

ip route default

This command configures the default route. The value for <nexthopip> is a valid IP address of the
next hop router.

Format

ip route default <nexthopip>

Mode

Global Config

no ip route default

This command causes the static default route to be deleted.

Format

no ip route default

Mode

Global Config

ip route distance

This command sets the static route preference value in the router. Lower route preference values
are preferred when determining the best route.

Default

60

Format

ip route distance <1-255>

Advertising