Tp-Link T1700G-28TQ V2 — настройка статических маршрутов и описаний интерфейсов [321/354]

Превью страниц Страница 321 / 354
Tp-Link T1700G-28TQ V2 [321/354] Syntax
32.7 ip route
Description
This ip route command is configure the static route. To clear the
corresponding entry, please use the no ip route command.
Syntax
ip route {
dest-address
} {
mask
} {
next-hop-address
}
[
distance
]
no ip route {
dest-address
} {
mask
} {
next-hop-address
}
Parameter
dest-address
—— The destination IP address.
mask
—— The subnet mask.
next
-
hop-address
—— The address of the next-hop.
distance
—— The distance metric of this route, ranging from 1 to 255. The
smaller the distance is, the higher the priority is.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Create a static route with the destination IP address as 192.168.2.0, the
subnet mask as 255.255.255.0 and the next-hop address as 192.168.0.2:
T1700G-28TQ(config)# ip route 192.168.2.0 255.255.255.0 192.168.0.2
32.8 description
Description
This description command is used to add a description to the Layer 3
interface, including routed port, port-channel interface, loopback interface
and VLAN interface. To clear the description of the corresponding interface,
please use the no description command.
305

Содержание

2312

Узнайте, как настроить статические маршруты и добавить описания к интерфейсам. Подробные команды и примеры для эффективного управления сетями.