国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 網(wǎng)管 > 網(wǎng)絡(luò)管理 > 正文

思科路由過濾命令詳細(xì)解說

2024-09-12 21:53:48
字體:
供稿:網(wǎng)友

 ?。ㄒ唬?Route Maps

  特性:

  Route Maps類似于access lists,不同之處在于Route Maps可以改變Packets/Routes的部分屬性。

  用途:

  Route Maps主要用于Redistribution和Policy Routing及BGP的實(shí)現(xiàn)。

  實(shí)現(xiàn):

  Policy Routing發(fā)送Packets到Route Maps實(shí)現(xiàn)策略路由轉(zhuǎn)發(fā)。

  Redistribution發(fā)送Routes到Route Maps實(shí)現(xiàn)路由條目的過濾。

  配置說明:

  Route Maps如果沒有指定Action及Sequence Number屬性,默認(rèn):

  Action:   permit

  Sequence Number:   10

  且Sequence Number不會(huì)自動(dòng)增加。

  即如果在使用Route Maps語(yǔ)句時(shí)不指定Sequence Number,則覆蓋Sequence Number為10的默認(rèn)條目。

  Route Maps Deny Action:

  Redistribution: 特定路由條目不會(huì)被重分布。

  Policy Routing: 特定的Packets不會(huì)按策略路由轉(zhuǎn)發(fā),但會(huì)梗概正常的路由表?xiàng)l目轉(zhuǎn)發(fā)。

  Case Study:Policy Routing

  注:(1)Policy Routing只影響入流量。

  (2)可以使用Standard及Extended ACL.

 ?。?)全局配置ip local policy route-map sense可將策略路由應(yīng)用于Router本身發(fā)送的Packets.

  <1> Standard ACL

interface Serial 0   ip address 172.16.5.1 255.255.255.0   ip policy route-map sense!access-list 1 permit 172.16.6.0 0.0.0.255access-list 2 permit 172.16.7.0 0.0.0.255!route-map sense permit 10   match ip address 1   set ip next-hop 172.16.4.2!route-map sense permit 20   match ip address 2   set ip next-hop 172.16.4.3

  <2> Extended ACL

interface Ethernet 0   ip address 172.16.1.4 255.255.255.0   ip policy route-map sense!access-list 105 permit tcp 172.16.1.0 0.0.0.255 eq ftp anyaccess-list 105 permit tcp 172.16.1.0 0.0.0.255 eq ftp-data anyaccess-list 106 permit tcp 172.16.1.0 0.0.0.255 eq telnet any!route-map sense permit 10   match ip address 105   set ip next-hop 172.16.2.1!route-map sense permit 20   match ip address 106   set ip next-hop 172.16.3.1

  <3> Length of the Packets

interface Ethernet0   ip address 172.16.1.4 255.255.255.0   ip policy route-map sense!route-map sense permit 10   match length 1000 1600   set ip next-hop 172.16.2.1!route-map sense permit 20   match length 0 400   set ip next-hop 172.16.3.1

  <4> Router's Packets

interface Ethernet0   ip address 172.16.1.4 255.255.255.0   ip policy route-map sense!ip local policy route-map sense!access-list 120 permit ip any 172.16.1.0 0.0.0.255access-list 120 permit ospf any any!route-map sense permit 10   match ip address 120!route-map sense permit 20   match length 1000 1600   set ip next-hop 172.16.2.1!route-map sense permit 30   match length 0 400   set ip next-hop 172.16.3.1            
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 吴忠市| 屏东县| 昌黎县| 成安县| 武邑县| 西充县| 宣武区| 定西市| 崇礼县| 河北省| 乌鲁木齐县| 徐闻县| 九龙城区| 自治县| 湖南省| 葵青区| 齐齐哈尔市| 闽清县| 班戈县| 大化| 梁河县| 弥渡县| 临武县| 阿拉尔市| 德安县| 万州区| 陵水| 琼中| 金秀| 东丽区| 易门县| 玉门市| 莱芜市| 辽宁省| 邯郸县| 女性| 定襄县| 文昌市| 蓬莱市| 定兴县| 巴里|