3 static route configuration task list, 4 static route configuration examples – QTECH QSW-3400 Инструкция по настройке User Manual
Page 210

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
209
24.3.3 Static Route Configuration Task List
1. Static route configuration
Command
Explanation
Global mode
ip route {
length>} {
[
no ip route {
length>} [
[
Set static routing; the no ip route
{
|
prefix>/ [ interface>] [ deletes a static route entry 24.3.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 . Static Route Configurations Configuration steps: Configuration of layer3 SwitchA Configuration of layer3 SwitchC SwitchB PC-A:10.1.1.2 PC-B:10.1.4.2 vlan3:10.1.5.1 vlan1:10.1.1.1 vlan2:10.1..2.1 vlan2:10.1.4.1 vlan2:10.1.2.2 vlan1:10.1.3.2 SwitchA SwitchC vlan1:10.1.3.1 PC-C:10.1.5.2
Switch#config
Switch (config) #ip route 10.1.5.0 255.255.255.0 10.1.2.2
Switch#config