3550解決掉策略路由的方法_第1頁
3550解決掉策略路由的方法_第2頁
3550解決掉策略路由的方法_第3頁
3550解決掉策略路由的方法_第4頁
3550解決掉策略路由的方法_第5頁
已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、policy routing with catalyst 3550 series switch configuration exampledownloadspolicy routing with catalyst 3550 scries switch configuration examplendocument id: 47900contentsintroductionprerequisitesrequirementscomponents usedconventionsconfigurenetwork diagramconfigurationsverifytroubleshoottrouble

2、shooting commandsnetpro discussion forums - featured conversationsrelated informationintroduct ionthis document provides a sample configuration for policy routing oncatalyst 3550 series switches you must modify the switch database management(sdm) template to enable the switch to support the 144-bit

3、layer 3 ternary content addressable memory (tcam) before you can configure policy routing. refer to understand and configure theswitching database manager on catalyst 3550 series switches more information about sdm.note: the catalyst 3550 has 1imitations on theroute-maps commands you can use.prerequ

4、isitesrequirementsbefore at tempting t hi s conf igu" tion, en sure that you are knowledgeable of these:configuring卩olicy-bascd routingunsupportedroute map commandsoverview of theswitching database managercomponents usedthe information in this document is based on these software and hardware ve

5、rsions:cisco ios® software release 12.1. 19-ealacisco catalyst 3550the information in this document was created from the devices in aspecific lab environment> all of the devices used in this document started witha cleared (default) configuration. if your network is live, make sure thatyouund

6、erstand the potential impact of any command.conventionsfor more information on document conventions, refer tocisco technical tipsconvent ions.configuretn this section,you are presented withthe information to configuredocument.the features described in thisnote: to find additional information on the

7、commands used in this documenl, use thecommand lookup tool(regi steredcustomers only)before you can enable policy routing, you must configure one of thesecommands in the global configuration mode, and then the configuration must bewritten and the switch reloaded:sdm preferextended-matchsdm prefer ac

8、cessextended-matchsdm prefer :routingextended-matchcat3550(config)# access-list 10 permit 20. 20. 20. 0 0. 0. 0. 255cat3550(config)# route-map pbr permit 10cat3550(config-route-map)# match ip address 10cat3550(config-routemap)# set ip next-hop 12. 12. 12. 12cat3550(config)# int vlan 3cat3550(config-

9、if)# ip policy route-map pbrcat3550(config-if)#06:12:31: %l3tcam-3-size_conflict: pbr requires enabling extended routingcat3550# show run int vlan 3bui 1 ding configuration.current configuration : 60 bytesiinterface vlan3ip address 255. 255. 255. 0color=#0000ff!command not taken 一 you nee

10、d to enable sdmenclcat3550# conf tenter configuration commands, one per line. end with cntl/zcat3550(config)# sdm prefer extended-matchchanges to the running sdm preferences have been stored, but cannot take effect until the next reload.use 1 show sdm prefer" to see what sdm preference is curre

11、ntly active.cat3550(config)# endcat3550# write06:14:11: %sys-5-config i: configured from console by consolebuilding configuration 0kltd-1-2# reloadproceed with reload? confirmyou should be aware of unsupported commandsrefer tounsupportedroute map commands if this configuration exists:access-list 10

12、permit 20. 20. 20. 0 0. 0. 0. 255route-map pbr permit 10match ip address 10set ip default next-hop 12.12. 12. 12an error message is generated if you try to configure the policy routemap on the interface:cat3550(config)# int vlan 3cat3550(config-if) # ip policy route-map pbrcat3550(config-if)# endcat

13、3550#00:02:29: %pbr-3-unsupp0rted_rmap: route-map pbr not supported for policy-based routingnetwork diagramthis document uses this network setup:workstation ae0 /24conf igurationsthis document uses this configuration:cat3550the configuration takes traffic source from 2020. 20. x (access-li

14、st 10)and sends it to 30. 30. 30. 2一the configuration overrides the default gateway setto 10. 10. 10. 2.cat3550 (cisco catalyst 3550)cat3550# show running-configbuilding configuration interface vlanlip address 10. 10. 10. 1 iinterface vlan2ip address 20. 20. 20. 1 255. 255. 255. 0ip po

15、licy route-map pbrii nterface vian3ip address 30. 30. 30. 1 iip route 0. 0. 0. 0 0. 0. 0. 0 10. 10. 10. 2ip classlessip http server access-list 10 permi t 20. 20. 20. 0 0. 0. 0. 255 route-map pbr permit 10match ip address 10set ip next-hop endverifythere is currently no veri

16、fication procedure available for this configuration.troubleshootthis section provides information you can use to troubleshoot your configuration.troubleshooting commandscertain show commands are supported by theoutput interpreter tool(registeredcustomers only),which allows you to view an analysis of

17、 show command output.note: before issuing debug commands, refer toimportant infornuition ondebug commands.debug ip policyshows packets that arepolicy routcd,or 'policy rejected".an example of thedebug ippolicy commandoutput is:wee 5 13:33:23. 607: ip: s二20. 20 20. 3 (vlan2), cl二200. 200. 20

18、0. 4, len 100, policy match*dec 5 13:33:23. 607: tp: route map pbr, item 10, permit*dec 5 13:33:23.607: tp: s=20. 20. 20. 3 (vlan2), d=200. 200. 200. 4 (vlan3), len 100, policy routed*dec 5 13:33:23. 607: tp: vlan2 to vlan3 *dec 5 13:33:23. 707: ip: s二20. 20. 20. 3 (vlan2), 2, len 100, policy match*dec 5 13:33:23. 707: tp: route map pbr, itern 10, permit*dec 5 13:33:

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論