xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
508
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add a default route with a nexthop of 10.48.74.21:
DGS-3620-28SC:admin#create iproute default 10.48.74.121
Command: create iproute default 10.48.74.121
Success.
DGS-3620-28SC:admin#
43-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>] [null0 | <ipaddr> | ip_tunnel <tunnel_name 12>]
Parameters
default
- Specifies to delete a default IP route entry.
<network_address>
- The IP address and netmask of the IP interface that is the destination of
the route. Specifies the address and mask information using the traditional format (for
example, 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
null0
- Specifies the null interface as the next hop.
<ipaddr>
- Specifies the IP address for the next hop router.
ip_tunnel
- Specifies the IP tunnel used.
(EI Mode Only Parameter)
<tunnel_name 12>
- Enter the IP tunnel name used here. This name can be up to 12
characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To delete a default route from the routing table:
DGS-3620-28SC:admin#delete iproute default 10.48.74.121
Command: delete iproute default 10.48.74.121
Success.
DGS-3620-28SC:admin#