xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
delete iproute default
Used to delete a default IP route entry from the Switch’s IP routing table.
Syntax
delete iproute default
Description
This command will delete an existing default entry from the Switch’s IP
routing table.
Only
administrator-level users can issue this command.
Purpose
Parameters None.
Restrictions
Example usage:
To delete the default IP route:
DGS-3612G:4#delete iproute default
Command: delete iproute default
Success.
DGS-3612G:4#
show iproute
Purpose
Used to display the Switch’s current IP routing table.
Syntax
show iproute {<network_address>}
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).
Restrictions None.
Example usage:
To display the contents of the IP routing table:
DGS-3612G:4#show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Hops Protocol
------------------ -------------- ------------ ------- --------
10.0.0.0/8 0.0.0.0 System 1 Local
Total Entries : 1
DGS-3612G:4#
create iproute ipv6
Purpose
create iproute ipv6 <ipv6networkaddr> <ipv6addr> {<metric 1-65535>}
This command is used to create a primary and backup IP route entry to the
Switch’s IP routing table.
Parameters
<ipv6networkaddr>
−
IPV6 address and netmask of the IP interface that is the
destination of the route. Specify the address and mask information using the
Used to create IPv6 route entries to the Switch’s IP routing table.
Syntax
Description
223