DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
846
Chapter 92
Unicast Routing Command
List
create iproute
[default | <network_address>] <ipaddr> {<metric 1-65535>} {[primary | backup]}
delete iproute
[default | <network_address>] <ipaddr>
show iproute
{<network_address> | <ipaddr>} {static}
create iproute
92-1
Description
This command is used to create an IP route entry in the Switch’s IP routing table. “Primary” and
“backup” are mutually exclusive. Users can select only one when creating one new route. If a user
sets neither of these, the system will try to set the new route first by primary and second by backup
and not set this route to be a multipath route.
Format
create iproute [default | <network_address>] <ipaddr> {<metric 1-65535>} {[primary |
backup]}
Parameters
default
- Specify to create an IP default route (0.0.0.0/0).
network_address
- Specify the IP address and net mask of the destination route. The address
and the mask can be set using the traditional format (for example, 10.1.2.3/255.0.0.0) or in
CIDR format (for example,10.1.2.3/16).
<ipaddr>
- Enter the IP address for the IP route.
<metric 1-65535>
- (Optional) Enter the routing protocol metric entry representing the number of
routers between the Switch and the IP address above. 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 Administrators, Operators and Power-Users can issue this command.
Example
To add an IP default route:
Содержание DGS-3000 series
Страница 1: ......