DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
219
29
Routing Table Command List
create iproute default <ipaddr> {<metric 1-65535>}
delete iproute default
show iproute {<static>}
create ipv6route [default] [<ipif_name 12> <ipv6addr> |<ipv6addr>] {<metric 1-65535>}
delete ipv6route [default] [ <ipif_name 12> <ipv6addr> | <ipv6addr> ] | all]
show ipv6route
29-1 create iproute
Purpose
Used to create a default IP route entry.
Format
create iproute default <ipaddr> {<metric 1-65535>}
Description
The
create iproute
command creates a default IP route entry.
Parameters
Parameters
Description
ipaddr
The IP address for the next hop router.
metric
The default setting is 1.That is, the default hop cost is 1.
Restrictions
You must have administrator privileges.
Examples
To add a static address 10.48.74.121:
D G S - 3 2 0 0 - 1 0 : 4 # c r e a t e i p r o u t e d e f a u l t 1 0 . 4 8 . 7 4 . 1 2 1
C o m m a n d : c r e a t e i p r o u t e d e f a u l t 1 0 . 4 8 . 7 4 . 1 2 1
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #