Specifications
Command Line Interface
86
Command: set
ip help
Description: Display the ‘set ip’ subcommands.
Syntax: set ip help
Example: Console>set ip help
Command Description
—————————————————
address : Set IP address and mask.
help : Show this message.
route : Set IP route table entry.
Command: set
ip route
Description: Set an IP route.
Syntax: set ip route <dest_ip> <gateway> [netmask]
set ip route default <gateway> [netmask]
Note: To change the default gateway, you must first
delete the existing default gateway and then set
the new gateway.
Example #1: Change the default gateway.
Console>clear ip route 0.0.0.0 192.168.1.98
delete net 0.0.0.0: gateway 192.168.1.98 (192.168.1.98)
Ok.
Console>set ip route default 192.168.65.97
add net 0.0.0.0: gateway 192.168.1.97
(192.168.1.97)
Ok.
Example #2: Establish a new gateway.
Console>set ip route 192.168.1.2 100.132.1.98
add host 100.132.1.2: gateway 192.168.1.98
(192.168.1.98)
Ok.










