DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
683
Chapter 78
Unicast Routing Command
List
create iproute
[default] <ipaddr> {<metric 1-65535>} {[primary | backup]}
delete iproute
[default | <network_address>] <ipaddr>
show iproute
{static}
show ipfdb
{[ip_address <ipaddr> | interface <ipif_name 12> | port <port>]}
78-1
create iproute
Description
This command is used to create a static IP 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] <ipaddr> {<metric 1-65535>} {[primary | backup]}
Parameters
default
- Create an IP default route (0.0.0.0/0).
<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) Specifies the route as the primary route to the destination.
backup
- (Optional) Specifies the route as the backup route to the destination.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add a floating static route and a static multipath route:
Содержание DWS-3160-24TC
Страница 1: ......
Страница 13: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 9 R refresh the displayed pages ...
Страница 271: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 267 ...
Страница 586: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 582 ...
Страница 766: ...DWS 3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 762 ...