![D-Link DGS-3700 Series Скачать руководство пользователя страница 341](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575341.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 341
delete iproute
<network_address>
- Specifies to remove an IP route by entering its network address.
<ipaddr>
- Specifies to enter the network address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the default IP route 10.53.13.254:
DGS-3700-12:5#delete iproute default 10.53.13.254
Command: delete iproute default 10.53.13.254
Success.
DGS-3700-12:5#
show iproute
Purpose
Used to display the Switch’s current IP routing table.
Syntax
show iproute {<network_address> | <ipaddr>} {static}
Description
This command will display the Switch’s current IP routing table.
Parameters
<network_address>
- Specifies to display the IP route using its network address.
<ipaddr>
- Specifies to enter the network address of the IP route to display.
static
– Specifies to display whether the route is static.
Restrictions
None.
Example usage:
To display the contents of the IP routing table:
DGS-3700-12:5#show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
--------------- --------- ------------ ---- -----------
10.0.0.0/8 10.48.74.122 System 1 Local
Total Entries: 1
DGS-3700-12:5#
create ipv6route
Purpose
create an ipv6 default gateway.
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 IPv6 default gateway.
Parameters
default
– Use this parameter to create an IPv6 default gateway.
<ipv6networkaddr>
- Specifies the IPv6 network address used.
<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.