D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
394
Format
show iproute {[<network_address> | <ipaddr>]} {[static | rip | hardware]}
Parameters
<network_address> - (Optional) Specify the destination network address of the route want to be
displayed.
<ipaddr> - (Optional) Specify the destination IP address of the route want to be displayed. The
longest prefix matched route will be displayed.
static - (Optional) Specify to display only static routes. One static route may be active or inactive.
rip - (Optional) Specify to display only RIP routes.
hardware - (Optional) Specify to display only the routes that have been written into the chip.
Restrictions
None.
Example
To display the contents of the IP routing table:
DGS-3420-28SC:admin#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-3420-28SC:admin#
38-4 create ipv6route
Description
This command is used to create an IPv6 static route in the switch’s IP routing table. If the next hop
is a global address, it is not necessary to indicate the interface name. If the next hop is a link local
address, then the interface name must be specified.
Format
create ipv6route [default | <ipv6networkaddr>] [[<ipif_name 12> <ipv6addr> | <ipv6addr>]
{<metric 1-65535>} {[primary | backup]} | ip_tunnel <tunnel_name 12>]
Parameters
default - Specify the default route.
<ipv6networkaddr> - Specify the destination network for the route.
<ipif_name 12> <ipv6addr> - Specify the interface for the route.