Chapter 90 Unicast Routing Command List; Create Iproute - D-Link DGS-3120-24PC Manual

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-24PC:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Chapter 90 Unicast Routing Command
create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary | backup]}]
delete iproute [default | <network_address>][<ipaddr>]
show iproute {[<network_address> | <ipaddr>]} {[static | hardware]}
show ipfdb {[ip_address <ipaddr> | interface <ipif_name 12> | port <port>]}
show route preference {[local | static | default]}
90-1

create iproute

Description
This command is used to create an IP static route.
Selecting "primary" or "backup" means the newly created route is a floating static route.
If none of the following, "primary" or "backup", is selected, the default route will:
1. be primary if there is no primary route that has the same destination;
2. be backup if there has been a primary route that has the same destination.
3. fail to create if there have been a primary route and a backup route that have the same
destination.
4. fail to create if there has been one static multipath route that has the same destination.
It will fail if a user wants to create a floating static route and there has been one static multipath
route with the same destination.
It will fail if a user wants to create a static multipath route and there has been a floating static route,
whether primary or backup.
Format
create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary |
backup]}]
Parameters
default - Create an IP default route (0.0.0.0/0).
<network_address> - The IP address and net mask of the destination of the route. The address
and the mask can be set by the traditional format (for example, 10.1.2.3/255.0.0.0) or in CIDR
format (for example,10.1.2.3/16). (EI Mode Only)
<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.
primary - (Optional) Specify the route as the primary route to the destination.
backup - (Optional) Specify the route as the backup route to the destination.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
List
(EI Mode Only)
773

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents