The Routing Table commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
create iproute
delete iproute
show iproute
Each command is listed in detail, as follows:
create iproute
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To add the default static address 10.48.74.121, with a metric setting of 1, to the routing table as the default route:
delete iproute
Purpose
Syntax
Description
Parameters
Restrictions
Parameter
[default] <ipaddr> {<metric 1-65535>}
[default]
To create IP route entries in the Switch's IP routing table.
create iproute [default] <ipaddr> {<metric 1-65535>}
The create iproute command creates a static IP route entry in the
Switch's IP routing table.
default – The entry is the default IP route entry in the Switch's
routing table.
<ipaddr> – The gateway IP address for the next hop router.
<metric 1-65535> – The routing protocol metric entry representing
the number of routers between the Switch and the IP address
above. The default setting is 1.
Only Administrator or operator-level users can issue this command.
DGS3100# create iproute default 10.48.74.121 1
Success.
DGS3100#
To delete a default IP route entry from the Switch's IP routing table.
delete iproute [default]
The delete iproute command deletes an existing default entry from
the Switch's IP routing table.
None.
Only Administrator or operator-level users can issue this command.
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
ROUTING TABLE COMMANDS
22
126