xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
873
Format
create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary |
backup | weight <value 1-4>]} | null0 | ip_tunnel <tunnel_name 12>]
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).
(RI and 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.
weight
- (Optional) Specify the weight value of the IP route.
(RI and EI Mode Only)
<value 1-4>
- Enter the weight value used here. This value must be between 1 and 4.
null0
- Specify the null interface as the next hop.
(RI Mode Only)
ip_tunnel
– Specify the IP tunnel interface of the next hop.
(RI Mode Only)
<tunnel_name 12>
- Enter the IP tunnel interface name.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add a floating static route:
DGS-3120-24TC:admin# create iproute default 10.1.1.254 primary
Command: create iproute default 10.1.1.254 primary
Success.
DGS-3120-24TC:admin#
89-2
delete iproute
Description
This command is used to delete an IP route entry from the Switch’s IP routing table.
Format
delete iproute [default | <network_address>] [<ipaddr> | null0 | ip_tunnel <tunnel_name 12>]
Parameters
default
- Deletes an IP default route (0.0.0.0/0).
<network_address>
– Specify the network address used.
(RI and EI Mode Only)
<ipaddr>
- Specify the next hop IP address of the route need to be deleted.
null0
- Specify the null interface as the next hop.
(RI Mode Only)
ip_tunnel
– Specify the IP tunnel interface of the next hop.
(RI Mode Only)
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...