2012-08-17 11:45 AM
こんにちは、濱中と申します。
カタリスト3750を使用してポリシーベースドルーティングの設定を
したいと思っています。具体的には、ソースのアドレスに従って、
特定のネクストホップに転送したいと思っています。
このようなPBRの機能は、デフォルト状態のC3750-24TS-Eで
できますか?
Versionは 12.2(55)SE4です。
SDMテンプレートというものがあり、デフォルトでは、PBR ACEが
0になっているようなのですが、デフォルト状態では、全くPBRが
使えないということなのでしょうか?
RouteMAP自体コマンドは入るようですが。
PBR ACEというのは、通常のPBR以外の機能を指すのでしょうか?
以上、ご存知のかた、お願いします。
2012-08-17 03:21 PM
濱中さん、
こんにちは。
3750 で PBR を行うためには SDM の設定を行う必要があると思います。
以下のLinkが参考になると思います。
Catalyst 3550 シリーズ スイッチの設定例を使ったポリシー ルーティング
http://www.cisco.com/cisco/web/support/JP/100/1007/1007910_cat3550pbr-j.html#conf
以下に SDM 設定前と設定後のログを示します。
Switch#show sdm prefer
The current template is "desktop IPv4 and IPv6 default" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 2K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 3K
number of directly-connected IPv4 hosts: 2K
number of indirect IPv4 routes: 1K
number of IPv6 multicast groups: 1K
number of directly-connected IPv6 addresses: 2K
number of indirect IPv6 unicast routes: 1K
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
number of IPv6 policy based routing aces: 0 <<<<<
number of IPv6 qos aces: 0.5K
number of IPv6 security aces: 0.5K
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#sdm
Switch(config)#sdm ?
Switch(config)#sdm prefer ?
access Access bias
default Default bias
dual-ipv4-and-ipv6 Support both IPv4 and IPv6
routing Unicast bias
vlan VLAN bias
Switch(config)#sdm prefer routing ?
Switch(config)#sdm prefer 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)#^Z
Switch#write
Building configuration...
[OK]
Switch#Reload
Proceed with reload? [confirm]
<Reload後>
Switch#show sdm prefer
The current template is "desktop routing" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 3K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 11K
number of directly-connected IPv4 hosts: 3K
number of indirect IPv4 routes: 8K
number of IPv4 policy based routing aces: 0.5K <<<<<
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
Switch#
よろしくお願いします。
2012-08-17 03:41 PM
濱中です。
ご回答ありがとうございました。
PBRを使うには、SDMテンプレートの変更は必須なのですね。
よく理解できました。
今後ともよろしくお願いいたします。
2012-08-17 05:25 PM
お役に立てたようで良かったです。
今後ともよろしくお願いします。
エキスパートの回答、ステップバイステップガイド、最新のトピックなどお気に入りのアイデアを見つけたら、あとで参照できるように保存しましょう。
コミュニティは初めてですか?これらのヒントを活用してスタートしましょう。 コミュニティの活用方法 新メンバーガイド
下記より関連するコンテンツにアクセスできます