5 Command Line Interface
D-Link Web Smart Switch User Manual
9
9
3
3
create iproute
Purpose
U
sed to create IP route entries to the Switch’s IP routing table.
Syntax
create iproute default <ipaddr>
Description
The
create iproute
command is used to create a default static IP
route entry to the Switch’s IP routing table.
Parameters
default
– Specifies to create a default IP route entry.
<ipaddr>
− The gateway IP address for the next hop router.
Restrictions
Only Administrator, operator and power user-level users can
issue this command.
Example usage:
To add the default static address 10.90.90.92 to the routing table:
DGS-1210-28
>
create iproute default 10.90.90.92
Command: create iproute default 10.90.90.92
Success.
DGS-1210-28>
delete iproute
Purpose
Used to delete an IP route entry from the Switch’s IP routing
table.
Syntax
delete iproute {default}
Description
The
delete iproute
command will delete an existing IP route
entry from the Switch’s IP routing table.
Parameters
{
default}
– Specifies to delete a default IP route entry.
Restrictions
Only Administrator, operator and power user-level users can
issue this command.
Example usage:
To delete the default Gateway from the routing table:
DGS-1210-28
>
delete iproute
Command: delete iproute
Success.
DGS-1210-28>
show iproute
Purpose
Used to display the Switch’s current IP routing table.