D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
237
28
ROUTING TABLE COMMANDS
The Routing Table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
create iproute [default] <ipaddr> {<metric 1-65535>}
delete iproute [default]
show iproute {<network_address> | static}
create ipv6
neighbor_cache ipif
<ipif_name 12> <ipv6addr> <macaddr>
delete ipv6
neighbor_cache ipif
[<ipif_name 12> | all] [<ipv6addr> | static |dynamic |all]
show ipv6
neighbor_cache ipif
[<ipif_name 12> | all] [ipv6address <ipv6addr> | static
|dynamic |all]
create ipv6route [default] [<ipif_name 12> <ipv6addr> |<ipv6addr>] {<metric
1-65535>}
delete ipv6route [[default] [<ipif_name 12> <ipv6addr> |<ipv6addr>] | all]
show ipv6 nd {ipif <ipif_name 12>}
show ipv6route
config ipv6 nd ns ipif <ipif name 12> retrans_time <uint 0–4294967295>
Each command is listed, in detail, in the following sections.
create iproute
Purpose
Used to create IP route entries to the Switch’s IP routing table.
Syntax
create iproute [default] <ipaddr> {<metric 1-65535>}
Description
This command is used to create a default static IP route entry to the
Switch’s IP routing table.
Parameters
<ipaddr> The gateway IP address for the next hop router.
<metric 1-65535> Allows the entry of a routing protocol metric
entry representing the number of routers between the Switch and
the IP address above. The default setting is 1.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To add the default static address 10.48.74.121, with a metric setting of 1, to the routing table:
DES-3200-28:4#create iproute default 10.48.74.121 1
Command: create iproute default 10.48.74.121 1
Success.
DES-3200-28:4#
delete iproute
Purpose
Used to delete a default IP route entry from the Switch’s IP routing