Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 679/1568
7.2.2.5
ip route
This command configures a static route.
Syntax
ip route <networkaddr> <subnetmask> [ {<nexthopip>|Null0} [<1-255 >] ]
no ip route <networkaddr> <subnetmask> [ { <nexthopip> | <1-255 > | Null0 } ]
<ipaddr> -
A valid IP address .
<subnetmask> -
A valid subnet mask.
<nexthopip> -
IP address of the next hop router.
<1-255> -
The precedence value of this route. The range is 1 to 255.
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 precedence value is designated, the
precedence value of the static route is reset to its default value 1.
Default Setting
None
Command Mode
Global Config
7.2.2.6
ip route default
This command configures the default route.
Syntax
ip route default <nexthopip> [1-255]
<nexthopip> -
IP address of the next hop router.
<1-255> -
Precedence value of this route.
Default Setting
None
Command Mode
Global Config