2020-04-22 02:00 PM
Catalyst 2960-Plus(15.2(5) E)において、スタティックルーティング可は確認できたが、
IPルーティングをイネーブルに設定し、ある1つの通信はL3スタティックルーティングとし、
それ以外の通信はVLANによるスイッチングとすることは可能でしょうか。
2020-04-23 11:17 AM 2020-04-25 12:13 AM 更新
こんにちは。
Catalyst 2960-Plus Seriesはスタティックルートをサポートしていますので実現可能です。
ただしスタティックルートは16個までしか設定できないという制限があります。
スタティックルーティングを行う際、SDMのテンプレートを
lanbase-routingに変更していただく必要があります。
以下の手順で変更することが可能です。
Switch#configure terminal
Swtich(config)#sdm prefer lanbase-routing
Swtich(config)#exit
Switch#write memory
Building configuration...
[OK]
Switch#reload
Proceed with reload? [confirm]
追加で質問がありましたらご連絡願います。
以上になります。
2020-04-24 02:52 PM
2020-04-25 12:10 AM
こんばんは。
同じバージョンで確認させていただきましたが、
SDMテンプレートをデフォルトから変更する必要がありました。
またスタティックルートは16個までしか設定できないことも改めて確認できました。
以下、こちらで検証した際のログになります。
Switch#show version | include IOS
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.2(5)E, RELEASE SOFTWARE (fc1)
Switch#show sdm prefer | include template
The current template is "default" template.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip routing ?
% Unrecognized command
Switch(config)#ip route ?
% Unrecognized command
Switch(config)#sdm prefer lanbase-routing
Changes to the running SDM preferences have been stored, but cannot take effect
until the next reload.
Use 'show sdm prefer' to see what SDM preference is currently active.
Switch(config)#end
Switch#write memory
Building configuration...
[OK]
Switch#reload
Proceed with reload? [confirm]
Switch>enable
Switch#show version | include IOS
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.2(5)E, RELEASE SOFTWARE (fc1)
Switch#show sdm prefer | include template
The current template is "lanbase-routing" template.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip routing
Switch(config)#ip route 192.168.1.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.2.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.3.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.4.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.5.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.6.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.7.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.8.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.9.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.10.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.11.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.12.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.13.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.14.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.15.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.16.0 255.255.255.0 192.168.255.254
Switch(config)#ip route 192.168.17.0 255.255.255.0 192.168.255.254
Switch(config)#end
Switch#show running-config | include ip route
ip route 192.168.1.0 255.255.255.0 192.168.255.254
ip route 192.168.2.0 255.255.255.0 192.168.255.254
ip route 192.168.3.0 255.255.255.0 192.168.255.254
ip route 192.168.4.0 255.255.255.0 192.168.255.254
ip route 192.168.5.0 255.255.255.0 192.168.255.254
ip route 192.168.6.0 255.255.255.0 192.168.255.254
ip route 192.168.7.0 255.255.255.0 192.168.255.254
ip route 192.168.8.0 255.255.255.0 192.168.255.254
ip route 192.168.9.0 255.255.255.0 192.168.255.254
ip route 192.168.10.0 255.255.255.0 192.168.255.254
ip route 192.168.11.0 255.255.255.0 192.168.255.254
ip route 192.168.12.0 255.255.255.0 192.168.255.254
ip route 192.168.13.0 255.255.255.0 192.168.255.254
ip route 192.168.14.0 255.255.255.0 192.168.255.254
ip route 192.168.15.0 255.255.255.0 192.168.255.254
ip route 192.168.16.0 255.255.255.0 192.168.255.254
Switch#
以上になります。
検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう
シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします
下記より関連するコンテンツにアクセスできます