A SERVICE OF

logo

xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
709
The Unicast Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
create iproute [default | <network_address>] [null0 | <ipaddr> {<metric 1-65535>} {[primary |
backup | weight <value 1-4>]}]
delete iproute [default | <network_address>] [null0 | <ipaddr>]
show iproute {[<network_address> | <ipaddr>]} {[static | rip | ospf | bgp | hardware]}
config route preference [static | default | rip | ospfIntra | ospfInter | ospfExt1 | ospfExt2 | ebgp | ibgp]
<value 1-999>
show route preference {[ local | static | default | rip | ospf | ospfIntra | ospfInter | ospfExt1 | ospfExt2 |
ebgp | ibgp]}
create route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric <value 0-16777214>}
create route redistribute dst rip src [local | static | bgp | ospf [all | internal | external | type_1 | type_2 | inter+e1 |
inter+e2]] {metric <value 0-16>}
create route redistribute dst bgp src [static | rip | local | ospf [all | internal | external | type_1 | type_2 | inter+e1 |
inter+e2]] {metric <uint 0-4294967295> | route_map <map_name 16>}
delete route redistribute [dst [rip | ospf | bgp] src [rip | static | local | ospf | bgp]]
config route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric <value 0-16777214>}(1)
config route redistribute dst rip src [local | static | bgp | ospf [all | internal | external | type_1 | type_2 | inter+e1 |
inter+e2]] {metric <value 0-16>}
config route redistribute dst bgp src [static | rip | local | ospf [all | internal | external | type_1 | type_2 | inter+e1 |
inter+e2]] {metric <uint 0-4294967295> | [route_map <map_name 16> |
no_route_map]}
enable ecmp ospf
disable ecmp ospf
show route redistribute {dst [rip | ospf | bgp] | src [rip | static | local | bgp | ospf]}
config ecmp algorithm {ip_destination | [ip_source | crc_low | crc_high] | tcp_udp_port}(1)
show ecmp
Each command is listed, in detail, in the following sections.
create iproute
Purpose Used to create an IP route entry to the switch’s IP routing table.
Syntax
create iproute [default | <network_address>] [null0 | <ipaddr> {<metric 1-65535>}
{[primary | backup | weight <value 1-4>]}]
Description Use this command to create an IP static route.
Selecting “primary” or “backup” means the newly created route is a floating static route.
Selecting “weight” means the newly created route is a static multipath route.
Floating static route and static multipath route are mutually exclusive.
If none of the following, “primary”, “backup” or “weight,” is selected, the static route will:
be primary if there is no primary route that has the same destination;
be backup if there has been a primary route that has the same destination.
fail to create if there have been a primary route and a backup route that have the same
destination.
fail to create if there has been one static multipath route that has the same destination.