![D-Link DGS-510 Скачать руководство пользователя страница 495](http://html.mh-extra.com/html/d-link/dgs-510/dgs-510_reference-manual_78049495.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
492
Parameters
default
Specifies to add or delete a default route.
NETWORK-PREFIX/PREFIX-
LENGTH
Specifies the network prefix and the prefix length of the static route.
INTERFACE-ID
(Optional) Specifies the forwarding interface for routing the packet.
NEXT-HOP-ADDRESS
(Optional) Specifies the IPv6 address of the next hop to reach the
destination network. If the address is a link-local address, then the
interface ID also need to be specified.
primary
(Optional) Specifies the route as the primary route to the
destination.
backup
(Optional) Specifies the route as the backup route to the
destination.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Floating static route is supported. This means that there could be two routes with same destination
network address and different next hop. If
primary
or
backup
is not specified, the static route will be
automatically determined to be a primary route or a backup route. Primary route has higher priority
than backup route, and is always be used for forwarding when it is active. When primary is down, the
backup route will be used.
Example
This example shows how to create a static route destined to the network where proxy server resides.
Switch# configure terminal
Switch(config)# ipv6 route 2001:0101::/32 vlan1 fe80::0000:00ff:1111:2233
Switch(config)#
55-3
show ip route
This command is used to display the entry in the routing table.
show ip route [[IP-ADDRESS [MASK] | connected | static] | hardware]
Parameters
IP-ADDRESS
(Optional) Specifies the network address of which routing
information should be displayed.
MASK
(Optional) Specifies the subnet mask for the specified network.
connection
(Optional) Specifies to display directly connected route.
static
(Optional) Specifies to display the static route.
hardware
(Optional) Specifies to display the routes that have been written into
chip.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...