SNR S2989G-48TX-DC — настройка статической маршрутизации и VRF в сетях [236/553]

Превью страниц Страница 236 / 553
SNR S2989G-48TX-DC [236/553] Static route configuration task list
S2989G-24TX Operation Manual
Chapter 4 Routing Protocol Related Configuration
4-11
and a network mask of 0.0.0.0, too. If the route table does not have the destination of a
packet and has no default route configured, the packet will be discarded, and an ICMP
packet will be sent to the source address indicate the destination address or network is
unreachable.
4.2.3
Static Route Configuration Task List
1. Static route configuration
2. VRF configuration
1. Static route configuration
Command
Explanation
Global mode
ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>} {<gateway-address>
| <gateway-interface>} [<distance>]
no ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>} [<gateway-address>
| <gateway-interface>] [<distance>]
Set static routing; the no ip
route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>}
[<gateway-address> |
<gateway-interface>]
[<distance>] command
deletes a static route entry
2. VRF configuration
Command
Explanation
Global mode
route
vrf
<name>
{<ip-prefix>
Configure
the
static
route, the
no
<mask>|<ip-prefix/<prefix-length>}
command will delete the static route.
{<gateway-address>|<gateway-interface>}
[<distance>]
no ip route vrf <name> {<ip-prefix>
<mask>|<ip-prefix/<prefix-length>}
[<gateway-address>|<gateway-interface>]
[<distance>]
4.2.4
Static Route Configuration Examples
The figure shown below is a simple network consisting of three layer3 switches, the
network mask for all switches and PC is 255.255.255.0. PC-A and PC-C are connected
via the static route set in SwtichA and SwitchC; PC3 and PC-B are connected via the
static route set in SwtichC to SwitchB; PC-B and PC-C is connected via the default route

Содержание

666

Изучите, как настроить статическую маршрутизацию и VRF в сетевых устройствах. Пошаговые инструкции и примеры помогут вам эффективно управлять маршрутизацией.