xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
179
delete iproute
Purpose
Used to delete an IP route entry from the Switch’s IP routing table.
Syntax
delete iproute [default | <network_address>] {[primary | backup]}
Description
This command will delete an existing entry from the Switch’s IP routing
table.
Parameters
<network_address>
−
IP address and netmask of the IP interface that is
the destination of the route. The address and mask information can be
specified using the traditional format (for example, 10.1.2.3/255.0.0.0 or in
CIDR format, 10.1.2.3/8).
<ipaddr>
−
The gateway IP address for the next hop router.
[
primary | backup]
−
The user may choose between Primary and Backup.
If the Primary Static/Default Route fails, the Backup Route will support the
entry. Please take note that the Primary and Backup entries cannot have
the same Gateway.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To delete a backup static address 10.48.75.121, mask 255.0.0.0 and gateway (ipaddr) entry of 10.1.1.254 from the routing
table:
DES-3800:admin#delete iproute 10.48.74.121/8
10.1.1.254
Command: delete iproute 10.48.74.121/8 10.1.1.254
Success.
DES-3800:admin#
show iproute
Purpose
Used to display the Switch’s current IP routing table.
Syntax
show iproute {<network_address>} {[rip | ospf]}
Description
This command will display the Switch’s current IP routing table.
Parameters
<network_address>
−
The IP address and netmask of the IP
interface that is the destination of the route. The address and mask
information can be specified using the traditional format (for
example, 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
rip
– Use this parameter to display RIP IP route entries.
ospf
– Use this parameter to display OSPF IP route entries.
Restrictions
None.
Example usage:
To display the contents of the IP routing table: