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

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>

 

 

Routing Commands

9-31

202-10009-01_060204

Page 213
Image 213
NETGEAR 7300 Series user manual Ip route default, Ip route distance, No ip route default