DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
684
Chapter 81
Unicast Routing Command
List
create iproute [default] <ipaddr> {<metric 1-65535>}
show iproute {<network_address>} {static}
81-1 create iproute
Description
This command is used to create an IP static route.
Format
create iproute [default] <ipaddr> {<metric 1-65535>}
Parameters
default - Specifies to create an IP default route (0.0.0.0/0).
<ipaddr> - The IP address for the next hop router.
<metric 1-65535> - (Optional) Enter the metric value here. This value must be between 1 and
65535. The default setting is 1.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add an IP default route:
DGS-3000-26TC:admin#create iproute default 10.1.1.254
Command: create iproute default 10.1.1.254
Success.
81-2 delete iproute
Description
This command is used to delete an IP route entry from the Switch’s IP routing table.
Format
delete iproute [default]