.
Set the default gateway for the named interface.
To Enable:
Name
default
dest-ip-addr
mask
gateway-ip-addr
%%&
Cajun P550/P220 Command Line Interface Reference Guide
set ip route {default|<dest-ip-addr> <mask>}
<gateway-ip-addr>
Table 17-3. Parameters, Keywords, Arguments
Definition
Searches for the matching interface as indicated by
the gateway IP address and installs the default
gateway on that interface.
Searches for an interface with this assigned
destination IP address and mask, and to install the
default gateway on that interface.
A required parameter indicating the mask associated
with IP address of the interface.
A required parameter, indicating the default gateway
IP address.
Note: M5500/M2200 applicable only.
Equivalent to the Cajun CLI command:
net ip default_gateway (when using
default parameter}. Equivalent to the
Cajun CLI command: net ip create
sroute (when using dest-ip-addr &
<mask>)
Switch IP
17-5