D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
274
delete iproute default
Purpose Used to delete a default IP route entry from the Switch’s IP routing
table.
Syntax
delete iproute default <ipaddr>
Description This command will delete an existing default entry from the Switch’s
IP routing table.
Parameters <ipaddr> - The gateway IP address for the next hop router.
Restrictions Only administrator-level users can issue this command.
Example usage:
To delete the default IP route 10.53.13.254:
DGS-3324SRi:4#delete iproute default 10.53.13.254
Command: delete iproute default 10.53.13.254
Success.
DGS-3324SRi:4#
show iproute
Purpose Used to display the Switch’s current IP routing table.
Syntax
show iproute {<network_address>} {[static | rip | ospf]}
Description This command will display the Switch’s current 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).
static – Use this parameter to display static iproute entries.
rip – Use this parameter to display RIP iproute entries.
ospf – Use this parameter to display OSPF iproute entries.
Restrictions None.
Example Usage:
To display the contents of the IP routing table:
DGS-3324SRi:4#show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
--------------- --------------- --------------- ---- -----------
0.0.0.0 10.1.1.254 System 1 Default
10.0.0.0/8 10.48.74.122 System 1 Local
Total Entries: 2
DGS-3324SRi:4#