xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
293
show iproute
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 to be
displayed.
static | rip | ospf
– Enter one of these parameters to show that
corresponding IP route.
Restrictions None.
Example usage:
To display the contents of the IP routing table:
DGS-3627:5#show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
------------------ -------------- ------------ ------- --------
10.0.0.0/8 0.0.0.0 System 1 Local
Total Entries : 1
DGS-3627:5#
create ipv6route
Purpose
Used to create IPv6 route entries to the Switch’s IP routing table.
Syntax
create ipv6route [default | <ipv6networkaddr>] [<ipif_name 12 <ipv6addr>
| <ipv6addr>] {<metric 1-65535>} {[primary | backup]}
Description
This command is used to create a primary and backup IP route entry to the
Switch’s IP routing table.
Parameters
default –
Use this parameter
to create a default static IPv6 route entry to the
Switch’s IP routing table.
<ipv6networkaddr>
−
IPV6 address and netmask of the IP interface that is the
destination of the route. Specify the address and mask information using the
format as ipv6address / prefix_length (ipv6address is hexadecimal number,
prefix length is decimal number, for example 1234::5D7F/32).
ipif_name 12
– Enter the corresponding ipif name of the IPv6 address.
<ipv6addr>
−
IPv6 address for the next hop router.
<metric 1-65535>
−
Allows the entry of a routing protocol metric entry,
representing the number of routers between the Switch and the IP address
above. The default setting is
1
.
[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-level and operator-level users can issue this command.
Example usage:
To add a single static IPv6 entry in IPv6 format: